summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2015-08-26 00:21:15 +0200
committer hap <happppp@users.noreply.github.com>2015-08-26 00:21:15 +0200
commit016f430cea1fcfc33a140cd8206fbf26c25402a5 (patch)
tree30c6a86a53e6316286ac1c6a5fe633a98b2017e6 /src/emu/cpu
parent314affc3a0b7cb5afc25d1aaebcde9a75efab609 (diff)
fix namcos23 crash: http://mametesters.org/view.php?id=5762 (problem with uninitialized variables)
Diffstat (limited to 'src/emu/cpu')
-rw-r--r--src/emu/cpu/h8/h8_timer16.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/cpu/h8/h8_timer16.c b/src/emu/cpu/h8/h8_timer16.c
index 2498d3bf743..5714985dd84 100644
--- a/src/emu/cpu/h8/h8_timer16.c
+++ b/src/emu/cpu/h8/h8_timer16.c
@@ -164,7 +164,7 @@ void h8_timer16_channel_device::device_start()
{
intc = owner()->siblingdevice<h8_intc_device>(intc_tag);
channel_active = false;
- clock_type = DIV_1;
+ device_reset();
save_item(NAME(tgr_clearing));
save_item(NAME(tcr));