summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/gpworld.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/gpworld.cpp')
-rw-r--r--src/mame/drivers/gpworld.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/gpworld.cpp b/src/mame/drivers/gpworld.cpp
index 582f591f03f..37078eb0270 100644
--- a/src/mame/drivers/gpworld.cpp
+++ b/src/mame/drivers/gpworld.cpp
@@ -325,14 +325,14 @@ void gpworld_state::mainmem(address_map &map)
{
map(0x0000, 0xbfff).rom();
map(0xc000, 0xc7ff).ram().share("sprite_ram");
- map(0xc800, 0xcfff).ram().w(this, FUNC(gpworld_state::palette_write)).share("palette_ram"); /* The memory test reads at 0xc800 */
+ map(0xc800, 0xcfff).ram().w(FUNC(gpworld_state::palette_write)).share("palette_ram"); /* The memory test reads at 0xc800 */
map(0xd000, 0xd7ff).ram().share("tile_ram");
- map(0xd800, 0xd800).rw(this, FUNC(gpworld_state::ldp_read), FUNC(gpworld_state::ldp_write));
+ map(0xd800, 0xd800).rw(FUNC(gpworld_state::ldp_read), FUNC(gpworld_state::ldp_write));
/* AM_RANGE(0xd801,0xd801) AM_READ(???) */
map(0xda00, 0xda00).portr("INWHEEL"); //8255 here....
/* AM_RANGE(0xda01,0xda01) AM_WRITE(???) */ /* These inputs are interesting - there are writes and reads all over these addr's */
- map(0xda02, 0xda02).w(this, FUNC(gpworld_state::brake_gas_write)); /*bit 0 select gas/brake input */
- map(0xda20, 0xda20).r(this, FUNC(gpworld_state::pedal_in));
+ map(0xda02, 0xda02).w(FUNC(gpworld_state::brake_gas_write)); /*bit 0 select gas/brake input */
+ map(0xda20, 0xda20).r(FUNC(gpworld_state::pedal_in));
map(0xe000, 0xffff).ram(); /* Potentially not all work RAM? */
}
@@ -342,7 +342,7 @@ void gpworld_state::mainmem(address_map &map)
void gpworld_state::mainport(address_map &map)
{
map.global_mask(0xff);
- map(0x01, 0x01).w(this, FUNC(gpworld_state::misc_io_write));
+ map(0x01, 0x01).w(FUNC(gpworld_state::misc_io_write));
map(0x80, 0x80).portr("IN0");
map(0x81, 0x81).portr("IN1");
map(0x82, 0x82).portr("DSW1");