summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/generalplus_gpl16250_nand.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/generalplus_gpl16250_nand.cpp')
-rw-r--r--src/mame/drivers/generalplus_gpl16250_nand.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/generalplus_gpl16250_nand.cpp b/src/mame/drivers/generalplus_gpl16250_nand.cpp
index 2d77470dde6..ac4874366db 100644
--- a/src/mame/drivers/generalplus_gpl16250_nand.cpp
+++ b/src/mame/drivers/generalplus_gpl16250_nand.cpp
@@ -32,22 +32,22 @@
#include "includes/generalplus_gpl16250.h"
#include "includes/generalplus_gpl16250_nand.h"
-READ16_MEMBER(generalplus_gpac800_game_state::cs0_r)
+uint16_t generalplus_gpac800_game_state::cs0_r(offs_t offset)
{
return m_sdram2[offset & 0xffff];
}
-WRITE16_MEMBER(generalplus_gpac800_game_state::cs0_w)
+void generalplus_gpac800_game_state::cs0_w(offs_t offset, uint16_t data)
{
m_sdram2[offset & 0xffff] = data;
}
-READ16_MEMBER(generalplus_gpac800_game_state::cs1_r)
+uint16_t generalplus_gpac800_game_state::cs1_r(offs_t offset)
{
return m_sdram[offset & (m_sdram_kwords-1)];
}
-WRITE16_MEMBER(generalplus_gpac800_game_state::cs1_w)
+void generalplus_gpac800_game_state::cs1_w(offs_t offset, uint16_t data)
{
m_sdram[offset & (m_sdram_kwords-1)] = data;
}