mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-11-01 00:15:14 +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