Skip to content

Read-Only Locks for Savestates and Custom Presets - #279

Merged
idlechild merged 2 commits into
tewtal:next-updatefrom
InsaneFirebat:read-only-locks
Aug 17, 2026
Merged

Read-Only Locks for Savestates and Custom Presets#279
idlechild merged 2 commits into
tewtal:next-updatefrom
InsaneFirebat:read-only-locks

Conversation

@InsaneFirebat

Copy link
Copy Markdown
Collaborator

Custom Presets can now be locked by pressing Y in the manage custom preset slots menu. This prevents them from being saved over, or deleted from the same menu. The savestate can be locked from the savestates menu, and prevents it from being overwritten, but not deleted by the dev mode option.

6 bytes of SRAM were allocated. The first 5 are for custom preset slots, and are bitpacked. The last byte is for the savestate. A new lock tile was added to menu graphics.

Closes #208

@InsaneFirebat InsaneFirebat linked an issue Aug 15, 2026 that may be closed by this pull request
@InsaneFirebat
InsaneFirebat force-pushed the read-only-locks branch 2 times, most recently from c31f738 to b7a1b7d Compare August 15, 2026 08:10
Allow custom presets and savestates to be marked as read-only
@InsaneFirebat InsaneFirebat added the request New feature request or suggestion label Aug 15, 2026
Remove a few unnecessary instructions
Use elseif with map/tiny state conditionals
@idlechild

Copy link
Copy Markdown
Collaborator

Seems reasonable. I'm going to trust it works.

@InsaneFirebat

InsaneFirebat commented Aug 16, 2026

Copy link
Copy Markdown
Collaborator Author

Yeah, this one is tested and ready to go

@idlechild
idlechild merged commit 54a19d2 into tewtal:next-update Aug 17, 2026
1 check passed
@InsaneFirebat
InsaneFirebat deleted the read-only-locks branch August 17, 2026 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

request New feature request or suggestion

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Read-only custom presets

2 participants