Skip to content

Commit

Permalink
调整
Browse files Browse the repository at this point in the history
  • Loading branch information
Vera-Firefly committed Nov 1, 2024
1 parent 62a3dca commit 2316300
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package net.kdt.pojavlaunch.prefs.screens;

import static net.kdt.pojavlaunch.prefs.LauncherPreferences.PREF_NOTCH_SIZE;
import static net.kdt.pojavlaunch.prefs.LauncherPreferences.PREF_ZINK_PREFER_SYSTEM_DRIVER;

import android.app.Activity;
import android.content.Intent;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -310,8 +310,6 @@ public static void setJavaEnvironment(String jreHome) throws Throwable {
Log.d("DynamicLoader", "Base LD_LIBRARY_PATH: " + LD_LIBRARY_PATH);
Log.d("DynamicLoader", "Internal LD_LIBRARY_PATH: " + jvmLibraryPath + ":" + LD_LIBRARY_PATH);
setLdLibraryPath(jvmLibraryPath + ":" + LD_LIBRARY_PATH);

// return ldLibraryPath;
}

public static void setRendererConfig(String localLibrary) throws Throwable {
Expand Down
19 changes: 14 additions & 5 deletions app_pojavlauncher/src/main/res/xml/pref_video.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
android:key="renderer"
android:defaultValue="opengles2"
android:icon="@drawable/ic_setting_engine"
app2:useSimpleSummaryProvider="true"/>
app2:useSimpleSummaryProvider="true"
/>

<androidx.preference.SwitchPreferenceCompat
android:defaultValue="false"
Expand Down Expand Up @@ -48,20 +49,23 @@
android:title="@string/mcl_setting_title_use_surface_view"
app2:iconSpaceReserved="false"
/>

<androidx.preference.SwitchPreferenceCompat
android:defaultValue="false"
android:key="force_vsync"
android:summary="@string/preference_force_vsync_description"
android:title="@string/preference_force_vsync_title"
app2:iconSpaceReserved="false"
/>

<androidx.preference.SwitchPreferenceCompat
android:defaultValue="true"
android:key="vsync_in_zink"
android:summary="@string/preference_vsync_in_zink_description"
android:title="@string/preference_vsync_in_zink_title"
app2:iconSpaceReserved="false"
/>

</PreferenceCategory>

<PreferenceCategory
Expand All @@ -73,14 +77,16 @@
android:key="dump_shaders"
android:title="@string/preference_shader_dump_title"
android:summary="@string/preference_shader_dump_description"
app2:iconSpaceReserved="false"/>
app2:iconSpaceReserved="false"
/>

<SwitchPreference
android:defaultValue="false"
android:key="bigCoreAffinity"
android:title="@string/preference_force_big_core_title"
android:summary="@string/preference_force_big_core_desc"
app2:iconSpaceReserved="false"/>
app2:iconSpaceReserved="false"
/>

<com.firefly.ui.prefs.ChooseTurnipListPref
android:defaultValue="default"
Expand All @@ -98,14 +104,16 @@
android:key="zinkPreferSystemDriver"
android:summary="@string/preference_vulkan_driver_system_description"
android:title="@string/preference_vulkan_driver_system_title"
app2:iconSpaceReserved="false"/>
app2:iconSpaceReserved="false"
/>

<SwitchPreference
android:defaultValue="false"
android:key="q3behavior"
android:title="@string/preference_fix_q3_behavior_title"
android:summary="@string/preference_fix_q3_behavior_desc"
app2:iconSpaceReserved="false"/>
app2:iconSpaceReserved="false"
/>

</PreferenceCategory>

Expand Down Expand Up @@ -229,4 +237,5 @@
/>

</PreferenceCategory>

</PreferenceScreen>

0 comments on commit 2316300

Please sign in to comment.