mirror of
https://github.com/citra-emu/citra-canary.git
synced 2024-12-25 06:35:40 +00:00
APT: enable LLE applet
This commit is contained in:
parent
bf2056f12e
commit
b49f2d2958
|
@ -327,10 +327,13 @@ ResultCode AppletManager::PrepareToStartLibraryApplet(AppletId applet_id) {
|
||||||
// There are some problems with LLE applets. The rasterizer cache gets out of sync
|
// There are some problems with LLE applets. The rasterizer cache gets out of sync
|
||||||
// when the applet is closed. To avoid breaking applications because of the issue,
|
// when the applet is closed. To avoid breaking applications because of the issue,
|
||||||
// we are going to disable loading LLE applets before further fixes are done.
|
// we are going to disable loading LLE applets before further fixes are done.
|
||||||
// auto process = NS::LaunchTitle(FS::MediaType::NAND, GetTitleIdForApplet(applet_id,
|
auto cfg = Service::CFG::GetModule(system);
|
||||||
// region_value)); if (process) {
|
u32 region_value = cfg->GetRegionValue();
|
||||||
// return RESULT_SUCCESS;
|
auto process =
|
||||||
// }
|
NS::LaunchTitle(FS::MediaType::NAND, GetTitleIdForApplet(applet_id, region_value));
|
||||||
|
if (process) {
|
||||||
|
return RESULT_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
// If we weren't able to load the native applet title, try to fallback to an HLE implementation.
|
// If we weren't able to load the native applet title, try to fallback to an HLE implementation.
|
||||||
auto applet = HLE::Applets::Applet::Get(applet_id);
|
auto applet = HLE::Applets::Applet::Get(applet_id);
|
||||||
|
@ -354,10 +357,13 @@ ResultCode AppletManager::PreloadLibraryApplet(AppletId applet_id) {
|
||||||
// There are some problems with LLE applets. The rasterizer cache gets out of sync
|
// There are some problems with LLE applets. The rasterizer cache gets out of sync
|
||||||
// when the applet is closed. To avoid breaking applications because of the issue,
|
// when the applet is closed. To avoid breaking applications because of the issue,
|
||||||
// we are going to disable loading LLE applets before further fixes are done.
|
// we are going to disable loading LLE applets before further fixes are done.
|
||||||
// auto process = NS::LaunchTitle(FS::MediaType::NAND, GetTitleIdForApplet(applet_id,
|
auto cfg = Service::CFG::GetModule(system);
|
||||||
// region_value)); if (process) {
|
u32 region_value = cfg->GetRegionValue();
|
||||||
// return RESULT_SUCCESS;
|
auto process =
|
||||||
// }
|
NS::LaunchTitle(FS::MediaType::NAND, GetTitleIdForApplet(applet_id, region_value));
|
||||||
|
if (process) {
|
||||||
|
return RESULT_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
// If we weren't able to load the native applet title, try to fallback to an HLE implementation.
|
// If we weren't able to load the native applet title, try to fallback to an HLE implementation.
|
||||||
auto applet = HLE::Applets::Applet::Get(applet_id);
|
auto applet = HLE::Applets::Applet::Get(applet_id);
|
||||||
|
|
Loading…
Reference in a new issue