Support for 32bit color format
This commit is contained in:
committed by
LibretroAdmin
parent
3544ff567e
commit
033c5e2f32
@@ -95,9 +95,13 @@ static void power (void) {
|
||||
SetReadHandler(0xC000, 0xCFFF, readPCM);
|
||||
}
|
||||
|
||||
static void StateRestore(int version) {
|
||||
sync();
|
||||
}
|
||||
|
||||
void Mapper413_Init(CartInfo *info) {
|
||||
pcmAddressMask =info->miscROMSize -1;
|
||||
GameStateRestore =sync;
|
||||
GameStateRestore =StateRestore;
|
||||
GameHBIRQHook =horizontalBlanking;
|
||||
info->Power = power;
|
||||
AddExState(stateRegs, ~0, 0, 0);
|
||||
|
||||
@@ -571,6 +571,10 @@ void FFE_Init(CartInfo *info) {
|
||||
PPU_hook =trapPPUAddressChangeFFE;
|
||||
}
|
||||
|
||||
static void StateRestore(int version) {
|
||||
sync();
|
||||
}
|
||||
|
||||
void Mapper561_562_Init(CartInfo *info) {
|
||||
int CHRRAMSize;
|
||||
maker =info->mapper ==562? VENUS: BUNG;
|
||||
@@ -624,7 +628,7 @@ void Mapper561_562_Init(CartInfo *info) {
|
||||
} else
|
||||
trainerSize =0;
|
||||
|
||||
GameStateRestore =sync;
|
||||
GameStateRestore =StateRestore;
|
||||
info->Power =power;
|
||||
info->Close =close;
|
||||
if (maker ==VENUS) {
|
||||
|
||||
@@ -207,6 +207,10 @@ void VRC24_close(void) {
|
||||
}
|
||||
}
|
||||
|
||||
static void StateRestore(int version) {
|
||||
VRC24_Sync();
|
||||
}
|
||||
|
||||
void VRC24_init(CartInfo *info, void (*_sync)(), int _A0, int _A1, uint8 _isVRC4, uint8 _useRepeatBit, uint8 defaultWRAMSizeKiB) {
|
||||
VRC24_Sync =_sync;
|
||||
VRC24_A0 =_A0;
|
||||
@@ -220,7 +224,7 @@ void VRC24_init(CartInfo *info, void (*_sync)(), int _A0, int _A1, uint8 _isVRC4
|
||||
VRC24_ExternalSelect =NULL;
|
||||
info->Power =VRC24_power;
|
||||
info->Close =VRC24_close;
|
||||
GameStateRestore =_sync;
|
||||
GameStateRestore =StateRestore;
|
||||
AddExState(VRC24_stateRegs, ~0, 0, 0);
|
||||
if (VRC24_isVRC4) {
|
||||
MapIRQHook =VRC4_cpuCycle;
|
||||
|
||||
Reference in New Issue
Block a user