]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
cdtv frontpanel state is enabled after reset.
authorToni Wilen <twilen@winuae.net>
Thu, 13 Mar 2014 18:33:21 +0000 (20:33 +0200)
committerToni Wilen <twilen@winuae.net>
Thu, 13 Mar 2014 18:33:21 +0000 (20:33 +0200)
cdtv.cpp

index 3ad345ef9c50d2d4db45b1ddec380c38e310d924..abd29d7594dbc3cc066ecf2717df5e76ec6b67e5 100644 (file)
--- 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;