summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/nbmj8891.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/nbmj8891.cpp')
-rw-r--r--src/mame/drivers/nbmj8891.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/mame/drivers/nbmj8891.cpp b/src/mame/drivers/nbmj8891.cpp
index 64966bd50b3..09c383ceb5f 100644
--- a/src/mame/drivers/nbmj8891.cpp
+++ b/src/mame/drivers/nbmj8891.cpp
@@ -52,7 +52,7 @@ TODO:
DRIVER_INIT_MEMBER(nbmj8891_state,gionbana)
{
- UINT8 *prot = memregion("protection")->base();
+ uint8_t *prot = memregion("protection")->base();
int i;
/* this is one possible way to rearrange the protection ROM data to get the
@@ -69,7 +69,7 @@ DRIVER_INIT_MEMBER(nbmj8891_state,gionbana)
DRIVER_INIT_MEMBER(nbmj8891_state,omotesnd)
{
#if 0
- UINT8 *prot = memregion("protection")->base();
+ uint8_t *prot = memregion("protection")->base();
int i;
/* this is one possible way to rearrange the protection ROM data to get the
@@ -84,7 +84,7 @@ DRIVER_INIT_MEMBER(nbmj8891_state,omotesnd)
#endif
#if 1
- UINT8 *ROM = memregion("maincpu")->base();
+ uint8_t *ROM = memregion("maincpu")->base();
// Protection ROM check skip
ROM[0x0106] = 0x00;
@@ -102,7 +102,7 @@ DRIVER_INIT_MEMBER(nbmj8891_state,omotesnd)
DRIVER_INIT_MEMBER(nbmj8891_state,telmahjn)
{
- UINT8 *prot = memregion("protection")->base();
+ uint8_t *prot = memregion("protection")->base();
int i;
/* this is one possible way to rearrange the protection ROM data to get the
@@ -118,7 +118,7 @@ DRIVER_INIT_MEMBER(nbmj8891_state,telmahjn)
DRIVER_INIT_MEMBER(nbmj8891_state,mgmen89)
{
- UINT8 *prot = memregion("protection")->base();
+ uint8_t *prot = memregion("protection")->base();
int i;
/* this is one possible way to rearrange the protection ROM data to get the
@@ -134,8 +134,8 @@ DRIVER_INIT_MEMBER(nbmj8891_state,mgmen89)
DRIVER_INIT_MEMBER(nbmj8891_state,mjfocus)
{
- UINT8 *prot = memregion("protection")->base();
- UINT8 *ram = memregion("maincpu")->base() + 0xf800;
+ uint8_t *prot = memregion("protection")->base();
+ uint8_t *ram = memregion("maincpu")->base() + 0xf800;
int i;
/* need to clear RAM otherwise it doesn't boot... */
@@ -155,7 +155,7 @@ DRIVER_INIT_MEMBER(nbmj8891_state,mjfocus)
DRIVER_INIT_MEMBER(nbmj8891_state,mjfocusm)
{
#if 1
- UINT8 *ROM = memregion("maincpu")->base();
+ uint8_t *ROM = memregion("maincpu")->base();
// Protection ROM check skip
ROM[0x014e] = 0x00;
@@ -166,7 +166,7 @@ DRIVER_INIT_MEMBER(nbmj8891_state,mjfocusm)
DRIVER_INIT_MEMBER(nbmj8891_state,scandal)
{
- UINT8 *ROM = memregion("maincpu")->base();
+ uint8_t *ROM = memregion("maincpu")->base();
int i;
for (i = 0xf800; i < 0x10000; i++) ROM[i] = 0x00;
@@ -176,7 +176,7 @@ DRIVER_INIT_MEMBER(nbmj8891_state,mjnanpas)
{
/* they forgot to enable the protection check in this game... */
#if 0
- UINT8 *prot = memregion("protection")->base();
+ uint8_t *prot = memregion("protection")->base();
int i;
memregion("maincpu")->base()[0x003d] = 0x01; // force the protection check to be executed
@@ -195,7 +195,7 @@ DRIVER_INIT_MEMBER(nbmj8891_state,mjnanpas)
DRIVER_INIT_MEMBER(nbmj8891_state,pairsnb)
{
- UINT8 *prot = memregion("protection")->base();
+ uint8_t *prot = memregion("protection")->base();
int i;
/* this is one possible way to rearrange the protection ROM data to get the
@@ -211,7 +211,7 @@ DRIVER_INIT_MEMBER(nbmj8891_state,pairsnb)
DRIVER_INIT_MEMBER(nbmj8891_state,pairsten)
{
- UINT8 *prot = memregion("protection")->base();
+ uint8_t *prot = memregion("protection")->base();
int i;
/* this is one possible way to rearrange the protection ROM data to get the