| 73 | } |
| 74 | |
| 75 | static void iNES_ExecPower() { |
| 76 | if (CHRRAMSize != -1) |
| 77 | FCEU_MemoryRand(VROM, CHRRAMSize); |
| 78 | |
| 79 | if (iNESCart.Power) |
| 80 | iNESCart.Power(); |
| 81 | |
| 82 | if (trainerpoo) { |
| 83 | int x; |
| 84 | for (x = 0; x < 512; x++) { |
| 85 | X6502_DMW(0x7000 + x, trainerpoo[x]); |
| 86 | if (X6502_DMR(0x7000 + x) != trainerpoo[x]) { |
| 87 | SetReadHandler(0x7000, 0x71FF, TrainerRead); |
| 88 | break; |
| 89 | } |
| 90 | } |
| 91 | } |
| 92 | } |
| 93 | |
| 94 | void iNESGI(GI h) { //bbit edited: removed static keyword |
| 95 | switch (h) { |
no test coverage detected