diff options
Diffstat (limited to 'src/android/app')
| -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, | |||
| 404 | const size_t program_index, | 404 | const size_t program_index, |
| 405 | const bool frontend_initiated) { | 405 | const bool frontend_initiated) { |
| 406 | MicroProfileOnThreadCreate("EmuThread"); | 406 | MicroProfileOnThreadCreate("EmuThread"); |
| 407 | SCOPE_EXIT({ MicroProfileShutdown(); }); | 407 | SCOPE_EXIT { |
| 408 | MicroProfileShutdown(); | ||
| 409 | }; | ||
| 408 | 410 | ||
| 409 | LOG_INFO(Frontend, "starting"); | 411 | LOG_INFO(Frontend, "starting"); |
| 410 | 412 | ||
| @@ -413,7 +415,9 @@ static Core::SystemResultStatus RunEmulation(const std::string& filepath, | |||
| 413 | return Core::SystemResultStatus::ErrorLoader; | 415 | return Core::SystemResultStatus::ErrorLoader; |
| 414 | } | 416 | } |
| 415 | 417 | ||
| 416 | SCOPE_EXIT({ EmulationSession::GetInstance().ShutdownEmulation(); }); | 418 | SCOPE_EXIT { |
| 419 | EmulationSession::GetInstance().ShutdownEmulation(); | ||
| 420 | }; | ||
| 417 | 421 | ||
| 418 | jconst result = EmulationSession::GetInstance().InitializeEmulation(filepath, program_index, | 422 | jconst result = EmulationSession::GetInstance().InitializeEmulation(filepath, program_index, |
| 419 | frontend_initiated); | 423 | frontend_initiated); |