mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-11-27 21:14:21 +01:00
fix saving bug
This commit is contained in:
parent
7738cb3344
commit
2f21a6cb78
@ -481,7 +481,7 @@ SaveFile (char * buffer, char *filepath, u32 datasize, int method, bool silent)
|
||||
sprintf(fullpath, "%s%s", rootdir, filepath);
|
||||
|
||||
// open file for writing
|
||||
file = fopen (filepath, "wb");
|
||||
file = fopen (fullpath, "wb");
|
||||
|
||||
if (file > 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user