Detail bug fix.
This commit is contained in:
parent
0fdc75471b
commit
beb9ba9883
|
@ -1637,6 +1637,7 @@ bool SaveINESFile(HWND hwnd, char* path, iNES_HEADER* header)
|
||||||
{
|
{
|
||||||
sprintf(buf, "Creating target file %s failed.", path);
|
sprintf(buf, "Creating target file %s failed.", path);
|
||||||
MessageBox(hwnd, buf, "iNES Header Editor", MB_OK | MB_ICONERROR);
|
MessageBox(hwnd, buf, "iNES Header Editor", MB_OK | MB_ICONERROR);
|
||||||
|
FCEU_fclose(source);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue