• R/O
  • HTTP
  • SSH
  • HTTPS

common_source_project-fm7: Commit

Common Source Code Project for Qt (a.k.a for FM-7).


Commit MetaInfo

Revision77fc099fd20eaecbe5576769fe4a331328be43a5 (tree)
Time2018-06-02 12:09:33
AuthorK.Ohta <whatisthis.sowhat@gmai...>
CommiterK.Ohta

Log Message

[VM][FAMILYBASIC][STATE] Fix FTBFS.

Change Summary

Incremental Difference

--- a/source/src/vm/familybasic/familybasic.cpp
+++ b/source/src/vm/familybasic/familybasic.cpp
@@ -310,6 +310,8 @@ void VM::update_config()
310310
311311 #define STATE_VERSION 5
312312
313+#include "../../statesub.h"
314+
313315 void VM::decl_state(void)
314316 {
315317 state_entry = new csp_state_utils(STATE_VERSION, 0, (_TCHAR *)(_T("CSP::FAMILY_BASIC_HEAD")));
--- a/source/src/vm/familybasic/familybasic.h
+++ b/source/src/vm/familybasic/familybasic.h
@@ -85,6 +85,8 @@ typedef struct header_s {
8585 }
8686 } header_t;
8787
88+class csp_state_utils;
89+
8890 class EMU;
8991 class DEVICE;
9092 class EVENT;
@@ -101,6 +103,7 @@ class VM
101103 {
102104 protected:
103105 EMU* emu;
106+ csp_state_utils* state_entry;
104107
105108 // devices
106109 EVENT* event;
@@ -165,6 +168,7 @@ public:
165168 bool is_frame_skippable();
166169
167170 void update_config();
171+ void decl_state();
168172 void save_state(FILEIO* state_fio);
169173 bool load_state(FILEIO* state_fio);
170174
Show on old repository browser