From c7b15e4a89061af3c0df0c75266fd7f7ef7d6a1e Mon Sep 17 00:00:00 2001 From: dborth Date: Sat, 20 Dec 2008 20:32:06 +0000 Subject: [PATCH] fix saving bug --- source/ngc/fileop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ngc/fileop.c b/source/ngc/fileop.c index 9faf074..6b056c0 100644 --- a/source/ngc/fileop.c +++ b/source/ngc/fileop.c @@ -478,7 +478,7 @@ SaveFileBuf (char * buffer, char *filepath, u32 datasize, int method, bool silen sprintf(fullpath, "%s%s", rootdir, filepath); // open file for writing - file = fopen (filepath, "wb"); + file = fopen (fullpath, "wb"); if (file > 0) {