fix tiny mistake in mapper 28 that made CHR register writes not take effect in some cases (fixes #779)
This commit is contained in:
parent
fa22ade5bf
commit
33ad5a1e4d
|
@ -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
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
|
@ -141,6 +141,7 @@ static DECLFW(WritePRG)
|
||||||
case 0x00:
|
case 0x00:
|
||||||
chr = value & 3;
|
chr = value & 3;
|
||||||
Mirror(value);
|
Mirror(value);
|
||||||
|
Sync();
|
||||||
break;
|
break;
|
||||||
case 0x01:
|
case 0x01:
|
||||||
prg = value & 15;
|
prg = value & 15;
|
||||||
|
|
Loading…
Reference in New Issue