diff --git a/app/src/main/cpp/loader_jni.cpp b/app/src/main/cpp/loader_jni.cpp index 321b93f1..ba2044c1 100644 --- a/app/src/main/cpp/loader_jni.cpp +++ b/app/src/main/cpp/loader_jni.cpp @@ -13,6 +13,8 @@ #include "skyline/jvm.h" extern "C" JNIEXPORT jint JNICALL Java_emu_skyline_loader_RomFile_populate(JNIEnv *env, jobject thiz, jint jformat, jint fd, jstring appFilesPathJstring, jint systemLanguage) { + skyline::signal::ScopedStackBlocker stackBlocker; + skyline::loader::RomFormat format{static_cast(jformat)}; skyline::Logger::SetContext(&skyline::Logger::LoaderContext);