OSDN Git Service

[VM] Fix FTBFSs.
[csp-qt/common_source_project-fm7.git] / source / src / vm / pc2001 / pc2001.h
index dd1a10f..2b93621 100644 (file)
@@ -40,6 +40,8 @@
 #define USE_CPU_UPD7810
 
 #include "../../common.h"
+#include "../../fileio.h"
+#include "../vm_template.h"
 
 #ifdef USE_SOUND_VOLUME
 static const _TCHAR *sound_device_caption[] = {
@@ -47,7 +49,7 @@ static const _TCHAR *sound_device_caption[] = {
 };
 #endif
 
-class csp_state_utils;
+//class csp_state_utils;
 class EMU;
 class DEVICE;
 class EVENT;
@@ -60,17 +62,14 @@ class UPD1990A;
 class UPD7810;
 
 class IO;
-
-#include "../../fileio.h"
-
-class VM
+class VM : public VM_TEMPLATE
 {
 protected:
-       EMU* emu;
-       csp_state_utils *state_entry;
+       //EMU* emu;
+       //csp_state_utils *state_entry;
        
        // devices
-       EVENT* event;
+       //EVENT* event;
        
        DATAREC* drec;
        MEMORY* memory;
@@ -146,9 +145,9 @@ public:
        
        // devices
        DEVICE* get_device(int id);
-       DEVICE* dummy;
-       DEVICE* first_device;
-       DEVICE* last_device;
+       //DEVICE* dummy;
+       //DEVICE* first_device;
+       //DEVICE* last_device;
 };
 
 #endif