mirror of
https://github.com/wavemotion-dave/NINTV-DS.git
synced 2025-06-18 13:55:33 -04:00
Updated cheat database with latest cheat codes.
This commit is contained in:
parent
7a042d2869
commit
409606a771
BIN
NINTV-DS.nds
BIN
NINTV-DS.nds
Binary file not shown.
@ -33,6 +33,7 @@ extern Rip *currentRip;
|
||||
extern int bg0, bg0b, bg1b;
|
||||
|
||||
u8 bCheatChanged = false;
|
||||
u8 bCheatEngineReset = false;
|
||||
|
||||
// ---------------------------------------------------------------------
|
||||
// Display the current list of cheats. There may be none for this
|
||||
@ -62,7 +63,7 @@ u8 display_cheat_list(bool bFullDisplay)
|
||||
}
|
||||
|
||||
dsPrintValue(0,22, 0, (char *)" D-PAD TOGGLE CHEAT. B=EXIT ");
|
||||
dsPrintValue(0,23, 0, (char *)" RESET GAME TO APPLY CHEATS ");
|
||||
dsPrintValue(0,23, 0, (char *)"START = RESET GAME APPLY CHEATS ");
|
||||
return count;
|
||||
}
|
||||
|
||||
@ -77,6 +78,8 @@ void CheatMenu(void)
|
||||
int keys_pressed = 0;
|
||||
int last_keys_pressed = 999;
|
||||
u8 bDone = false;
|
||||
|
||||
bCheatEngineReset = false;
|
||||
|
||||
// Show the Options background...
|
||||
dsShowBannerScreen();
|
||||
@ -136,6 +139,12 @@ void CheatMenu(void)
|
||||
{
|
||||
bDone = true;
|
||||
}
|
||||
else
|
||||
if (keys_pressed & KEY_START) // Reset emulator - apply current cheats
|
||||
{
|
||||
bDone = true;
|
||||
bCheatEngineReset = true;
|
||||
}
|
||||
}
|
||||
swiWaitForVBlank();
|
||||
}
|
||||
|
@ -510,38 +510,6 @@ void ds_handle_meta(int meta_key)
|
||||
}
|
||||
switch (meta_key)
|
||||
{
|
||||
case OVL_META_RESET:
|
||||
if (bGameLoaded)
|
||||
{
|
||||
extern u8 bCheatChanged;
|
||||
// -------------------------------------------------------------------------------------------
|
||||
// If any CHEAT has been changed, we must load back the original RIP and re-apply any cheats.
|
||||
// -------------------------------------------------------------------------------------------
|
||||
if (bCheatChanged)
|
||||
{
|
||||
bCheatChanged = false;
|
||||
|
||||
//put the RIP in the currentEmulator
|
||||
currentEmu->SetRip(currentRip, FALSE);
|
||||
|
||||
// Apply any cheats/hacks to the current game (do this before loading Fast Memory)
|
||||
currentEmu->ApplyCheats();
|
||||
}
|
||||
|
||||
// Perform the actual reset on everything
|
||||
currentEmu->Reset();
|
||||
|
||||
// Load up the fast ROM memory for quick fetches
|
||||
currentEmu->LoadFastMemory();
|
||||
|
||||
// And put the Sound Fifo back at the start...
|
||||
bStartSoundFifo = true;
|
||||
|
||||
// Make sure we're starting fresh...
|
||||
reset_emu_frames();
|
||||
}
|
||||
break;
|
||||
|
||||
case OVL_META_LOAD:
|
||||
fifoSendValue32(FIFO_USER_01,(1<<16) | (0) | SOUND_SET_VOLUME);
|
||||
if (dsWaitForRom(newFile))
|
||||
@ -580,8 +548,43 @@ void ds_handle_meta(int meta_key)
|
||||
dsInitPalette();
|
||||
WAITVBL;WAITVBL;WAITVBL;WAITVBL;WAITVBL;WAITVBL;
|
||||
bStartSoundFifo = true;
|
||||
break;
|
||||
extern u8 bCheatEngineReset;
|
||||
if (bCheatEngineReset == false)
|
||||
{
|
||||
break;
|
||||
} // Else fall through to reset!
|
||||
|
||||
case OVL_META_RESET:
|
||||
if (bGameLoaded)
|
||||
{
|
||||
extern u8 bCheatChanged;
|
||||
// -------------------------------------------------------------------------------------------
|
||||
// If any CHEAT has been changed, we must load back the original RIP and re-apply any cheats.
|
||||
// -------------------------------------------------------------------------------------------
|
||||
if (bCheatChanged)
|
||||
{
|
||||
bCheatChanged = false;
|
||||
|
||||
//put the RIP in the currentEmulator
|
||||
currentEmu->SetRip(currentRip, FALSE);
|
||||
|
||||
// Apply any cheats/hacks to the current game (do this before loading Fast Memory)
|
||||
currentEmu->ApplyCheats();
|
||||
}
|
||||
|
||||
// Perform the actual reset on everything
|
||||
currentEmu->Reset();
|
||||
|
||||
// Load up the fast ROM memory for quick fetches
|
||||
currentEmu->LoadFastMemory();
|
||||
|
||||
// And put the Sound Fifo back at the start...
|
||||
bStartSoundFifo = true;
|
||||
|
||||
// Make sure we're starting fresh...
|
||||
reset_emu_frames();
|
||||
}
|
||||
break;
|
||||
case OVL_META_SCORES:
|
||||
fifoSendValue32(FIFO_USER_01,(1<<16) | (0) | SOUND_SET_VOLUME);
|
||||
if (currentRip != NULL)
|
||||
|
@ -12,8 +12,72 @@
|
||||
$D1D352A0
|
||||
|
||||
[Consistent Colors]
|
||||
p ae0b 02b8 ; set operand
|
||||
p ae0c 6 ; magenta
|
||||
p AE0E 0200
|
||||
p AE0F 01D4
|
||||
p AFE4 0064
|
||||
p AFE5 0064
|
||||
p AFE6 004C
|
||||
p AFE7 004C
|
||||
p AFE8 02F8
|
||||
p AFE9 0008
|
||||
p AFEA 0240
|
||||
p AFEB 031C
|
||||
p AFEC 0220
|
||||
p AFED 01DD
|
||||
|
||||
; -----------------------
|
||||
; Thin Ice - Released Version
|
||||
; -----------------------
|
||||
$975AE6DF
|
||||
|
||||
[Max Lives to 99]
|
||||
p 68b8 63 ; Max extra lives can go to 99 instead of 19
|
||||
p 68cf 63 ; |
|
||||
|
||||
[Score Flips 2.56M]
|
||||
p 68e4 0 ; Score rolls over at 2.56 million points instead of 1.00 million.
|
||||
p 68e6 2ba ; | Blank out the millions-of-points digit for when the other player takes over.
|
||||
p 68e7 32 ; | |
|
||||
p 68e8 42 ; | |
|
||||
p 68e9 2bc ; | |
|
||||
p 68ea 204 ; | |
|
||||
p 68eb 262 ; | |
|
||||
p 68fb 204 ; | Millions-of-points digit drawn one position to the left
|
||||
p 68fd 3 ; | Three digits to display the tens of thousands of points
|
||||
|
||||
[Infinite Lives]
|
||||
p 690e 34 ; Infinite lives, both players
|
||||
|
||||
[Max Lobsters to 99]
|
||||
p 6a8e 63 ; Max lobsters can go to 99 instead of 20
|
||||
|
||||
|
||||
; -----------------------
|
||||
; Thin Ice - 16K Version
|
||||
; -----------------------
|
||||
$F3DF94E0
|
||||
|
||||
[Max Lives to 99]
|
||||
p da27 63 ; Max extra lives can go to 99 instead of 19
|
||||
p da4a 63 ; |
|
||||
|
||||
[Score Flips 2.56M]
|
||||
p da57 0 ; Score rolls over at 2.56 million points instead of 1.00 million.
|
||||
p da59 2ba ; | Blank out the millions-of-points digit for when the other player takes over.
|
||||
p da5a 32 ; | |
|
||||
p da5b 42 ; | |
|
||||
p da5c 2bc ; | |
|
||||
p da5d 204 ; | |
|
||||
p da5e 262 ; | |
|
||||
p da6e 204 ; | Millions-of-points digit drawn one position to the left
|
||||
p da70 3 ; | Three digits to display the tens of thousands of points
|
||||
|
||||
[Infinite Lives]
|
||||
p da81 34 ; Infinite lives, both players
|
||||
|
||||
[Max Lobsters to 99]
|
||||
p dd4b 63 ; Max lobsters can go to 99 instead of 20
|
||||
|
||||
|
||||
; -----------------------
|
||||
; Treasure of Tarmin
|
||||
|
Loading…
Reference in New Issue
Block a user