OSDN Git Service

[VM][FM16PI][J3100] Fix BEEP.
authorK.Ohta <whatisthis.sowhat@gmail.com>
Thu, 27 Oct 2016 07:55:50 +0000 (16:55 +0900)
committerK.Ohta <whatisthis.sowhat@gmail.com>
Thu, 27 Oct 2016 07:55:50 +0000 (16:55 +0900)
source/src/vm/fm16pi/fm16pi.cpp
source/src/vm/j3100/j3100.cpp

index 7902f80..16289ce 100644 (file)
@@ -239,6 +239,7 @@ VM::VM(EMU* parent_emu) : emu(parent_emu)
        for(DEVICE* device = first_device; device; device = device->next_device) {
                device->initialize();
        }
+       pcm->set_realtime_render(true);
 }
 
 VM::~VM()
index ee7f86b..27a89ab 100644 (file)
@@ -259,15 +259,13 @@ VM::VM(EMU* parent_emu) : emu(parent_emu)
                io->set_flipflop_single_rw(i, iovalues[i & 0x1f]);
        }
 #endif
-
-
-
-
-       
        // initialize all devices
        for(DEVICE* device = first_device; device; device = device->next_device) {
                device->initialize();
        }
+#ifdef TYPE_SL
+       pcm->set_realtime_render(true);
+#endif
 }
 
 VM::~VM()