Merge pull request #503 from negativeExponent/info

M134: Update copyright info
This commit is contained in:
Autechre
2022-02-27 16:29:37 +01:00
committed by GitHub
4 changed files with 5 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
/* FCEUmm - NES/Famicom Emulator /* FCEUmm - NES/Famicom Emulator
* *
* Copyright notice for this file: * Copyright notice for this file:
* Copyright (C) 2020 negativeExponent * Copyright (C) 2020
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@@ -86,7 +86,7 @@ static void UNL8237PW(uint32 A, uint8 V) {
if (EXPREGS[0] & 0x40) { if (EXPREGS[0] & 0x40) {
uint8 sbank = (EXPREGS[1] & 0x10); uint8 sbank = (EXPREGS[1] & 0x10);
if (EXPREGS[0] & 0x80) { /* NROM */ if (EXPREGS[0] & 0x80) { /* NROM */
uint8 bank = ((EXPREGS[1] & 3) << 4) | (EXPREGS[0] & 0x7) | (sbank >> 1); uint8 bank = (outer_bank >> 1) | (EXPREGS[0] & 0x7) | (sbank >> 1);
if (EXPREGS[0] & 0x20) /* NROM-256 */ if (EXPREGS[0] & 0x20) /* NROM-256 */
setprg32(0x8000, bank >> 1); setprg32(0x8000, bank >> 1);
else { /* NROM-128 */ else { /* NROM-128 */
@@ -97,7 +97,7 @@ static void UNL8237PW(uint32 A, uint8 V) {
setprg8(A, outer_bank | (V & 0x0F) | sbank); setprg8(A, outer_bank | (V & 0x0F) | sbank);
} else { } else {
if (EXPREGS[0] & 0x80) { /* NROM */ if (EXPREGS[0] & 0x80) { /* NROM */
uint8 bank = ((EXPREGS[1] & 3) << 4) | (EXPREGS[0] & 0xF); uint8 bank = (outer_bank >> 1) | (EXPREGS[0] & 0xF);
if (EXPREGS[0] & 0x20) /* NROM-256 */ if (EXPREGS[0] & 0x20) /* NROM-256 */
setprg32(0x8000, bank >> 1); setprg32(0x8000, bank >> 1);
else { /* NROM-128 */ else { /* NROM-128 */

View File

@@ -25,7 +25,7 @@
* *
*/ */
/* 2020-3-6 - update mirroring (negativeExponent) /* 2020-3-6 - update mirroring
* PRG-ROM Bank Select #1/Mirroring Select ($8000-$8FFF, write) * PRG-ROM Bank Select #1/Mirroring Select ($8000-$8FFF, write)
* A~FEDC BA98 7654 3210 * A~FEDC BA98 7654 3210
* ------------------- * -------------------

View File

@@ -265,7 +265,7 @@ void Mapper200_Init(CartInfo *info) {
/*------------------ Map 201 ---------------------------*/ /*------------------ Map 201 ---------------------------*/
/* 2020-3-6 - Support for 21-in-1 (CF-043) (2006-V) (Unl) [p1].nes which has mixed mirroring /* 2020-3-6 - Support for 21-in-1 (CF-043) (2006-V) (Unl) [p1].nes which has mixed mirroring
* found at the time labeled as submapper 15 (negativeExponent) * found at the time labeled as submapper 15
* 0x05658DED 128K PRG, 32K CHR */ * 0x05658DED 128K PRG, 32K CHR */
static uint32 submapper = 0; static uint32 submapper = 0;
static void M201Sync(void) { static void M201Sync(void) {