wangyongj 2 роки тому
батько
коміт
cfa6bd02d7

+ 1 - 0
app/src/main/cpp/play_feature_delivery/play_feature_delivery.c

@@ -81,6 +81,7 @@ JNIEXPORT void JNICALL Java_com_retroarch_browser_retroactivity_RetroActivityCom
         (JNIEnv *env, jobject thiz){
     printf("C++:clickBack");
     command_event(CMD_EVENT_QUIT, NULL);
+    retroarch_menu_running();
 //    command_event()
 //    exitApp();
 //    android_app_destroy();

+ 5 - 0
app/src/main/java/com/xugame/gameconsole/preferences/UserPreferences.java

@@ -129,6 +129,11 @@ public class UserPreferences {
 
         config.setString("libretro_directory", coreDir);
 
+        //设置没有触摸屏
+        config.setString("input_overlay_enable", "false");
+        //设置扫描线
+        config.setString("video_filter", "/data/user/0/com.xugame.gameconsole/filters/video/Scanline2x.filt");
+
         int samplingRate = getOptimalSamplingRate(ctx);
         if (samplingRate != -1) {
             config.setInt("audio_out_rate", samplingRate);