mirror of
https://github.com/libretro/snes9x2010.git
synced 2025-03-01 12:38:25 +00:00
Merge pull request #88 from GregorR/snapshot-pack-status
Pack status registers before snapshotting so they're not lost
This commit is contained in:
commit
66ba1235df
@ -1259,6 +1259,8 @@ void S9xFreezeToStream (STREAM stream)
|
||||
char buffer[1024];
|
||||
static uint8 soundsnapshot[SPC_SAVE_STATE_BLOCK_SIZE];
|
||||
|
||||
S9xPackStatus();
|
||||
|
||||
sprintf(buffer, "%s:%04d\n", SNAPSHOT_MAGIC, SNAPSHOT_VERSION);
|
||||
WRITE_STREAM(buffer, strlen(buffer), stream);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user