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

@@ -26,6 +26,7 @@
*/
#include "mapinc.h"
#include "../fds_apu.h"
static uint8 reg, mirr;
static uint8 *WRAM = NULL;
@@ -56,6 +57,7 @@ static DECLFW(LH51Write) {
}
static void LH51Power(void) {
FDSSoundPower();
Sync();
SetReadHandler(0x6000, 0xFFFF, CartBR);
SetWriteHandler(0x6000, 0x7FFF, CartBW);