X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=boards%2F183.c;h=bf0b7c04685d8ecb68b167be321394c9e3134cde;hb=386f5371eb984fb9c2860c83e740890a75cd45c1;hp=94cf0726916628dfcaed61eff27b2f9074965302;hpb=d97315ac0bca825d2d50a44453bc5652946e2c67;p=fceu.git diff --git a/boards/183.c b/boards/183.c index 94cf072..bf0b7c0 100644 --- a/boards/183.c +++ b/boards/183.c @@ -15,9 +15,9 @@ * * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * - * Gimmick Bootleg + * Gimmick Bootleg (VRC4 mapper) */ #include "mapinc.h" @@ -64,7 +64,7 @@ static DECLFW(M183Write) { if(((A&0xF80C)>=0xB000)&&((A&0xF80C)<=0xE00C)) { - uint8 index=(((A&0x7000)>>11)-6)|((A&8)>>3); + uint8 index=(((A>>11)-6)|(A>>3))&7; chr[index]=(chr[index]&(0xF0>>(A&4)))|((V&0x0F)<<(A&4)); SyncChr(); }