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
RACE
Commits
4cf25e68
Commit
4cf25e68
authored
Oct 03, 2020
by
Libretro-Admin
Browse files
Cleanups
parent
d38cf117
Changes
2
Hide whitespace changes
Inline
Side-by-side
state.cpp
View file @
4cf25e68
...
...
@@ -20,7 +20,6 @@
#include "neopopsound.h"
#include <string.h>
#include <stdio.h>
#include "state.h"
#include "tlcs900h.h"
#include "memory.h"
...
...
@@ -428,15 +427,3 @@ int state_store(char* filename)
return
status
;
}
int
state_restore
(
char
*
filename
)
{
FILE
*
stream
;
if
(
!
(
stream
=
fopen
(
filename
,
"r"
)))
return
0
;
int
status
=
state_restore_file
(
stream
);
fclose
(
stream
);
return
status
;
}
state.h
View file @
4cf25e68
...
...
@@ -20,8 +20,5 @@ int state_get_size(void);
int
state_store_mem
(
void
*
state
);
int
state_restore_mem
(
void
*
state
);
int
state_store
(
char
*
filename
);
int
state_restore
(
char
*
filename
);
#endif
/* _STATE_H */
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