X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=boards%2F183.c;fp=boards%2F183.c;h=8d4f79b113644b7f805d654c92771d747ac9b640;hp=bf0b7c04685d8ecb68b167be321394c9e3134cde;hb=43725da7349c85fa13e828fdbf20cc7ac8d298d6;hpb=386f5371eb984fb9c2860c83e740890a75cd45c1 diff --git a/boards/183.c b/boards/183.c index bf0b7c0..8d4f79b 100644 --- a/boards/183.c +++ b/boards/183.c @@ -15,7 +15,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * Gimmick Bootleg (VRC4 mapper) */ @@ -32,8 +32,8 @@ static SFORMAT StateRegs[]= { {prg, 4, "PRG"}, {chr, 8, "CHR"}, - {&IRQCount, 1, "IRQCOUNT"}, - {&IRQPre, 1, "IRQPRE"}, + {&IRQCount, 1, "IRQC"}, + {&IRQPre, 1, "IRQP"}, {&IRQa, 1, "IRQA"}, {0} }; @@ -64,7 +64,7 @@ static DECLFW(M183Write) { if(((A&0xF80C)>=0xB000)&&((A&0xF80C)<=0xE00C)) { - uint8 index=(((A>>11)-6)|(A>>3))&7; + int index=(((A>>11)-6)|(A>>3))&7; chr[index]=(chr[index]&(0xF0>>(A&4)))|((V&0x0F)<<(A&4)); SyncChr(); }