aboutsummaryrefslogtreecommitdiff
path: root/src/AREngine.cpp
diff options
context:
space:
mode:
authorArisotura <thetotalworm@gmail.com>2020-02-15 16:07:13 +0100
committerArisotura <thetotalworm@gmail.com>2020-02-15 16:07:13 +0100
commited39122c67ab1fbdaf5d2ab78fe1573378797e1b (patch)
treeff8b4e5135021d43afe1ddc921d127c832e30d43 /src/AREngine.cpp
parent51dbb7165e272d3d1f460213a6787b1a6d7e6c46 (diff)
Arisotura will you ever clean up after yourself. this is like your goddamn apartment, it's a mess.
Diffstat (limited to 'src/AREngine.cpp')
-rw-r--r--src/AREngine.cpp89
1 files changed, 14 insertions, 75 deletions
diff --git a/src/AREngine.cpp b/src/AREngine.cpp
index f8a1a23..e8fb314 100644
--- a/src/AREngine.cpp
+++ b/src/AREngine.cpp
@@ -56,83 +56,22 @@ void Reset()
#define TEMP_PUTCODE(a, b) *ptr++ = a; *ptr++ = b;
CheatEntry* entry = &CheatCodes[0];
u32* ptr = &entry->Code[0];
- /*// NSMBDS EUR - giant fucking Mario
- TEMP_PUTCODE(0x1209DBD0, 0x0000027C);
- TEMP_PUTCODE(0x2209DBC0, 0x00000003);
- TEMP_PUTCODE(0x94000130, 0xFFFD0000);
- TEMP_PUTCODE(0x1209DBD0, 0x00000000);
- TEMP_PUTCODE(0x2209DBC0, 0x00000003);
+ // what do we put in here?
+ // heh. noone knows. the world is full of mysteries
+ // like
+ // WHAT IS MY FUCKING GENDER
+ // probably I am nonbinary, like Mario
+ // oh
+ // noone told you?
+ // well...
+ // also why won't my video save. maybe there is too much crap in this computer.
+ // shrug.
+ // or why is this text warping weirdly. I should check the video driver.
+ // or the video card.
+ // well.
+ //
entry->Enabled = true;
NumCheatCodes++;
-
- entry = &CheatCodes[1];
- ptr = &entry->Code[0];*/
- // NSMBDS EUR - jump to the sky
- /*TEMP_PUTCODE(0x9209DC90, 0xFFFD0002);
- TEMP_PUTCODE(0x920DC910, 0x00000000);
- TEMP_PUTCODE(0x021C1944, 0x00004000);
- TEMP_PUTCODE(0xD2000000, 0x00000000);
- TEMP_PUTCODE(0x9209DC90, 0xFFFE0001);
- TEMP_PUTCODE(0x920DC910, 0x00000000);
- TEMP_PUTCODE(0x021C1944, 0x00004000);
- TEMP_PUTCODE(0xD2000000, 0x00000000);*/
- // SM64DS EUR redcoin
- /*TEMP_PUTCODE(0x0210CC3E, 0x00000121);
- TEMP_PUTCODE(0x5209F30C, 0x00000008);
- TEMP_PUTCODE(0x0209F30C, 0x00000000);
- TEMP_PUTCODE(0xD2000000, 0x00000000);*/
- // SM64DS EUR shroom-o-matic
- /*TEMP_PUTCODE(0x9209D09A , 0x00000000);
- TEMP_PUTCODE(0x6209B468 , 0x00000000);
- TEMP_PUTCODE(0xB209B468 , 0x00000000);
- TEMP_PUTCODE(0x10000672 , 0x000003FF);
- TEMP_PUTCODE(0xD2000000 , 0x00000000);
- TEMP_PUTCODE(0x9209D09A , 0x00000000);
- TEMP_PUTCODE(0x94000130 , 0xFCBF0000);
- TEMP_PUTCODE(0x6209B468 , 0x00000000);
- TEMP_PUTCODE(0xB209B468 , 0x00000000);
- TEMP_PUTCODE(0x200006B3 , 0x00000001);
- TEMP_PUTCODE(0x200006B4 , 0x00000001);
- TEMP_PUTCODE(0xD2000000 , 0x00000000);
- TEMP_PUTCODE(0x9209D09A , 0x00000000);
- TEMP_PUTCODE(0x94000130 , 0xFC7F0000);
- TEMP_PUTCODE(0x6209B468 , 0x00000000);
- TEMP_PUTCODE(0xB209B468 , 0x00000000);
- TEMP_PUTCODE(0x10000672 , 0x00000000);
- TEMP_PUTCODE(0xD2000000 , 0x00000000);*/
- // SM64DS EUR swim through floor
- /*TEMP_PUTCODE(0x927FFFA8 , 0xFBFF0000); // IF 0000 = ((~FBFF) & u16[027FFFA8])
- TEMP_PUTCODE(0x823FDFF8 , 0xFBFF0000); // IF 0000 < ((~FBFF) & u16[023FDFF8])
- TEMP_PUTCODE(0xDA000000 , 0x023FDFFA); // datareg = u16[023FDFFA + offset]
- TEMP_PUTCODE(0xD4000000 , 0x00000001); // datareg += 1
- TEMP_PUTCODE(0xD7000000 , 0x023FDFFA); // u16[023FDFFA + offset] = datareg; offset += 2
- TEMP_PUTCODE(0xD2000000 , 0x00000000); // NEXT/FLUSH
- TEMP_PUTCODE(0xD3000000 , 0x027FFFA8); // offset = 027FFFA8
- TEMP_PUTCODE(0xF23FDFF8 , 0x00000002); // copy offset->023FDFF8, 2
- TEMP_PUTCODE(0xD2000000 , 0x00000000); // NEXT/FLUSH
- TEMP_PUTCODE(0x923FDFFA , 0xFFFE0000); // IF 0000 = ((~FFFE) & u16[023FDFFA])
- TEMP_PUTCODE(0x02037E7C , 0xE2000020); // u32[02037E7C] = E2000020
- TEMP_PUTCODE(0xD0000000 , 0x00000000); // ENDIF
- TEMP_PUTCODE(0x923FDFFA , 0xFFFE0001); // IF 0001 = ((~FFFE) & u16[023FDFFA])
- TEMP_PUTCODE(0x02037E7C , 0xE2000000); // u32[02037E7C] = E2000000
- TEMP_PUTCODE(0xD0000000 , 0x00000000); // ENDIF
- TEMP_PUTCODE(0x927FFFA8 , 0xFBFF0000); // IF 0000 = ((~FBFF) & u16[027FFFA8])
- TEMP_PUTCODE(0x02037E7C , 0xE3A000FF); // u32[02037E7C] = E3A000FF
- TEMP_PUTCODE(0xD2000000 , 0x00000000); // NEXT/FLUSH*/
- // MKDS EUR shitty CPU-stalker code
- /*TEMP_PUTCODE(0x94000130 , 0xFEBB0000);
- TEMP_PUTCODE(0x023CDD4C , 0x00000001);
- TEMP_PUTCODE(0xD2000000 , 0x00000000);
- TEMP_PUTCODE(0x923CDD4C , 0x00000001);
- TEMP_PUTCODE(0x6217AD18 , 0x00000000);
- TEMP_PUTCODE(0xB217AD18 , 0x00000000);
- TEMP_PUTCODE(0xC0000000 , 0x00000002);
- TEMP_PUTCODE(0xD9000000 , 0x00000628);
- TEMP_PUTCODE(0xD6000000 , 0x00000080);
- TEMP_PUTCODE(0xDC000000 , 0x00000000);
- TEMP_PUTCODE(0xD2000000 , 0x00000000);
- entry->Enabled = true;
- NumCheatCodes++;*/
}