mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-09 12:31:40 +12:00
JNI driver: Add setAudioEnabled hook
This commit is contained in:
parent
b78450c88d
commit
1baf8a13ed
2 changed files with 6 additions and 1 deletions
|
@ -48,6 +48,11 @@ MAKE_SETTING(setAccurateShaderMulEnable, jboolean, accurateShaderMul)
|
|||
|
||||
#undef MAKE_SETTING
|
||||
|
||||
AlberFunction(void, setAudioEnabled)(JNIEnv* env, jobject obj, jboolean value) {
|
||||
emulator->getConfig().audioEnabled = value;
|
||||
emulator->setAudioEnabled(value);
|
||||
}
|
||||
|
||||
AlberFunction(void, Setup)(JNIEnv* env, jobject obj) {
|
||||
env->GetJavaVM(&jvm);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue