Libretro: Bad savestate loads silently fail, game remains playable #61

Closed
opened 2026-04-17 04:32:29 +00:00 by AlexDorce · 1 comment
Owner

We just need to figure out how people display messages through the libretro API, I thought returning false from retro_unserialize would be sufficient, but it doesn't appear that is the case.

This is not a critical bug, if the savestate is invalid, we still catch it in our serialization code and do not tamper with the system state until we know its safe. It just might be confusing from a players perspective because they will click load and nothing will happen.

We just need to figure out how people display messages through the libretro API, I thought returning false from retro_unserialize would be sufficient, but it doesn't appear that is the case. This is not a critical bug, if the savestate is invalid, we still catch it in our serialization code and do not tamper with the system state until we know its safe. It just might be confusing from a players perspective because they will click load and nothing will happen.
Author
Owner

Finished ts a while ago smh

Finished ts a while ago smh
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
TismForge/IroGB#61
No description provided.