merge mapper code from FCEUX
[fceu.git] / boards / 186.c
index 3698c6c..4976265 100644 (file)
@@ -15,7 +15,7 @@
  *\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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\r
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r
  *\r
  * Family Study Box by Fukutake Shoten\r
  */\r
@@ -97,8 +97,8 @@ void Mapper186_Init(CartInfo *info)
   info->Power=M186Power;\r
   info->Close=M186Close;\r
   GameStateRestore=M186Restore;\r
-  WRAM=(uint8*)FCEU_gmalloc(32384);\r
-  SetupCartPRGMapping(0x10,WRAM,32384,1);\r
-  AddExState(WRAM, 32384, 0, "WRAM");\r
+  WRAM=(uint8*)FCEU_gmalloc(32768);\r
+  SetupCartPRGMapping(0x10,WRAM,32768,1);\r
+  AddExState(WRAM, 32768, 0, "WRAM");\r
   AddExState(StateRegs, ~0, 0, 0);\r
 }\r