UNIF: Update mirroring on some boards based on last commit
This commit is contained in:
@@ -553,7 +553,7 @@ static void BMCTJ03Sync(void) {
|
||||
setchr8(bank);
|
||||
|
||||
if (bank == 3) mirr ^= 1; /* Twin Bee has incorrect mirroring */
|
||||
SetupCartMirroring(mirr, 1, NULL);
|
||||
setmirror(mirr);
|
||||
}
|
||||
|
||||
void BMCTJ03_Init(CartInfo *info) {
|
||||
@@ -568,7 +568,7 @@ static void BMCSA005ASync(void) {
|
||||
setprg16(0x8000, latche & 0x0F);
|
||||
setprg16(0xC000, latche & 0x0F);
|
||||
setchr8(latche & 0x0F);
|
||||
SetupCartMirroring((latche >> 3) & 1, 1, NULL);
|
||||
setmirror((latche >> 3) & 1);
|
||||
}
|
||||
|
||||
void BMCSA005A_Init(CartInfo *info) {
|
||||
|
||||
@@ -66,7 +66,7 @@ static void Sync(void) {
|
||||
setchr8(0);
|
||||
setprg16(0x8000, preg[0]);
|
||||
setprg16(0xC000, preg[1]);
|
||||
SetupCartMirroring(((mode & 8) >> 3) ^ 1, 1, NULL);
|
||||
setmirror(((mode & 8) >> 3) ^ 1);
|
||||
}
|
||||
|
||||
static DECLFW(Write0) {
|
||||
|
||||
@@ -39,7 +39,7 @@ static void Sync(void) {
|
||||
else
|
||||
setprg16r(1, 0x8000, regs[0] & 0x03);
|
||||
setprg16(0xC000, regs[1]);
|
||||
SetupCartMirroring(((regs[0] >> 4) & 1) ^ 1, 1, NULL);
|
||||
setmirror(((regs[0] >> 4) & 1) ^ 1);
|
||||
}
|
||||
|
||||
static DECLFW(BMC80013BWrite) {
|
||||
|
||||
@@ -43,7 +43,7 @@ static void Sync(void) {
|
||||
setprg32(0x8000, regs[PRG] & 0x07);
|
||||
|
||||
setchr8(regs[CHR] & 0x0F);
|
||||
SetupCartMirroring(((regs[PRG] >> 5) & 1) ^ 1, 1, NULL);
|
||||
setmirror(((regs[PRG] >> 5) & 1) ^ 1);
|
||||
}
|
||||
|
||||
static DECLFW(WritePRG) {
|
||||
|
||||
@@ -43,7 +43,7 @@ static void Sync(void) {
|
||||
setprg16(0xC000, regs[0] & 0x1F | 0x07);
|
||||
}
|
||||
setchr8(0);
|
||||
SetupCartMirroring(((regs[0] & 0x25) == 0x25 ? MI_H : MI_V), 1, NULL);
|
||||
setmirror(((regs[0] & 0x25) == 0x25) ? MI_H : MI_V);
|
||||
}
|
||||
|
||||
static DECLFW(M340Write) {
|
||||
|
||||
Reference in New Issue
Block a user