diff options
author | Colin Noga <Tempus@chronometry.ca> | 2013-06-01 10:27:48 -0500 |
---|---|---|
committer | Colin Noga <Tempus@chronometry.ca> | 2013-06-01 10:27:48 -0500 |
commit | 4d4a226cfd5bd62da04ef70b623c2f568f7d5b64 (patch) | |
tree | 6adae38576d8083f89717d0f76d0c38b63f7450c /src | |
parent | 93f359bfe69f70e164b3b0dade0a57bfd9069717 (diff) | |
download | kamek-4d4a226cfd5bd62da04ef70b623c2f568f7d5b64.tar.gz kamek-4d4a226cfd5bd62da04ef70b623c2f568f7d5b64.zip |
Minor fixes
Diffstat (limited to '')
-rw-r--r-- | src/randomcrap.S | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/randomcrap.S b/src/randomcrap.S index 9532197..b2d34ce 100644 --- a/src/randomcrap.S +++ b/src/randomcrap.S @@ -3,7 +3,14 @@ .global TitleScreenFucker .extern RESTART_CRSIN_LevelStartStruct .extern SaveFileBuffer +.extern enableHardMode TitleScreenFucker: + lis r4, enableHardMode@h + ori r4, r4, enableHardMode@l + + li r3, 0 + stw r3, 0(r4) + lis r3, RESTART_CRSIN_LevelStartStruct@h ori r3, r3, RESTART_CRSIN_LevelStartStruct@l li r4, 0 @@ -557,3 +564,7 @@ UniLogStr: .string "[ULog] returning %8x to: %x > %x > %x > %x > %x > %x\n" #WillFree: .string "[AH] Freeing %p which is %x bytes\n" SCMs: .string "Setting music to %d\n" + +.global enableHardMode +enableHardMode: + .byte 0 |