| 62 | bool suspendStateExists; |
| 63 | |
| 64 | void 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. |