From: Toni Wilen Date: Thu, 13 Mar 2014 18:33:21 +0000 (+0200) Subject: cdtv frontpanel state is enabled after reset. X-Git-Tag: 2800~19 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=f6c1cbe6b80d01668f640901b4aad4d93c1ff8ff;p=francis%2Fwinuae.git cdtv frontpanel state is enabled after reset. --- diff --git a/cdtv.cpp b/cdtv.cpp index 3ad345ef..abd29d75 100644 --- a/cdtv.cpp +++ b/cdtv.cpp @@ -1247,6 +1247,7 @@ static void cdtv_reset_int (void) cd_finished = 0; cd_led = 0; stch = 1; + frontpanel = 1; } static uae_u32 dmac_bget2 (uaecptr addr) @@ -1761,6 +1762,7 @@ void cdtv_init (void) /* KS autoconfig handles the rest */ map_banks (&dmac_bank, 0xe80000 >> 16, 0x10000 >> 16, 0x10000); if (!savestate_state) { + cdtv_reset_int (); configured = 0; tp_a = tp_b = tp_c = tp_ad = tp_bd = tp_cd = 0; tp_imask = tp_cr = tp_air = tp_ilatch = 0;