Add mapper 446 using mapper emulation cores that can be included in other multi-ASIC mappers.

This commit is contained in:
NewRisingSun
2025-09-01 01:13:46 +02:00
parent 3544ff567e
commit a2fdeee096
57 changed files with 3063 additions and 441 deletions

View File

@@ -19,7 +19,7 @@
*/
#include "mapinc.h"
#include "vrc2and4.h"
#include "asic_vrc2and4.h"
static uint8 prg;
@@ -39,7 +39,7 @@ DECLFW(UNLCITYFIGHT_externalSelect) {
(GetWriteHandler(0x4011))(0x4011, V <<3 &0x78);
else {
prg =V >>2;
VRC24_Sync();
sync();
}
}
@@ -54,8 +54,7 @@ void UNLCITYFIGHT_power(void) {
}
void UNLCITYFIGHT_Init (CartInfo *info) {
VRC24_init(info, sync, 0x04, 0x08, 1, 1, 0);
VRC24_ExternalSelect =UNLCITYFIGHT_externalSelect;
VRC4_init(info, sync, 0x04, 0x08, 1, NULL, NULL, NULL, NULL, UNLCITYFIGHT_externalSelect);
AddExState(UNLCITYFIGHT_stateRegs, ~0, 0, 0);
info->Power =UNLCITYFIGHT_power;
}