diff options
Diffstat (limited to 'src/devices/cpu/dsp56k/dsp56pcu.cpp')
-rw-r--r-- | src/devices/cpu/dsp56k/dsp56pcu.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/cpu/dsp56k/dsp56pcu.cpp b/src/devices/cpu/dsp56k/dsp56pcu.cpp index 52fc294749b..637f7b6e067 100644 --- a/src/devices/cpu/dsp56k/dsp56pcu.cpp +++ b/src/devices/cpu/dsp56k/dsp56pcu.cpp @@ -469,18 +469,18 @@ INT8 dsp56k_get_irq_priority(dsp56k_core* cpustate, int index) } /* Given an IRQ name, return its index in the irq table */ -int dsp56k_get_irq_index_by_tag(std::string tag) +int dsp56k_get_irq_index_by_tag(const char* tag) { int i; for (i = 0; i < 32; i++) { - if (strcmp(tag.c_str(), dsp56k_interrupt_sources[i].irq_source) == 0) + if (strcmp(tag, dsp56k_interrupt_sources[i].irq_source) == 0) { return i; } } - fatalerror("DSP56K ERROR : IRQ TAG specified incorrectly (get_vector_by_tag) : %s.\n", tag.c_str()); + fatalerror("DSP56K ERROR : IRQ TAG specified incorrectly (get_vector_by_tag) : %s.\n", tag); // never executed //return -1; } |