OSDN Git Service

[VM][FM7] Some fixes.
authorK.Ohta <whatisthis.sowhat@gmail.com>
Thu, 28 Dec 2017 05:37:20 +0000 (14:37 +0900)
committerK.Ohta <whatisthis.sowhat@gmail.com>
Thu, 28 Dec 2017 05:37:20 +0000 (14:37 +0900)
source/src/vm/fm7/display.cpp
source/src/vm/fm7/fm7.cpp
source/src/vm/fm7/fm7_mainio.cpp

index ff078c4..2fcb663 100644 (file)
@@ -197,7 +197,7 @@ void DISPLAY::reset()
        //crt_flag = true;
        crt_flag = false; // Fixed by Ryu Takegami
        screen_update_flag = true;
-       crt_flag_bak = true;
+       crt_flag_bak = false;
        
        cancel_request = false;
 #if defined(_FM77AV_VARIANTS)
index 9b7052d..b3a94cb 100644 (file)
@@ -75,7 +75,6 @@ VM::VM(EMU* parent_emu): emu(parent_emu)
 #ifdef WITH_Z80
        z80cpu = new Z80(this, emu);
        g_mainstat = new AND(this, emu);
-       
 #endif
        // basic devices
        // I/Os
index 08f474e..f77d44a 100644 (file)
@@ -613,6 +613,7 @@ void FM7_MAINIO::do_irq(void)
        } else {
                maincpu->write_signal(SIG_CPU_IRQ, 0, 1);
        }
+
 }
 
 void FM7_MAINIO::do_firq(void)