mirror of
https://github.com/holub/mame
synced 2025-04-23 17:00:53 +03:00
Fix for describe_context (no whatsnew)
This commit is contained in:
parent
56e3c23328
commit
d690b74571
@ -222,7 +222,7 @@ const char *running_machine::describe_context()
|
||||
device_execute_interface *executing = m_scheduler.currently_executing();
|
||||
if (executing != NULL)
|
||||
{
|
||||
cpu_device *cpu = downcast<cpu_device *>(&executing->device());
|
||||
cpu_device *cpu = dynamic_cast<cpu_device *>(&executing->device());
|
||||
if (cpu != NULL)
|
||||
m_context.printf("'%s' (%s)", cpu->tag(), core_i64_format(cpu->pc(), cpu->space(AS_PROGRAM).logaddrchars(), cpu->is_octal()));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user