Skip to content

Savefile: Better size checks #2

@Protofall

Description

@Protofall

ATM it works fine for savefiles that only ever have the same number of Blocks/Bytes, but if I were to have an older version savefile thats 2 blocks and the new one is 4 blocks, but we only have 1 spare block, then saving is impossible (2 + 1 < 4).

Also PC has no size checks at all, it just always assumes there is space. See how easy this is to fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions