dgpix: profiling says 40% of the time is spend calling describe_context() and not using the result. [O. Galibert]

This commit is contained in:
Olivier Galibert 2020-07-24 16:39:50 +02:00
parent 87adfbc571
commit 028c31a0d2

View File

@ -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;
}