fix tiny mistake in mapper 28 that made CHR register writes not take effect in some cases (fixes #779)

This commit is contained in:
zeromus 2017-02-28 02:43:43 +00:00
parent fa22ade5bf
commit 33ad5a1e4d
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2012 FCEUX team
Copyright (C) 2012-2017 FCEUX team
This file is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@ -141,6 +141,7 @@ static DECLFW(WritePRG)
case 0x00:
chr = value & 3;
Mirror(value);
Sync();
break;
case 0x01:
prg = value & 15;