OSDN Git Service

[VM][FMR30] Fix crash when booting.
authorK.Ohta <whatisthis.sowhat@gmail.com>
Fri, 11 Aug 2017 08:07:49 +0000 (17:07 +0900)
committerK.Ohta <whatisthis.sowhat@gmail.com>
Fri, 11 Aug 2017 08:07:49 +0000 (17:07 +0900)
source/src/vm/fmr30/fmr30.cpp

index f9e4738..9322a1f 100644 (file)
@@ -52,7 +52,7 @@ VM::VM(EMU* parent_emu) : emu(parent_emu)
        // create devices
        first_device = last_device = NULL;
        dummy = new DEVICE(this, emu);  // must be 1st device
-       sio_kb->set_device_name(_T("1st dummy"));
+       dummy->set_device_name(_T("1st dummy"));
        event = new EVENT(this, emu);   // must be 2nd device
        
        dma = new I8237(this, emu);