Allow FDS conversion mappers to use FDS APU

This commit is contained in:
negativeExponent
2020-03-05 23:54:34 +08:00
parent 80b002a04e
commit 722154b93f
22 changed files with 381 additions and 288 deletions

View File

@@ -20,6 +20,7 @@
#include "mapinc.h"
#include "../ines.h"
#include "../fds_apu.h"
static uint8 latche, latcheinit, bus_conflict;
static uint16 addrreg0, addrreg1;
@@ -518,8 +519,14 @@ static void M538Sync(void) {
setmirror(1);
}
static void M538Power(void) {
FDSSoundPower();
LatchPower();
}
void Mapper538_Init(CartInfo *info) {
Latch_Init(info, M538Sync, 0, 0xC000, 0xCFFF, 1, 0);
info->Power = M538Power;
}
/* ------------------ A65AS --------------------------- */