merge mapper code from FCEUX
[fceu.git] / mappers / 255.c
index ede7af3..405340e 100644 (file)
@@ -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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
 #include "mapinc.h"
@@ -61,7 +61,7 @@ void Mapper255_init(void)
  mapbyte1[0]=mapbyte1[1]=0xF;
  ROM_BANK32(0);
  VROM_BANK8(0);
- SetWriteHandler(0x5800,0x5FFF,Mapper255_wl);
+ SetWriteHandler(0x5800,0x5FF0,Mapper255_wl);
  SetWriteHandler(0x8000,0xffff,Mapper255_write);
  SetReadHandler(0x5800,0x5FFF,Mapper255_read);
 }