Merge pull request #4328 from B3n30/remove_current_module
remove GetCurrentModule() functions in HLE Services
This commit is contained in:
commit
1de63f9b16
14 changed files with 90 additions and 64 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue