summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame
diff options
context:
space:
mode:
author Enik Land <enikland@gmx.com>2017-09-16 17:11:48 -0300
committer Enik Land <enikland@gmx.com>2017-09-16 17:11:48 -0300
commitd010b82746deb4a98e8f30df8bb110cfc291d4ad (patch)
tree2c6f6ad31125903a9fa8cf1945f9be9f083feb55 /src/mame
parent6a4959292cbc6f27a699b9874a9a7d4ef749c2a8 (diff)
sms/gamegear misc fixes
Diffstat (limited to 'src/mame')
-rw-r--r--src/mame/drivers/sms.cpp6
-rw-r--r--src/mame/machine/sms.cpp4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/sms.cpp b/src/mame/drivers/sms.cpp
index 70aae875a66..66d33a1ac8f 100644
--- a/src/mame/drivers/sms.cpp
+++ b/src/mame/drivers/sms.cpp
@@ -279,7 +279,7 @@ static ADDRESS_MAP_START( sms_mem, AS_PROGRAM, 8, sms_state )
AM_RANGE(0x0000, 0x3fff) AM_READ(read_0000)
AM_RANGE(0x4000, 0x7fff) AM_READ(read_4000)
AM_RANGE(0x8000, 0xbfff) AM_READ(read_8000)
- AM_RANGE(0xc000, 0xfff7) AM_READWRITE(read_ram, write_ram)
+ AM_RANGE(0xc000, 0xfffb) AM_READWRITE(read_ram, write_ram)
AM_RANGE(0xfffc, 0xffff) AM_READWRITE(sms_mapper_r, sms_mapper_w) /* Bankswitch control */
ADDRESS_MAP_END
@@ -1109,8 +1109,8 @@ ROM_START(gamegear)
ROM_FILL(0x0000, 0x4000, 0x00)
ROM_REGION(0x0400, "user1", 0)
- ROM_SYSTEM_BIOS( 0, "none", "No BIOS" ) /* gamegear */
- ROM_SYSTEM_BIOS( 1, "majesco", "Majesco BIOS" ) /* gamg */
+ ROM_SYSTEM_BIOS( 0, "none", "No BIOS" )
+ ROM_SYSTEM_BIOS( 1, "majesco", "Majesco BIOS" )
ROMX_LOAD("majbios.rom", 0x0000, 0x0400, CRC(0ebea9d4) SHA1(914aa165e3d879f060be77870d345b60cfeb4ede), ROM_BIOS(2))
ROM_END
diff --git a/src/mame/machine/sms.cpp b/src/mame/machine/sms.cpp
index 93f24511f7c..e6178e045ec 100644
--- a/src/mame/machine/sms.cpp
+++ b/src/mame/machine/sms.cpp
@@ -331,7 +331,7 @@ READ8_MEMBER(sms_state::sms_input_port_dc_r)
else
{
// Return if the I/O chip is disabled (1). This check isn't performed
- // for the Game Gear because has no effect on it (even in SMS mode?).
+ // for the Game Gear because has no effect on it, even in SMS mode.
if (m_mem_ctrl_reg & IO_CHIP)
return 0xff;
}
@@ -376,7 +376,7 @@ READ8_MEMBER(sms_state::sms_input_port_dd_r)
else
{
// Return if the I/O chip is disabled (1). This check isn't performed
- // for the Game Gear because has no effect on it (even in SMS mode?).
+ // for the Game Gear because has no effect on it, even in SMS mode.
if (m_mem_ctrl_reg & IO_CHIP)
return 0xff;
}