コード例 #1
0
 // Disable ROM checksum check when booting (U6)
 // NOTE: enabling this will make FreeWPC games crash!
 public static MemoryPatch run(MemoryPatch memoryPatch)
 {
     Debug.Print("add memorypatch");
     memoryPatch.addPatch(0xFFEC, 0x00);
     memoryPatch.addPatch(0xFFED, 0xFF);
     return(memoryPatch);
 }
コード例 #2
0
 public static MemoryPatch run(MemoryPatch memoryPatch, ushort gameIdMemoryPosition)
 {
     Debug.Print("add memorypatch {0}", gameIdMemoryPosition);
     memoryPatch.addPatch(gameIdMemoryPosition, MEDIEVALMADNESS_GAMEID_LO);
     memoryPatch.addPatch((ushort)(gameIdMemoryPosition + 1), MEDIEVALMADNESS_GAMEID_HI);
     return(memoryPatch);
 }