merge mappers from FCEU-mm
[fceu.git] / boards / sl1632.c
index 18895fb..14ead33 100644 (file)
  *\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., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\r
+ *\r
+ * SL1632 2-in-1 protected board, similar to SL12\r
+ * Samurai Spirits Rex (Full)\r
+ *\r
  */\r
 \r
 #include "mapinc.h"\r
 #include "mmc3.h"\r
 \r
-// brk is a system call in *nix, and is an illegal variable name - soules\r
 static uint8 chrcmd[8], prg0, prg1, bbrk, mirr, swap;\r
 static SFORMAT StateRegs[]=\r
 {\r
-  {chrcmd, 8, "CHRCMD"},\r
+  {chrcmd, 8, "CHRC"},\r
   {&prg0, 1, "PRG0"},\r
   {&prg1, 1, "PRG1"},\r
   {&bbrk, 1, "BRK"},\r
@@ -110,7 +113,6 @@ static void StateRestore(int version)
 static void UNLSL1632Power(void)\r
 {\r
   GenMMC3Power();\r
-  SetReadHandler(0x8000,0xFFFF,CartBR);\r
   SetWriteHandler(0x4100,0xFFFF,UNLSL1632CMDWrite);\r
 }\r
 \r