enable boost mode as early as possible during init, and exit boost as late as possible during exit.

This commit is contained in:
ITotalJustice
2025-06-09 12:32:43 +01:00
parent a33d8e1061
commit 6b77cbb0c0
9 changed files with 42 additions and 17 deletions

View File

@@ -980,8 +980,8 @@ Result Menu::DumpGames(u32 flags) {
R_TRY(GcMountStorage());
const auto do_dump = [this](u32 flags) -> Result {
appletSetCpuBoostMode(ApmCpuBoostMode_FastLoad);
ON_SCOPE_EXIT(appletSetCpuBoostMode(ApmCpuBoostMode_Normal));
App::SetBoostMode(true);
ON_SCOPE_EXIT(App::SetBoostMode(false));
u32 location_flags = dump::DumpLocationFlag_All;