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
/
malee.c
diff --git
a/boards/malee.c
b/boards/malee.c
index
b0f194e
..
8c30182
100644
(file)
--- a/
boards/malee.c
+++ b/
boards/malee.c
@@
-15,19
+15,20
@@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
*
* 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., 5
9 Temple Place, Suite 330, Boston, MA 02111-1307
USA
+ * Foundation, Inc., 5
1 Franklin Street, Fifth Floor, Boston, MA 02110-1301
USA
*/
#include "mapinc.h"
static uint8 WRAM[2048];
*/
#include "mapinc.h"
static uint8 WRAM[2048];
-static void MALEE
Reset
(void)
+static void MALEE
Power
(void)
{
setprg2r(0x10,0x7000,0);
SetReadHandler(0x8000,0xFFFF,CartBR);
{
setprg2r(0x10,0x7000,0);
SetReadHandler(0x8000,0xFFFF,CartBR);
- SetReadHandler(0x6000,0x67
ff
,CartBR);
+ SetReadHandler(0x6000,0x67
FF
,CartBR);
SetReadHandler(0x7000,0x77FF,CartBR);
SetReadHandler(0x7000,0x77FF,CartBR);
+ SetWriteHandler(0x7000,0x77FF,CartBW);
setprg2r(1,0x6000,0);
setprg32(0x8000,0);
setchr8(0);
setprg2r(1,0x6000,0);
setprg32(0x8000,0);
setchr8(0);
@@
-35,7
+36,7
@@
static void MALEEReset(void)
void MALEE_Init(CartInfo *info)
{
void MALEE_Init(CartInfo *info)
{
- info->Power=MALEE
Reset
;
+ info->Power=MALEE
Power
;
SetupCartPRGMapping(0x10, WRAM, 2048, 1);
AddExState(WRAM, 2048, 0,"RAM");
}
SetupCartPRGMapping(0x10, WRAM, 2048, 1);
AddExState(WRAM, 2048, 0,"RAM");
}