mirror of
https://github.com/holub/mame
synced 2025-06-08 05:44:09 +03:00
MESS: stop psx crashing when reloading a state when cd access was in progress [smf]
This commit is contained in:
parent
9237e15a0e
commit
c861adb9bb
@ -1408,6 +1408,12 @@ void psxcd_device::stop_read()
|
|||||||
//
|
//
|
||||||
void psxcd_device::device_timer(emu_timer &timer, device_timer_id tid, int param, void *ptr)
|
void psxcd_device::device_timer(emu_timer &timer, device_timer_id tid, int param, void *ptr)
|
||||||
{
|
{
|
||||||
|
if (!m_timerinuse[tid])
|
||||||
|
{
|
||||||
|
printf("cdrom:: timer fired for free event\n");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
m_timerinuse[tid] = false;
|
m_timerinuse[tid] = false;
|
||||||
switch (param)
|
switch (param)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user