mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-11-24 03:29:22 +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);
|
sprintf(fullpath, "%s%s", rootdir, filepath);
|
||||||
|
|
||||||
// open file for writing
|
// open file for writing
|
||||||
file = fopen (filepath, "wb");
|
file = fopen (fullpath, "wb");
|
||||||
|
|
||||||
if (file > 0)
|
if (file > 0)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user