Merge pull request #4328 from B3n30/remove_current_module

remove GetCurrentModule() functions in HLE Services
This commit is contained in:
Weiyi Wang 2018-10-18 21:39:24 -04:00 committed by GitHub
commit 1de63f9b16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 90 additions and 64 deletions

View file

@ -246,7 +246,8 @@ void ConfigureSystem::setConfiguration() {
ui->edit_init_time->setDateTime(date_time);
if (!enabled) {
cfg = Service::CFG::GetCurrentModule();
cfg = Service::CFG::GetModule(Core::System::GetInstance());
ASSERT_MSG(cfg, "CFG Module missing!");
ReadSystemSettings();
ui->group_system_settings->setEnabled(false);
} else {