static int LoadRoms() { // Load 68000 ROM BurnLoadRom(Rom01, 0, 1); BurnLoadRom(CaveSpriteROM + 0x000000, 1, 1); BurnLoadRom(CaveSpriteROM + 0x200000, 2, 1); BurnByteswap(CaveSpriteROM, 0x400000); NibbleSwap2(CaveSpriteROM, 0x400000); BurnLoadRom(CaveTileROM[0], 3, 1); NibbleSwap2(CaveTileROM[0], 0x100000); BurnLoadRom(CaveTileROM[1], 4, 1); NibbleSwap2(CaveTileROM[1], 0x100000); BurnLoadRom(CaveTileROM[2], 5, 1); NibbleSwap2(CaveTileROM[2], 0x040000); // Load MSM6295 ADPCM data BurnLoadRom(MSM6295ROM, 6, 1); BurnLoadRom(MSM6295ROM + 0x100000, 7, 1); return 0; }
static INT32 LoadRoms() { // Load 68000 ROM BurnLoadRom(Rom01 + 0, 0, 1); BurnLoadRom(CaveSpriteROM + 0x0000000, 1, 1); BurnLoadRom(CaveSpriteROM + 0x0100000, 2, 1); NibbleSwap1(CaveSpriteROM + 0x0000000, 0x180000); BurnLoadRom(CaveTileROM[0] + 0x000000, 3, 1); NibbleSwap2(CaveTileROM[0], 0x100000); // Load YMZ280B data BurnLoadRom(YMZ280BROM, 4, 1); return 0; }