mirror of
https://github.com/holub/mame
synced 2025-04-20 15:32:45 +03:00
dgpix: profiling says 40% of the time is spend calling describe_context() and not using the result. [O. Galibert]
This commit is contained in:
parent
87adfbc571
commit
028c31a0d2
@ -134,15 +134,6 @@ u8 ks0164_device::mpu401_status_r()
|
||||
if(m_mpu_status & MPUS_RX_FULL)
|
||||
res |= 0x40;
|
||||
|
||||
static std::string pc;
|
||||
static u8 pr;
|
||||
|
||||
std::string cc = machine().describe_context();
|
||||
if(pc != cc || pr != res) {
|
||||
// logerror("status read %02x (%s)\n", res, cc);
|
||||
pc = cc;
|
||||
pr = res;
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user