get this started: refactor SPI in OOP

This commit is contained in:
Arisotura
2023-11-03 20:17:00 +01:00
parent 70c6750561
commit 440b356674
17 changed files with 855 additions and 846 deletions

View File

@ -30,6 +30,8 @@
// with this enabled, to make sure it doesn't desync
//#define DEBUG_CHECK_DESYNC
class SPIHost;
namespace NDS
{
@ -246,6 +248,8 @@ extern MemRegion SWRAM_ARM7;
extern u32 KeyInput;
extern u16 RCnt;
extern SPIHost* SPI;
const u32 ARM7WRAMSize = 0x10000;
extern u8* ARM7WRAM;