Android: Move OSD out of the way when menu is open

https://bugs.dolphin-emu.org/issues/12256
This commit is contained in:
JosJuice
2020-09-12 17:56:47 +02:00
parent a7b9e6857b
commit 161f99b864
5 changed files with 50 additions and 2 deletions

View File

@ -671,6 +671,18 @@ JNIEXPORT jstring JNICALL Java_org_dolphinemu_dolphinemu_NativeLibrary_FormatSiz
return ToJString(env, UICommon::FormatSize(bytes, decimals));
}
JNIEXPORT void JNICALL Java_org_dolphinemu_dolphinemu_NativeLibrary_SetObscuredPixelsLeft(
JNIEnv* env, jobject obj, jint width)
{
OSD::SetObscuredPixelsLeft(width);
}
JNIEXPORT void JNICALL Java_org_dolphinemu_dolphinemu_NativeLibrary_SetObscuredPixelsTop(
JNIEnv* env, jobject obj, jint height)
{
OSD::SetObscuredPixelsTop(height);
}
#ifdef __cplusplus
}
#endif