For Mapper 165, are there 2 separate latches or just 1? FCEUX's source code appears to suggest 1:
But, I maybe misinterpreting it.
Code:
static void M165PPUFD(void) {
if (EXPREGS[0] == 0xFD) {
M165CW(0x0000, DRegBuf[0]);
M165CW(0x1000, DRegBuf[2]);
}
}
static void M165PPUFE(void) {
if (EXPREGS[0] == 0xFE) {
M165CW(0x0000, DRegBuf[1]);
M165CW(0x1000, DRegBuf[4]);
}
}
if (EXPREGS[0] == 0xFD) {
M165CW(0x0000, DRegBuf[0]);
M165CW(0x1000, DRegBuf[2]);
}
}
static void M165PPUFE(void) {
if (EXPREGS[0] == 0xFE) {
M165CW(0x0000, DRegBuf[1]);
M165CW(0x1000, DRegBuf[4]);
}
}
But, I maybe misinterpreting it.