diff --git a/core/hw/pvr/Renderer_if.cpp b/core/hw/pvr/Renderer_if.cpp index 07e72c2bc..e3a9a3745 100644 --- a/core/hw/pvr/Renderer_if.cpp +++ b/core/hw/pvr/Renderer_if.cpp @@ -367,7 +367,7 @@ void rend_start_render() #if HOST_OS==OS_WINDOWS && 0 printf("max: idx: %d, vtx: %d, op: %d, pt: %d, tr: %d, mvo: %d, modt: %d, ov: %d\n", max_idx, max_vtx, max_op, max_pt, max_tr, max_mvo, max_modt, ovrn); #endif - if (QueueRender(ctx) || settings.pvr.QueueRender) + if (QueueRender(ctx)) { palette_update(); #if !defined(TARGET_NO_THREADS) diff --git a/core/nullDC.cpp b/core/nullDC.cpp index 07d1ef1b5..2ebcc066d 100755 --- a/core/nullDC.cpp +++ b/core/nullDC.cpp @@ -311,7 +311,6 @@ void LoadSettings() settings.pvr.MaxThreads = cfgLoadInt("config", "pvr.MaxThreads", 3); settings.pvr.SynchronousRender = cfgLoadInt("config", "pvr.SynchronousRendering", 0); - settings.pvr.QueueRender = cfgLoadInt("config", "pvr.QueueRender", 0); settings.debug.SerialConsole = cfgLoadInt("config", "Debug.SerialConsoleEnabled", 0) != 0; @@ -369,7 +368,6 @@ void LoadCustom() settings.pvr.MaxThreads = cfgGameInt(reios_id, "pvr.MaxThreads", settings.pvr.MaxThreads); settings.pvr.SynchronousRender = cfgGameInt(reios_id, "pvr.SynchronousRendering", settings.pvr.SynchronousRender); - settings.pvr.QueueRender = cfgLoadInt(reios_id, "pvr.QueueRender", settings.pvr.QueueRender); } void SaveSettings() diff --git a/core/types.h b/core/types.h index 0dd5865ec..6aa8a3c6c 100644 --- a/core/types.h +++ b/core/types.h @@ -717,7 +717,6 @@ struct settings_t u32 MaxThreads; u32 SynchronousRender; - u32 QueueRender; string HashLogFile; string HashCheckFile; diff --git a/shell/android-studio/reicast/src/main/java/com/reicast/emulator/Emulator.java b/shell/android-studio/reicast/src/main/java/com/reicast/emulator/Emulator.java index 8dce5f646..1c211af5a 100644 --- a/shell/android-studio/reicast/src/main/java/com/reicast/emulator/Emulator.java +++ b/shell/android-studio/reicast/src/main/java/com/reicast/emulator/Emulator.java @@ -25,7 +25,6 @@ public class Emulator extends Application { public static final String pref_frameskip = "frame_skip"; public static final String pref_pvrrender = "pvr_render"; public static final String pref_syncedrender = "synced_render"; - public static final String pref_queuerender = "queue_render"; public static final String pref_modvols = "modifier_volumes"; public static final String pref_bootdisk = "boot_disk"; public static final String pref_usereios = "use_reios"; @@ -47,7 +46,6 @@ public class Emulator extends Application { public static int frameskip = 0; public static boolean pvrrender = false; public static boolean syncedrender = false; - public static boolean queuerender = false; public static boolean modvols = true; public static String bootdisk = "null"; public static boolean usereios = false; @@ -72,7 +70,6 @@ public class Emulator extends Application { Emulator.frameskip = mPrefs.getInt(pref_frameskip, frameskip); Emulator.pvrrender = mPrefs.getBoolean(pref_pvrrender, pvrrender); Emulator.syncedrender = mPrefs.getBoolean(pref_syncedrender, syncedrender); - Emulator.queuerender = mPrefs.getBoolean(pref_queuerender, queuerender); Emulator.modvols = mPrefs.getBoolean(pref_modvols, modvols); Emulator.bootdisk = mPrefs.getString(pref_bootdisk, bootdisk); Emulator.usereios = mPrefs.getBoolean(pref_usereios, usereios); @@ -101,7 +98,6 @@ public class Emulator extends Application { JNIdc.frameskip(Emulator.frameskip); JNIdc.pvrrender(Emulator.pvrrender ? 1 : 0); JNIdc.syncedrender(Emulator.syncedrender ? 1 : 0); - JNIdc.queuerender(Emulator.queuerender ? 1 : 0); JNIdc.modvols(Emulator.modvols ? 1 : 0); JNIdc.usereios(Emulator.usereios ? 1 : 0); JNIdc.bootdisk(Emulator.bootdisk); @@ -117,7 +113,6 @@ public class Emulator extends Application { JNIdc.frameskip(mPrefs.getInt(pref_frameskip, frameskip)); JNIdc.pvrrender(mPrefs.getBoolean(pref_pvrrender, pvrrender) ? 1 : 0); JNIdc.syncedrender(mPrefs.getBoolean(pref_syncedrender, syncedrender) ? 1 : 0); - JNIdc.queuerender(mPrefs.getBoolean(pref_queuerender, queuerender) ? 1 : 0); JNIdc.modvols(mPrefs.getBoolean(pref_modvols, modvols) ? 1 : 0); } diff --git a/shell/android-studio/reicast/src/main/java/com/reicast/emulator/config/OptionsFragment.java b/shell/android-studio/reicast/src/main/java/com/reicast/emulator/config/OptionsFragment.java index 54457eb33..5b3e5187a 100644 --- a/shell/android-studio/reicast/src/main/java/com/reicast/emulator/config/OptionsFragment.java +++ b/shell/android-studio/reicast/src/main/java/com/reicast/emulator/config/OptionsFragment.java @@ -455,15 +455,6 @@ public class OptionsFragment extends Fragment { synced_render.setChecked(mPrefs.getBoolean(Emulator.pref_syncedrender, Emulator.syncedrender)); synced_render.setOnCheckedChangeListener(synchronous); - OnCheckedChangeListener queued = new OnCheckedChangeListener() { - public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { - mPrefs.edit().putBoolean(Emulator.pref_queuerender, isChecked).apply(); - } - }; - CompoundButton queue_render = (CompoundButton) getView().findViewById(R.id.queuerender_option); - queue_render.setChecked(mPrefs.getBoolean(Emulator.pref_queuerender, Emulator.queuerender)); - queue_render.setOnCheckedChangeListener(queued); - OnCheckedChangeListener mod_volumes = new OnCheckedChangeListener() { public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { diff --git a/shell/android-studio/reicast/src/main/java/com/reicast/emulator/config/PGConfigFragment.java b/shell/android-studio/reicast/src/main/java/com/reicast/emulator/config/PGConfigFragment.java index 7789ac043..019bd2a5d 100644 --- a/shell/android-studio/reicast/src/main/java/com/reicast/emulator/config/PGConfigFragment.java +++ b/shell/android-studio/reicast/src/main/java/com/reicast/emulator/config/PGConfigFragment.java @@ -59,7 +59,6 @@ public class PGConfigFragment extends Fragment { private SeekBar frameSeek; private CompoundButton pvr_render; private CompoundButton synced_render; - private CompoundButton queue_render; private CompoundButton modifier_volumes; private CompoundButton interrupt_opt; @@ -99,7 +98,6 @@ public class PGConfigFragment extends Fragment { frameSeek = (SeekBar) getView().findViewById(R.id.frame_seekbar); pvr_render = (CompoundButton) getView().findViewById(R.id.render_option); synced_render = (CompoundButton) getView().findViewById(R.id.syncrender_option); - queue_render = (CompoundButton) getView().findViewById(R.id.queuerender_option); modifier_volumes = (CompoundButton) getView().findViewById(R.id.modvols_option); interrupt_opt = (CompoundButton) getView().findViewById(R.id.interrupt_option); } @@ -113,7 +111,6 @@ public class PGConfigFragment extends Fragment { .putInt(Emulator.pref_frameskip, frameSeek.getProgress()) .putBoolean(Emulator.pref_pvrrender, pvr_render.isChecked()) .putBoolean(Emulator.pref_syncedrender, synced_render.isChecked()) - .putBoolean(Emulator.pref_queuerender, queue_render.isChecked()) .putBoolean(Emulator.pref_modvols, modifier_volumes.isChecked()) .putBoolean(Emulator.pref_interrupt, interrupt_opt.isChecked()).apply(); showToastMessage(getActivity().getString(R.string.pgconfig_saved), Snackbar.LENGTH_SHORT); @@ -128,7 +125,6 @@ public class PGConfigFragment extends Fragment { .remove(Emulator.pref_frameskip) .remove(Emulator.pref_pvrrender) .remove(Emulator.pref_syncedrender) - .remove(Emulator.pref_queuerender) .remove(Emulator.pref_modvols) .remove(Emulator.pref_interrupt).apply(); showToastMessage(getActivity().getString(R.string.pgconfig_cleared), Snackbar.LENGTH_SHORT); @@ -180,7 +176,6 @@ public class PGConfigFragment extends Fragment { pvr_render.setChecked(mPrefs.getBoolean(Emulator.pref_pvrrender, Emulator.pvrrender)); synced_render.setChecked(mPrefs.getBoolean(Emulator.pref_syncedrender, Emulator.syncedrender)); - queue_render.setChecked(mPrefs.getBoolean(Emulator.pref_queuerender, Emulator.queuerender)); modifier_volumes.setChecked(mPrefs.getBoolean(Emulator.pref_modvols, Emulator.modvols)); interrupt_opt.setChecked(mPrefs.getBoolean(Emulator.pref_interrupt, Emulator.interrupt)); diff --git a/shell/android-studio/reicast/src/main/java/com/reicast/emulator/emu/JNIdc.java b/shell/android-studio/reicast/src/main/java/com/reicast/emulator/emu/JNIdc.java index a4f91cd6c..8dc38e99e 100644 --- a/shell/android-studio/reicast/src/main/java/com/reicast/emulator/emu/JNIdc.java +++ b/shell/android-studio/reicast/src/main/java/com/reicast/emulator/emu/JNIdc.java @@ -46,7 +46,6 @@ public final class JNIdc public static native void frameskip(int frames); public static native void pvrrender(int render); public static native void syncedrender(int sync); - public static native void queuerender(int queue); public static native void modvols(int volumes); public static native void bootdisk(String disk); public static native void usereios(int reios); diff --git a/shell/android-studio/reicast/src/main/jni/src/Android.cpp b/shell/android-studio/reicast/src/main/jni/src/Android.cpp index e32c8da48..8f8014e29 100644 --- a/shell/android-studio/reicast/src/main/jni/src/Android.cpp +++ b/shell/android-studio/reicast/src/main/jni/src/Android.cpp @@ -61,7 +61,6 @@ JNIEXPORT void JNICALL Java_com_reicast_emulator_emu_JNIdc_subdivide(JNIEnv *env JNIEXPORT void JNICALL Java_com_reicast_emulator_emu_JNIdc_frameskip(JNIEnv *env,jobject obj, jint frames) __attribute__((visibility("default"))); JNIEXPORT void JNICALL Java_com_reicast_emulator_emu_JNIdc_pvrrender(JNIEnv *env,jobject obj, jint render) __attribute__((visibility("default"))); JNIEXPORT void JNICALL Java_com_reicast_emulator_emu_JNIdc_syncedrender(JNIEnv *env,jobject obj, jint sync) __attribute__((visibility("default"))); -JNIEXPORT void JNICALL Java_com_reicast_emulator_emu_JNIdc_queuerender(JNIEnv *env,jobject obj, jint queue) __attribute__((visibility("default"))); JNIEXPORT void JNICALL Java_com_reicast_emulator_emu_JNIdc_modvols(JNIEnv *env,jobject obj, jint volumes) __attribute__((visibility("default"))); JNIEXPORT void JNICALL Java_com_reicast_emulator_emu_JNIdc_bootdisk(JNIEnv *env,jobject obj, jstring disk) __attribute__((visibility("default"))); JNIEXPORT void JNICALL Java_com_reicast_emulator_emu_JNIdc_usereios(JNIEnv *env,jobject obj, jint reios) __attribute__((visibility("default"))); @@ -153,11 +152,6 @@ JNIEXPORT void JNICALL Java_com_reicast_emulator_emu_JNIdc_syncedrender(JNIEnv * settings.pvr.SynchronousRender = sync; } -JNIEXPORT void JNICALL Java_com_reicast_emulator_emu_JNIdc_queuerender(JNIEnv *env,jobject obj, jint queue) -{ - settings.pvr.QueueRender = queue; -} - JNIEXPORT void JNICALL Java_com_reicast_emulator_emu_JNIdc_modvols(JNIEnv *env,jobject obj, jint volumes) { diff --git a/shell/android-studio/reicast/src/main/res/layout-v14/configure_fragment.xml b/shell/android-studio/reicast/src/main/res/layout-v14/configure_fragment.xml index 6ec1364fa..ea2a7c214 100644 --- a/shell/android-studio/reicast/src/main/res/layout-v14/configure_fragment.xml +++ b/shell/android-studio/reicast/src/main/res/layout-v14/configure_fragment.xml @@ -747,34 +747,6 @@ - - - - - - - - - - diff --git a/shell/android-studio/reicast/src/main/res/layout-v14/pgconfig_fragment.xml b/shell/android-studio/reicast/src/main/res/layout-v14/pgconfig_fragment.xml index 813580e62..37ddd9904 100644 --- a/shell/android-studio/reicast/src/main/res/layout-v14/pgconfig_fragment.xml +++ b/shell/android-studio/reicast/src/main/res/layout-v14/pgconfig_fragment.xml @@ -282,34 +282,6 @@ - - - - - - - - - - diff --git a/shell/android-studio/reicast/src/main/res/layout/configure_fragment.xml b/shell/android-studio/reicast/src/main/res/layout/configure_fragment.xml index 13f57ccb6..a4db93d49 100644 --- a/shell/android-studio/reicast/src/main/res/layout/configure_fragment.xml +++ b/shell/android-studio/reicast/src/main/res/layout/configure_fragment.xml @@ -747,34 +747,6 @@ - - - - - - - - - - diff --git a/shell/android-studio/reicast/src/main/res/layout/pgconfig_fragment.xml b/shell/android-studio/reicast/src/main/res/layout/pgconfig_fragment.xml index 06c765111..00a3db9d8 100644 --- a/shell/android-studio/reicast/src/main/res/layout/pgconfig_fragment.xml +++ b/shell/android-studio/reicast/src/main/res/layout/pgconfig_fragment.xml @@ -282,34 +282,6 @@ - - - - - - - - - - diff --git a/shell/android-studio/reicast/src/main/res/values/strings.xml b/shell/android-studio/reicast/src/main/res/values/strings.xml index b9d475c3a..2ca3cb1b8 100644 --- a/shell/android-studio/reicast/src/main/res/values/strings.xml +++ b/shell/android-studio/reicast/src/main/res/values/strings.xml @@ -48,7 +48,6 @@ Frameskip Value PVR Rendering (does nothing for now) Synchronous Rendering - Force Queue Rendering Enable Modifier Volumes Enable Delay Interrupt Show On-Screen FPS