Home alone hack

This commit is contained in:
z_demo_z
2001-08-21 03:33:58 +00:00
parent d4f12c9c1b
commit 3f5002fdbb

View File

@@ -1464,6 +1464,19 @@ NEWSYM headerhack
mov byte[esi],0F9h mov byte[esi],0F9h
.notneugier .notneugier
mov esi,[romdata]
add esi,07FC0h
cmp dword[esi],'HOME'
jne .nothomealone
cmp dword[esi+4],' ALO'
jne .nothomealone
mov esi,[romdata]
add esi,0666Bh
mov byte[esi],0EEh ; RTS instead of jumping to a rts
mov byte[esi+1],0BCh ; RTS instead of jumping to a rts
.nothomealone
mov esi,[romdata] mov esi,[romdata]
add esi,0FFC0h add esi,0FFC0h
cmp dword[esi],'EMER' cmp dword[esi],'EMER'