OSDN Git Service

[VM][STATE][HC20][HC40][HC80][M5][MSX] Apply new state framerork to some VMs.
[csp-qt/common_source_project-fm7.git] / source / src / vm / m5 / m5.cpp
index 7faae1a..2c6281d 100644 (file)
@@ -333,8 +333,8 @@ extern CSP_Logger DLL_PREFIX_I *csp_logger;
 void VM::decl_state(void)
 {
        state_entry = new csp_state_utils(STATE_VERSION, 0, (_TCHAR *)(_T("CSP::M5_HEAD")), csp_logger);
-       DECL_STATE_ENTRY_MULTI(void, ram, sizeof(ram));
-       DECL_STATE_ENTRY_MULTI(void, ext, sizeof(ext));
+       DECL_STATE_ENTRY_1D_ARRAY(ram, sizeof(ram));
+       DECL_STATE_ENTRY_1D_ARRAY(ext, sizeof(ext));
        DECL_STATE_ENTRY_BOOL(inserted);
        
        for(DEVICE* device = first_device; device; device = device->next_device) {