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
/
pasopia7
/
kanjipac2.cpp
diff --git
a/source/src/vm/pasopia7/kanjipac2.cpp
b/source/src/vm/pasopia7/kanjipac2.cpp
index
dcc4ef6
..
cc42759
100644
(file)
--- a/
source/src/vm/pasopia7/kanjipac2.cpp
+++ b/
source/src/vm/pasopia7/kanjipac2.cpp
@@
-82,3
+82,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;
+}