OSDN Git Service
(root)
/
csp-qt
/
common_source_project-fm7.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[VM][WIP] Pre-process to apply new state framework.Still not buildable.
[csp-qt/common_source_project-fm7.git]
/
source
/
src
/
vm
/
pasopia
/
kanjipac2.cpp
diff --git
a/source/src/vm/pasopia/kanjipac2.cpp
b/source/src/vm/pasopia/kanjipac2.cpp
index
8bbfda0
..
119d33f
100644
(file)
--- a/
source/src/vm/pasopia/kanjipac2.cpp
+++ b/
source/src/vm/pasopia/kanjipac2.cpp
@@
-79,3
+79,11
@@
bool KANJIPAC2::load_state(FILEIO* state_fio)
return true;
}
+bool KANJIPAC2::process_state(FILEIO* state_fio, bool loading)
+{
+ if(!state_fio->StateCheckUint32(STATE_VERSION)) {
+ return false;
+ }
+ state_fio->StateUint32(ptr);
+ return true;
+}