mirror of
https://github.com/PabloMK7/citra.git
synced 2024-11-26 17:34:04 +00:00
Merge pull request #3991 from zhaowenlan1779/no-lle-applets
applet_manager: disable loading LLE applets
This commit is contained in:
commit
e4d65927c2
1 changed files with 14 additions and 8 deletions
|
@ -321,10 +321,13 @@ ResultCode AppletManager::PrepareToStartLibraryApplet(AppletId applet_id) {
|
||||||
ErrorSummary::InvalidState, ErrorLevel::Status);
|
ErrorSummary::InvalidState, ErrorLevel::Status);
|
||||||
}
|
}
|
||||||
|
|
||||||
auto process = NS::LaunchTitle(FS::MediaType::NAND, GetTitleIdForApplet(applet_id));
|
// There are some problems with LLE applets. The rasterizer cache gets out of sync
|
||||||
if (process) {
|
// when the applet is closed. To avoid breaking applications because of the issue,
|
||||||
return RESULT_SUCCESS;
|
// we are going to disable loading LLE applets before further fixes are done.
|
||||||
}
|
// auto process = NS::LaunchTitle(FS::MediaType::NAND, GetTitleIdForApplet(applet_id));
|
||||||
|
// 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);
|
||||||
|
@ -345,10 +348,13 @@ ResultCode AppletManager::PreloadLibraryApplet(AppletId applet_id) {
|
||||||
ErrorSummary::InvalidState, ErrorLevel::Status);
|
ErrorSummary::InvalidState, ErrorLevel::Status);
|
||||||
}
|
}
|
||||||
|
|
||||||
auto process = NS::LaunchTitle(FS::MediaType::NAND, GetTitleIdForApplet(applet_id));
|
// There are some problems with LLE applets. The rasterizer cache gets out of sync
|
||||||
if (process) {
|
// when the applet is closed. To avoid breaking applications because of the issue,
|
||||||
return RESULT_SUCCESS;
|
// we are going to disable loading LLE applets before further fixes are done.
|
||||||
}
|
// auto process = NS::LaunchTitle(FS::MediaType::NAND, GetTitleIdForApplet(applet_id));
|
||||||
|
// 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