cfg: Update preferred region data on-demand. (#7206)
This commit is contained in:
		| @@ -19,11 +19,7 @@ void Java_org_citra_citra_1emu_utils_SystemSaveGame_save([[maybe_unused]] JNIEnv | ||||
|  | ||||
| void Java_org_citra_citra_1emu_utils_SystemSaveGame_load([[maybe_unused]] JNIEnv* env, | ||||
|                                                          [[maybe_unused]] jobject obj) { | ||||
|     if (Core::System::GetInstance().IsPoweredOn()) { | ||||
|         cfg = Service::CFG::GetModule(Core::System::GetInstance()); | ||||
|     } else { | ||||
|         cfg = std::make_shared<Service::CFG::Module>(); | ||||
|     } | ||||
|     cfg = Service::CFG::GetModule(Core::System::GetInstance()); | ||||
| } | ||||
|  | ||||
| jboolean Java_org_citra_citra_1emu_utils_SystemSaveGame_getIsSystemSetupNeeded( | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Steveice10
					Steveice10