From 4d4a226cfd5bd62da04ef70b623c2f568f7d5b64 Mon Sep 17 00:00:00 2001 From: Colin Noga Date: Sat, 1 Jun 2013 10:27:48 -0500 Subject: Minor fixes --- src/randomcrap.S | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src') 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 -- cgit v1.2.3