Added info on load if ROM is patched. Fixed a minor code error in the proccess.

This commit is contained in:
n-a-c-h
2005-01-27 01:47:38 +00:00
parent d87a1feea9
commit cc65128ce8
2 changed files with 10 additions and 1 deletions

View File

@@ -2978,6 +2978,11 @@ NEWSYM showinfogui
jb .notntsc2 jb .notntsc2
mov dword[CSStatus3+6], 'NTSC' mov dword[CSStatus3+6], 'NTSC'
.notntsc2 .notntsc2
mov dword[CSStatus3+16], ' '
cmp byte[IPSPatched],1
jne .notpatched
mov dword[CSStatus3+16], 'IPS '
.notpatched
mov dword[CSStatus+29],'NORM' mov dword[CSStatus+29],'NORM'
mov dword[CSStatus+33],'AL ' mov dword[CSStatus+33],'AL '
cmp byte[SA1Enable],0 cmp byte[SA1Enable],0

View File

@@ -156,7 +156,11 @@ void PatchUsingIPS()
if (patchfile) //Regular file, not Zip if (patchfile) //Regular file, not Zip
{ {
if (!initPatch()) { goto IPSDone; } if (!initPatch())
{
deinitPatch(); //Needed because if it didn't fully init, some things could have
return;
}
} }
//Yup, it's goto! :) //Yup, it's goto! :)