OSDN Git Service

[VM][DEVICE][WIP] Updating State functions.Still cause FTBFS.
[csp-qt/common_source_project-fm7.git] / source / src / vm / tf20.cpp
index 6c56a92..5a83743 100644 (file)
@@ -151,8 +151,8 @@ bool TF20::process_state(FILEIO* state_fio, bool loading)
        if(!state_fio->StateCheckInt32(this_device_id)) {
                return false;
        }
-       state_fio->StateBuffer(ram, sizeof(ram), 1);
-       state_fio->StateBool(rom_selected);
+       state_fio->StateArray(ram, sizeof(ram), 1);
+       state_fio->StateValue(rom_selected);
        
        // post process
        if(loading) {