summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2026-03-26 20:40:59 +0100
committer hap <happppp@users.noreply.github.com>2026-03-26 20:40:59 +0100
commit3089a652a1a0854f440df8176aca53f847b9cb48 (patch)
treeaa5430ff477fcfef5d6dd4f24cbe9586b923aa79
parent19b9c0dcbd763afc08f5821a64fbf49f575c322d (diff)
x37: fix compile warning (unused function)
-rw-r--r--src/mame/bfm/bfm_sc5sw.cpp2
-rw-r--r--src/mame/luxor/x37.cpp13
2 files changed, 9 insertions, 6 deletions
diff --git a/src/mame/bfm/bfm_sc5sw.cpp b/src/mame/bfm/bfm_sc5sw.cpp
index 015008021c0..efad8cfe049 100644
--- a/src/mame/bfm/bfm_sc5sw.cpp
+++ b/src/mame/bfm/bfm_sc5sw.cpp
@@ -5071,7 +5071,7 @@ ROM_START( sc5pirclg )
ROM_REGION( 0x400000, "maincpu", ROMREGION_ERASEFF )
ROM_LOAD16_BYTE( "95427990.lo", 0x000001, 0x080000, CRC(d1e915a9) SHA1(39cf6d9d2fdd2f06ef0bd3f6b9ba581016af12bf) )
ROM_LOAD16_BYTE( "95427991.hi", 0x000000, 0x080000, CRC(97808fd3) SHA1(507148b65cfaaf76600df3f13c3347c9421b4fb3) )
- // tood: split
+ // TODO: split
ROM_LOAD16_BYTE( "95428508.lo", 0x000001, 0x080000, CRC(55048646) SHA1(132b74e86989fcabc76826fb3617c8e73b418135) )
ROM_LOAD16_BYTE( "95428509.hi", 0x000000, 0x080000, CRC(e89acafb) SHA1(ed330006e6f5fe61a3232e88ef54e3e9d54d9796) )
ROM_LOAD16_BYTE( "95429508.lo", 0x000001, 0x080000, CRC(e8d3cfe0) SHA1(e66078ab586da14152adc469c9782ada4d327997) )
diff --git a/src/mame/luxor/x37.cpp b/src/mame/luxor/x37.cpp
index 9326cb3d175..ea621baee64 100644
--- a/src/mame/luxor/x37.cpp
+++ b/src/mame/luxor/x37.cpp
@@ -10,7 +10,9 @@
*/
#include "emu.h"
-#include "softlist_dev.h"
+
+#include "abc1600_v.h"
+
#include "bus/abckb/abckb.h"
#include "bus/nscsi/devices.h"
#include "bus/rs232/rs232.h"
@@ -25,7 +27,8 @@
#include "machine/wd_fdc.h"
#include "machine/z80scc.h"
#include "machine/z8536.h"
-#include "abc1600_v.h"
+
+#include "softlist_dev.h"
namespace {
@@ -74,6 +77,8 @@ private:
memory_share_creator<u8> m_segment_ram;
memory_share_creator<u16> m_page_ram;
+ u8 m_cb = 0;
+
static void floppy_formats(format_registration &fr);
void program_map(address_map &map) ATTR_COLD;
@@ -89,9 +94,7 @@ private:
uint8_t cio_pc_r();
void cio_pc_w(uint8_t data);
- void xdck_w(offs_t offset, uint16_t data);
-
- u8 m_cb;
+ [[maybe_unused]] void xdck_w(offs_t offset, uint16_t data);
};
void x37_state::program_map(address_map &map)