Remove useless indirection of the OnFileLoad event

This commit is contained in:
Kevin Cathcart
2018-06-23 16:59:40 -04:00
parent f573796244
commit 4669f7fbf8
3 changed files with 6 additions and 9 deletions

View File

@@ -7,13 +7,6 @@ DarkWorldSaveFix:
JSL.l StatSaveCounter
RTL
;--------------------------------------------------------------------------------
DarkWorldLoadFix:
SEP #$20 ; set 8 bit accumulator
JSL.l OnFileLoad
REP #$20 ; restore 16 bit accumulator
LDA.w #$0007 : STA $7EC00D : STA $7EC013 ; thing we wrote over - sets up some graphics timers
RTL
;--------------------------------------------------------------------------------
DoWorldFix:
LDA.l Bugfix_MirrorlessSQToLW : BEQ .skip_mirror_check
LDA $7EF353 : BEQ .noMirror ; check if we have the mirror