mirror of
https://github.com/rvtr/GodMode9i.git
synced 2025-11-02 00:11:07 -04:00
Remove unused non-functional BBDX code from auxspi
This commit is contained in:
parent
486f846cbd
commit
35d6f7fdca
@ -268,10 +268,6 @@ void auxspi_disable_extra(auxspi_extra extra)
|
|||||||
case AUXSPI_INFRARED:
|
case AUXSPI_INFRARED:
|
||||||
auxspi_disable_infrared_core();
|
auxspi_disable_infrared_core();
|
||||||
break;
|
break;
|
||||||
case AUXSPI_BBDX:
|
|
||||||
// TODO:
|
|
||||||
auxspi_disable_big_protection();
|
|
||||||
break;
|
|
||||||
case AUXSPI_BLUETOOTH:
|
case AUXSPI_BLUETOOTH:
|
||||||
// TODO
|
// TODO
|
||||||
//auxspi_disable_bluetooth();
|
//auxspi_disable_bluetooth();
|
||||||
@ -355,15 +351,6 @@ auxspi_extra auxspi_has_extra()
|
|||||||
u8 size1 = auxspi_save_size_log_2();
|
u8 size1 = auxspi_save_size_log_2();
|
||||||
if (size1 > 0)
|
if (size1 > 0)
|
||||||
return AUXSPI_DEFAULT;
|
return AUXSPI_DEFAULT;
|
||||||
|
|
||||||
#if 0
|
|
||||||
// EXPERIMENTAL: verify that flash cards do not answer with the same signature!
|
|
||||||
// Look for BBDX (which always returns "ff" on every command)
|
|
||||||
uint32 jedec = auxspi_save_jedec_id(); // 9f
|
|
||||||
//int8 sr = auxspi_save_status_register(); // 05
|
|
||||||
if (jedec == 0x00ffffff)
|
|
||||||
return AUXSPI_BBDX;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// TODO: add support for Pokemon Typing DS (as soon as we figure out how)
|
// TODO: add support for Pokemon Typing DS (as soon as we figure out how)
|
||||||
|
|
||||||
|
|||||||
@ -38,20 +38,12 @@
|
|||||||
// Games known to use this hardware:
|
// Games known to use this hardware:
|
||||||
// - Personal Trainer: Walking (aka Laufrhytmus DS, Walk With Me, ...)
|
// - Personal Trainer: Walking (aka Laufrhytmus DS, Walk With Me, ...)
|
||||||
// - Pokemon HeartGold/SoulSilver/Black/White
|
// - Pokemon HeartGold/SoulSilver/Black/White
|
||||||
// AUXSPI_BBDX: A game with what seems to be an extra protection against reading
|
|
||||||
// out the chip. Exclusively found on Band Brothers DX.
|
|
||||||
// AUXSPI_BLUETOOTH: A game with a Bluetooth transceiver. The only game using this
|
// AUXSPI_BLUETOOTH: A game with a Bluetooth transceiver. The only game using this
|
||||||
// hardware is Pokemon Typing DS.
|
// hardware is Pokemon Typing DS.
|
||||||
//
|
//
|
||||||
// NOTE: This library does *not* support BBDX (I do have the game, but did not find the
|
|
||||||
// time to reverse engineer this; besides, a separate homebrew for this game already exists),
|
|
||||||
// and also *not* BLUETOOTH (the game is Japan-only, and I am from Europe. Plus I can't
|
|
||||||
// read Japanese. And it is unlikely that this game will ever make it here.)
|
|
||||||
//
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
AUXSPI_DEFAULT,
|
AUXSPI_DEFAULT,
|
||||||
AUXSPI_INFRARED,
|
AUXSPI_INFRARED,
|
||||||
AUXSPI_BBDX,
|
|
||||||
AUXSPI_BLUETOOTH,
|
AUXSPI_BLUETOOTH,
|
||||||
AUXSPI_FLASH_CARD = 999
|
AUXSPI_FLASH_CARD = 999
|
||||||
} auxspi_extra;
|
} auxspi_extra;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user