summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/sound/pokey.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/sound/pokey.c')
-rw-r--r--src/emu/sound/pokey.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/emu/sound/pokey.c b/src/emu/sound/pokey.c
index f7ee36a58e0..e7c485e813c 100644
--- a/src/emu/sound/pokey.c
+++ b/src/emu/sound/pokey.c
@@ -53,6 +53,7 @@
#include "deprecat.h"
#include "streams.h"
#include "cpuintrf.h"
+#include "cpuexec.h"
#include "pokey.h"
/*
@@ -855,7 +856,7 @@ static int pokey_register_r(int chip, int offs)
}
}
else
- logerror("PC %04x: warning - read p[chip] #%d POT%d\n", cpu_get_pc(Machine->activecpu), chip, pot);
+ logerror("%s: warning - read p[chip] #%d POT%d\n", cpuexec_describe_context(Machine), chip, pot);
break;
case ALLPOT_C: