OSDN Git Service

[VM][STATE][MZ2500][MZ700][MZ80K] Apply new state framework to some VMs.
[csp-qt/common_source_project-fm7.git] / source / src / vm / mz2500 / mz80b.cpp
index 54337f3..1167035 100644 (file)
@@ -576,7 +576,7 @@ bool VM::load_state(FILEIO* state_fio)
        //}
        bool mb = false;
        if(state_entry != NULL) {
-               mb = state_entry->save_state(state_fio);
+               mb = state_entry->load_state(state_fio);
        }
        if(!mb) return false;
        for(DEVICE* device = first_device; device; device = device->next_device) {