summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/wangpc/lvc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/wangpc/lvc.cpp')
-rw-r--r--src/devices/bus/wangpc/lvc.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/devices/bus/wangpc/lvc.cpp b/src/devices/bus/wangpc/lvc.cpp
index 1fd3c0610d4..66b86493051 100644
--- a/src/devices/bus/wangpc/lvc.cpp
+++ b/src/devices/bus/wangpc/lvc.cpp
@@ -104,7 +104,7 @@ MC6845_UPDATE_ROW( wangpc_lvc_device::crtc_update_row )
}
}
-WRITE_LINE_MEMBER( wangpc_lvc_device::vsync_w )
+void wangpc_lvc_device::vsync_w(int state)
{
if (OPTION_VSYNC && state)
{
@@ -164,7 +164,7 @@ wangpc_lvc_device::wangpc_lvc_device(const machine_config &mconfig, const char *
device_t(mconfig, WANGPC_LVC, tag, owner, clock),
device_wangpcbus_card_interface(mconfig, *this),
m_crtc(*this, MC6845_TAG),
- m_video_ram(*this, "video_ram"),
+ m_video_ram(*this, "video_ram", RAM_SIZE, ENDIANNESS_LITTLE),
m_option(0), m_scroll(0),
m_irq(CLEAR_LINE)
{
@@ -177,9 +177,6 @@ wangpc_lvc_device::wangpc_lvc_device(const machine_config &mconfig, const char *
void wangpc_lvc_device::device_start()
{
- // allocate memory
- m_video_ram.allocate(RAM_SIZE);
-
// state saving
save_item(NAME(m_option));
save_item(NAME(m_scroll));