notaz.gp2x.de
/
fceu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
merge mapper code from FCEUX
[fceu.git]
/
boards
/
183.c
diff --git
a/boards/183.c
b/boards/183.c
index
94cf072
..
bf0b7c0
100644
(file)
--- a/
boards/183.c
+++ b/
boards/183.c
@@
-15,9
+15,9
@@
*
\r
* You should have received a copy of the GNU General Public License
\r
* along with this program; if not, write to the Free Software
\r
*
\r
* You should have received a copy of the GNU General Public License
\r
* along with this program; if not, write to the Free Software
\r
- * Foundation, Inc., 5
9 Temple Place, Suite 330, Boston, MA 02111-1307
USA
\r
+ * Foundation, Inc., 5
1 Franklin Street, Fifth Floor, Boston, MA 02110-1301
USA
\r
*
\r
*
\r
- * Gimmick Bootleg
\r
+ * Gimmick Bootleg
(VRC4 mapper)
\r
*/
\r
\r
#include "mapinc.h"
\r
*/
\r
\r
#include "mapinc.h"
\r
@@
-64,7
+64,7
@@
static DECLFW(M183Write)
{
\r
if(((A&0xF80C)>=0xB000)&&((A&0xF80C)<=0xE00C))
\r
{
\r
{
\r
if(((A&0xF80C)>=0xB000)&&((A&0xF80C)<=0xE00C))
\r
{
\r
- uint8 index=(((A
&0x7000)>>11)-6)|((A&8)>>3)
;
\r
+ uint8 index=(((A
>>11)-6)|(A>>3))&7
;
\r
chr[index]=(chr[index]&(0xF0>>(A&4)))|((V&0x0F)<<(A&4));
\r
SyncChr();
\r
}
\r
chr[index]=(chr[index]&(0xF0>>(A&4)))|((V&0x0F)<<(A&4));
\r
SyncChr();
\r
}
\r