summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2013-03-28 00:28:10 +0000
committer smf- <smf-@users.noreply.github.com>2013-03-28 00:28:10 +0000
commit7977e8ffc36ad5d296c6fb17bdb74073c1343450 (patch)
treecf82d55b46d686a4ca03c86567a496ee076dce96 /src
parentc861adb9bbaea8728c4fb97766a3148ebe35c5aa (diff)
MESS: stop psx cd timers when reset (nw)
Diffstat (limited to 'src')
-rw-r--r--src/mess/machine/psxcd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mess/machine/psxcd.c b/src/mess/machine/psxcd.c
index d98ebb3169c..aee00d0a69f 100644
--- a/src/mess/machine/psxcd.c
+++ b/src/mess/machine/psxcd.c
@@ -163,9 +163,12 @@ void psxcd_device::device_reset()
for (int i = 0; i < MAX_PSXCD_TIMERS; i++)
{
+ m_timers[i]->adjust(attotime::never, 0, attotime::never);
m_timerinuse[i] = false;
}
+ next_read_event = -1;
+
if(cur_res)
{
global_free(cur_res);