OSDN Git Service

[VM][I386] ReName "SIG_I386_FORCE_RESET" to "SIG_I386_NOTIFY_RESET".
authorK.Ohta <whatisthis.sowhat@gmail.com>
Thu, 2 May 2019 09:08:47 +0000 (18:08 +0900)
committerK.Ohta <whatisthis.sowhat@gmail.com>
Thu, 2 May 2019 09:08:47 +0000 (18:08 +0900)
source/src/vm/i386.cpp
source/src/vm/i386.h
source/src/vm/mame/emu/cpu/i386/i386.c

index d8230df..c080965 100644 (file)
@@ -444,7 +444,7 @@ void I386::write_signal(int id, uint32_t data, uint32_t mask)
                cpustate->busreq = (data & mask) ? 1 : 0;
        } else if(id == SIG_I386_A20) {
                i386_set_a20_line(cpustate, data & mask);
-       } else if(id == SIG_I386_FORCE_RESET) {
+       } else if(id == SIG_I386_NOTIFY_RESET) {
                write_signals(&outputs_extreset, ((data & mask == 0) ? 0x00000000 : 0xffffffff));
        }
 }
index 0d09d8c..e0f46ab 100644 (file)
@@ -19,7 +19,7 @@
 #include "device.h"
 
 #define SIG_I386_A20                   1
-#define SIG_I386_FORCE_RESET   2
+#define SIG_I386_NOTIFY_RESET  2
 //#ifdef USE_DEBUGGER
 class DEBUGGER;
 //#endif
index 04a1c89..740de9f 100644 (file)
@@ -765,7 +765,7 @@ static void i386_sreg_load(i386_state *cpustate, UINT16 selector, UINT8 reg, boo
                        //CPU_RESET_CALL(CPU_MODEL);
                        cpu_reset_generic(cpustate);
                        cpustate->shutdown = 1;
-                       cpustate->parent_device->write_signal(SIG_I386_FORCE_RESET, 0xfffffff, 0xffffffff);
+                       cpustate->parent_device->write_signal(SIG_I386_NOTIFY_RESET, 0xfffffff, 0xffffffff);
                        return;
                }