summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/esq1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/esq1.cpp')
-rw-r--r--src/mame/drivers/esq1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/esq1.cpp b/src/mame/drivers/esq1.cpp
index b212bff0c3d..87b2fda19dd 100644
--- a/src/mame/drivers/esq1.cpp
+++ b/src/mame/drivers/esq1.cpp
@@ -580,7 +580,7 @@ void esq1_state::send_through_panel(uint8_t data)
INPUT_CHANGED_MEMBER(esq1_state::key_stroke)
{
u8 offset = 0;
- if (strncmp(machine().basename(), "sq80", 4) == 0)
+ if (strncmp(machine().basename().c_str(), "sq80", 4) == 0)
{
if (!kpc_calibrated)
{ // ack SQ80 keyboard calibration