Detail bug fix.

This commit is contained in:
owomomo 2020-12-22 17:47:31 +08:00
parent 0fdc75471b
commit beb9ba9883
1 changed files with 1 additions and 0 deletions

View File

@ -1637,6 +1637,7 @@ bool SaveINESFile(HWND hwnd, char* path, iNES_HEADER* header)
{
sprintf(buf, "Creating target file %s failed.", path);
MessageBox(hwnd, buf, "iNES Header Editor", MB_OK | MB_ICONERROR);
FCEU_fclose(source);
return false;
}