Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
snes9x2002
Commits
bf069d69
Commit
bf069d69
authored
Jun 07, 2021
by
Libretro-Admin
Browse files
Fix savestates
parent
cf8273ef
Pipeline
#30258
passed with stages
in 1 minute and 51 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
src/snapshot.c
View file @
bf069d69
...
...
@@ -485,7 +485,7 @@ static void Freeze()
}
sprintf
(
buffer
,
"%s:%04d
\n
"
,
SNAPSHOT_MAGIC
,
SNAPSHOT_VERSION
);
statef_write
(
buffer
,
strlen
(
buffer
));
strcpy
(
buffer
,
"NAM:1:
0
"
);
strcpy
(
buffer
,
"NAM:
00000
1:"
);
statef_write
(
buffer
,
strlen
(
buffer
)
+
1
);
FreezeStruct
(
"CPU"
,
&
CPU
,
SnapCPU
,
COUNT
(
SnapCPU
));
FreezeStruct
(
"REG"
,
&
Registers
,
SnapRegisters
,
COUNT
(
SnapRegisters
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment