summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSegher Boessenkool <segher@kernel.crashing.org>2010-04-01 19:05:46 +0200
committerSegher Boessenkool <segher@kernel.crashing.org>2010-04-03 03:11:35 +0200
commit0a68961158c837a9ea45557cf5c962ada9776db3 (patch)
treea5909a1f2091bf8b3bf6809ed5ea2d1d27893f69
parent9514f63a053c6135488ef087bb2905e54cb16967 (diff)
VC1: Add "no upgrades lost" cheat
-rw-r--r--board-VII.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board-VII.c b/board-VII.c
index 13acf52..b1f43af 100644
--- a/board-VII.c
+++ b/board-VII.c
@@ -32,7 +32,8 @@ static void switch_bank(u32 bank)
if (mem[0x42daa] == 0x4311 && mem[0x42dac] == 0x4e43) { // VC1
board->idle_pc = 0x42daa;
controller_should_be_rotated = 1;
- //mem[0x38ecf] = 0; // no life lost in LP
+ //mem[0x38ecf] = 0; // no life lost in LP
+ //mem[0x38eb1] = mem[0xb8eb0]; // no upgrades lost in LP
}
if (mem[0x3ecb9] == 0x4311 && mem[0x3ecbb] == 0x4e43) { // VC2
board->idle_pc = 0x3ecb9;