mirror of
https://github.com/PabloMK7/citra.git
synced 2025-09-10 04:40:05 +00:00
kernel: Release thread resource limit in Thread::Stop (#7318)
* core: Config plg_ldr after its creation * Also use service manager to retrieve the service * thread: Release resource limit in Thread::Stop * service: Undo plgldr change
This commit is contained in:
parent
0df72f3873
commit
62409f8139
3 changed files with 8 additions and 8 deletions
|
@ -449,6 +449,12 @@ System::ResultStatus System::Init(Frontend::EmuWindow& emu_window,
|
|||
gpu->SetInterruptHandler(
|
||||
[gsp](Service::GSP::InterruptId interrupt_id) { gsp->SignalInterrupt(interrupt_id); });
|
||||
|
||||
auto plg_ldr = Service::PLGLDR::GetService(*this);
|
||||
if (plg_ldr) {
|
||||
plg_ldr->SetEnabled(Settings::values.plugin_loader_enabled.GetValue());
|
||||
plg_ldr->SetAllowGameChangeState(Settings::values.allow_plugin_loader.GetValue());
|
||||
}
|
||||
|
||||
LOG_DEBUG(Core, "Initialized OK");
|
||||
|
||||
is_powered_on = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue