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][DEVICE] Enable to build with new state framework.
[csp-qt/common_source_project-fm7.git]
/
source
/
src
/
vm
/
mb8877.cpp
diff --git
a/source/src/vm/mb8877.cpp
b/source/src/vm/mb8877.cpp
index
70eb29b
..
ea561dc
100644
(file)
--- a/
source/src/vm/mb8877.cpp
+++ b/
source/src/vm/mb8877.cpp
@@
-2024,6
+2024,7
@@
bool MB8877::process_state(FILEIO* state_fio, bool loading)
state_fio->StateValue(fdc[i].prev_clock);
}
for(int i = 0; i < array_length(disk); i++) {
+ if(disk[i] == NULL) continue;
if(!disk[i]->process_state(state_fio, loading)) {
return false;
}