mappers: Change indents from spaces to tabs
- makes this consistent with the rest of the mapper files and codebase in general - this affects new and edited files in recent commits
This commit is contained in:
@@ -25,27 +25,27 @@
|
||||
|
||||
static void M516CW(uint32 A, uint8 V) {
|
||||
/* FCEU_printf("CHR: A:%04x V:%02x R0:%02x\n", A, V, EXPREGS[0]); */
|
||||
setchr1(A, (V & 0x7F) | ((EXPREGS[0] << 5) & 0x180));
|
||||
setchr1(A, (V & 0x7F) | ((EXPREGS[0] << 5) & 0x180));
|
||||
}
|
||||
|
||||
static void M516PW(uint32 A, uint8 V) {
|
||||
/* FCEU_printf("PRG: A:%04x V:%02x R0:%02x\n", A, V, EXPREGS[0]); */
|
||||
setprg8(A, (V & 0x0F) | ((EXPREGS[0] << 4) & 0x30));
|
||||
setprg8(A, (V & 0x0F) | ((EXPREGS[0] << 4) & 0x30));
|
||||
}
|
||||
|
||||
static DECLFW(M516Write) {
|
||||
/* FCEU_printf("Wr: A:%04x V:%02x R0:%02x\n", A, V, EXPREGS[0]); */
|
||||
if (A & 0x10) {
|
||||
EXPREGS[0] = A & 0xF;
|
||||
FixMMC3PRG(MMC3_cmd);
|
||||
FixMMC3CHR(MMC3_cmd);
|
||||
}
|
||||
MMC3_CMDWrite(A, V);
|
||||
if (A & 0x10) {
|
||||
EXPREGS[0] = A & 0xF;
|
||||
FixMMC3PRG(MMC3_cmd);
|
||||
FixMMC3CHR(MMC3_cmd);
|
||||
}
|
||||
MMC3_CMDWrite(A, V);
|
||||
}
|
||||
|
||||
static void M516Power(void) {
|
||||
EXPREGS[0] = 0;
|
||||
GenMMC3Power();
|
||||
GenMMC3Power();
|
||||
SetWriteHandler(0x8000, 0xFFFF, M516Write);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user