void VM::update_config() { #if defined(_PC98DO) || defined(_PC98DOPLUS) if(boot_mode != config.boot_mode) { // boot mode is changed !!! boot_mode = config.boot_mode; reset(); } else #endif for(DEVICE* device = first_device; device; device = device->next_device) { device->update_config(); } }
void VM::update_config() { #if defined(_MZ800) if(boot_mode != config.boot_mode) { // boot mode is changed !!! boot_mode = config.boot_mode; reset(); } else { #endif for(DEVICE* device = first_device; device; device = device->next_device) { device->update_config(); } #if defined(_MZ800) } #endif }
void VM::update_config() { for(DEVICE* device = first_device; device; device = device->next_device) { device->update_config(); } }