MCPcopy Create free account
hub / github.com/Stewmath/GameYob / initInput

Function initInput

arm9/source/inputhelper.cpp:64–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62bool suspendStateExists;
63
64void initInput()
65{
66 fatInit(FAT_CACHE_SIZE, true);
67 //fatInitDefault();
68
69 if (__dsimode)
70 maxLoadedRomBanks = 512; // 8 megabytes
71 else
72 maxLoadedRomBanks = 128; // 2 megabytes
73
74 romBankSlots = (u8*)malloc(maxLoadedRomBanks*0x4000);
75}
76
77// This function is supposed to flush the cache so I don't have to fclose() and fopen()
78// a file in order to save it.

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected