summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/skullxbo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/skullxbo.cpp')
-rw-r--r--src/mame/drivers/skullxbo.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mame/drivers/skullxbo.cpp b/src/mame/drivers/skullxbo.cpp
index 881b0d30157..5e4cf797de9 100644
--- a/src/mame/drivers/skullxbo.cpp
+++ b/src/mame/drivers/skullxbo.cpp
@@ -25,6 +25,7 @@
#include "cpu/m68000/m68000.h"
#include "machine/eeprompar.h"
#include "machine/watchdog.h"
+#include "emupal.h"
#include "speaker.h"
@@ -44,7 +45,7 @@ void skullxbo_state::update_interrupts()
TIMER_DEVICE_CALLBACK_MEMBER(skullxbo_state::scanline_timer)
{
- scanline_int_gen(*m_maincpu);
+ scanline_int_write_line(1);
}
@@ -115,7 +116,7 @@ void skullxbo_state::main_map(address_map &map)
map(0xff1e80, 0xff1eff).w(FUNC(skullxbo_state::skullxbo_xscroll_w));
map(0xff1f00, 0xff1f7f).w(FUNC(skullxbo_state::scanline_int_ack_w));
map(0xff1f80, 0xff1fff).w("watchdog", FUNC(watchdog_timer_device::reset16_w));
- map(0xff2000, 0xff2fff).ram().w(m_palette, FUNC(palette_device::write16)).share("palette");
+ map(0xff2000, 0xff2fff).ram().w("palette", FUNC(palette_device::write16)).share("palette");
map(0xff4000, 0xff47ff).w(FUNC(skullxbo_state::skullxbo_yscroll_w)).share("yscroll");
map(0xff4800, 0xff4fff).w(FUNC(skullxbo_state::skullxbo_mobwr_w));
map(0xff5001, 0xff5001).r(m_jsa, FUNC(atari_jsa_ii_device::main_response_r));