aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/renderer_vulkan/renderer_vulkan.cpp
diff options
context:
space:
mode:
authorswurl <swurl@swurl.xyz>2025-05-21 18:02:34 -0400
committerswurl <swurl@swurl.xyz>2025-05-21 18:02:34 -0400
commitc79b7f82c82f253f4aa1e2cd880e0efbd5bcaa54 (patch)
tree46490695e778454b25d1eeb8c770a4fcd0a9b4ef /src/video_core/renderer_vulkan/renderer_vulkan.cpp
parentb1b6e0064f65ab4fe386b0c6772ae73e51c1efc1 (diff)
added settings to android (#118)
Signed-off-by: Aleksandr Popovich <alekpopo@pm.me> Signed-off-by: swurl <swurl@swurl.xyz> Reviewed-on: #118 Co-authored-by: Aleksandr Popovich <alekpopo@pm.me> Co-authored-by: swurl <swurl@swurl.xyz> Co-committed-by: Aleksandr Popovich <alekpopo@pm.me>
Diffstat (limited to 'src/video_core/renderer_vulkan/renderer_vulkan.cpp')
-rw-r--r--src/video_core/renderer_vulkan/renderer_vulkan.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/video_core/renderer_vulkan/renderer_vulkan.cpp b/src/video_core/renderer_vulkan/renderer_vulkan.cpp
index 30f5ff7a75..dd22dadf42 100644
--- a/src/video_core/renderer_vulkan/renderer_vulkan.cpp
+++ b/src/video_core/renderer_vulkan/renderer_vulkan.cpp
@@ -202,7 +202,7 @@ RendererVulkan::~RendererVulkan() {
#ifdef __ANDROID__
class BooleanSetting {
public:
- static BooleanSetting FRAME_SKIPPING;
+// static BooleanSetting FRAME_SKIPPING;
static BooleanSetting FRAME_INTERPOLATION;
explicit BooleanSetting(bool initial_value = false) : value(initial_value) {}
@@ -219,13 +219,13 @@ class BooleanSetting {
};
// Initialize static members
- BooleanSetting BooleanSetting::FRAME_SKIPPING(false);
+// BooleanSetting BooleanSetting::FRAME_SKIPPING(false);
BooleanSetting BooleanSetting::FRAME_INTERPOLATION(false);
- extern "C" JNIEXPORT jboolean JNICALL
- Java_org_uzuy_uzuy_1emu_features_settings_model_BooleanSetting_isFrameSkippingEnabled(JNIEnv* env, jobject /* this */) {
- return static_cast<jboolean>(BooleanSetting::FRAME_SKIPPING.getBoolean());
- }
+// extern "C" JNIEXPORT jboolean JNICALL
+// Java_org_uzuy_uzuy_1emu_features_settings_model_BooleanSetting_isFrameSkippingEnabled(JNIEnv* env, jobject /* this */) {
+// return static_cast<jboolean>(BooleanSetting::FRAME_SKIPPING.getBoolean());
+// }
extern "C" JNIEXPORT jboolean JNICALL
Java_org_uzuy_uzuy_1emu_features_settings_model_BooleanSetting_isFrameInterpolationEnabled(JNIEnv* env, jobject /* this */) {
@@ -310,7 +310,7 @@ void RendererVulkan::Composite(std::span<const Tegra::FramebufferConfig> framebu
static int target_fps = 60; // Target FPS (30 or 60)
int frame_skip_threshold = 1;
- bool frame_skipping = BooleanSetting::FRAME_SKIPPING.getBoolean();
+ bool frame_skipping = false; //BooleanSetting::FRAME_SKIPPING.getBoolean();
bool frame_interpolation = BooleanSetting::FRAME_INTERPOLATION.getBoolean();
#endif