File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
nofrendo-go/components/nofrendo/nes Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ void state_setslot(int slot)
70
70
}
71
71
}
72
72
73
- int state_save (char * fn )
73
+ int state_save (const char * fn )
74
74
{
75
75
uint8 buffer [512 ];
76
76
uint8 numberOfBlocks = 0 ;
@@ -255,7 +255,7 @@ int state_save(char* fn)
255
255
return -1 ;
256
256
}
257
257
258
- int state_load (char * fn )
258
+ int state_load (const char * fn )
259
259
{
260
260
uint8 buffer [512 ];
261
261
FILE * file ;
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ typedef struct
32
32
} SnssBlockHeader ;
33
33
34
34
extern void state_setslot (int slot );
35
- extern int state_load (char * fn );
36
- extern int state_save (char * fn );
35
+ extern int state_load (const char * fn );
36
+ extern int state_save (const char * fn );
37
37
38
38
#endif /* _NESSTATE_H_ */
You can’t perform that action at this time.
0 commit comments