diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2024-02-19 16:50:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-19 16:50:45 +0100 |
commit | c9ef2e26ca82cacc44998727d704f4b77ee88591 (patch) | |
tree | 43a5699123e4930560fc5016faac7efb15b63f4e /src/android | |
parent | Merge pull request #13006 from liamwhite/a-hat-in-vram (diff) | |
parent | scope_exit: Make constexpr (diff) | |
download | yuzu-c9ef2e26ca82cacc44998727d704f4b77ee88591.tar yuzu-c9ef2e26ca82cacc44998727d704f4b77ee88591.tar.gz yuzu-c9ef2e26ca82cacc44998727d704f4b77ee88591.tar.bz2 yuzu-c9ef2e26ca82cacc44998727d704f4b77ee88591.tar.lz yuzu-c9ef2e26ca82cacc44998727d704f4b77ee88591.tar.xz yuzu-c9ef2e26ca82cacc44998727d704f4b77ee88591.tar.zst yuzu-c9ef2e26ca82cacc44998727d704f4b77ee88591.zip |
Diffstat (limited to 'src/android')
-rw-r--r-- | src/android/app/src/main/jni/native.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/android/app/src/main/jni/native.cpp b/src/android/app/src/main/jni/native.cpp index 50cef5d2a..4ea82e217 100644 --- a/src/android/app/src/main/jni/native.cpp +++ b/src/android/app/src/main/jni/native.cpp @@ -404,7 +404,9 @@ static Core::SystemResultStatus RunEmulation(const std::string& filepath, const size_t program_index, const bool frontend_initiated) { MicroProfileOnThreadCreate("EmuThread"); - SCOPE_EXIT({ MicroProfileShutdown(); }); + SCOPE_EXIT { + MicroProfileShutdown(); + }; LOG_INFO(Frontend, "starting"); @@ -413,7 +415,9 @@ static Core::SystemResultStatus RunEmulation(const std::string& filepath, return Core::SystemResultStatus::ErrorLoader; } - SCOPE_EXIT({ EmulationSession::GetInstance().ShutdownEmulation(); }); + SCOPE_EXIT { + EmulationSession::GetInstance().ShutdownEmulation(); + }; jconst result = EmulationSession::GetInstance().InitializeEmulation(filepath, program_index, frontend_initiated); |