Added info on load if ROM is patched. Fixed a minor code error in the proccess.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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! :)
|
||||||
|
|||||||
Reference in New Issue
Block a user