mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
-cpu/es5510: Avoid calling DESCRIBE_INSTR when not verbose-logging. (#11285) [Ryan Holtz]
This commit is contained in:
parent
efdcdb10ae
commit
00c0b35018
@ -779,9 +779,12 @@ void es5510_device::execute_run() {
|
||||
} else {
|
||||
// currently running, execute one instruction.
|
||||
|
||||
char buf[1024];
|
||||
DESCRIBE_INSTR(buf, instr[pc], gpr[pc], nullptr, nullptr, nullptr, nullptr);
|
||||
LOG_EXEC("EXECUTING %02x: %012x %06x %s\n", pc, instr[pc], gpr[pc]&0xffffff, buf);
|
||||
if (VERBOSE & LOG_EXECUTION)
|
||||
{
|
||||
char buf[1024];
|
||||
DESCRIBE_INSTR(buf, instr[pc], gpr[pc], nullptr, nullptr, nullptr, nullptr);
|
||||
LOG_EXEC("EXECUTING %02x: %012x %06x %s\n", pc, instr[pc], gpr[pc]&0xffffff, buf);
|
||||
}
|
||||
|
||||
ram_pp = ram_p;
|
||||
ram_p = ram;
|
||||
|
Loading…
Reference in New Issue
Block a user