diff --git a/src/bindings/jni/rvvm_jni.c b/src/bindings/jni/rvvm_jni.c index 648080aaa..a778bbc74 100644 --- a/src/bindings/jni/rvvm_jni.c +++ b/src/bindings/jni/rvvm_jni.c @@ -1,4 +1,5 @@ #include "tiny-jni.h" +#include "compiler.h" #include "utils.h" #include "rvvmlib.h" #include "devices/clint.h" @@ -14,6 +15,8 @@ #include "devices/framebuffer.h" #include "devices/hid_api.h" +PUSH_OPTIMIZATION_SIZE + JNIEXPORT jint JNICALL Java_lekkit_rvvm_RVVMNative_get_1abi_1version(JNIEnv* env, jclass class) { UNUSED(env); UNUSED(class); @@ -326,3 +329,5 @@ JNIEXPORT void JNICALL Java_lekkit_rvvm_RVVMNative_hid_1keyboard_1release(JNIEnv UNUSED(env); UNUSED(class); hid_keyboard_release((hid_keyboard_t*)(size_t)kb, key); } + +POP_OPTIMIZATION_SIZE