diff options
author | 2015-08-26 00:21:15 +0200 | |
---|---|---|
committer | 2015-08-26 00:21:15 +0200 | |
commit | 016f430cea1fcfc33a140cd8206fbf26c25402a5 (patch) | |
tree | 30c6a86a53e6316286ac1c6a5fe633a98b2017e6 /src/emu/cpu | |
parent | 314affc3a0b7cb5afc25d1aaebcde9a75efab609 (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.c | 2 |
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)); |