[gnome-games/wip/exalm/dos] DOS



commit f0758e1d624f706df49a90d3fbcf3d88d8bbc3e9
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Thu Apr 9 23:23:47 2020 +0500

    DOS

 data/options/dosbox_svn.options                 | 8 ++++++++
 data/options/meson.build                        | 1 +
 flatpak/libretro-cores/libretro-dosbox_svn.json | 4 ++--
 flatpak/org.gnome.Games.json                    | 5 +++--
 src/retro/retro-runner.vala                     | 1 +
 src/ui/display-view.vala                        | 8 --------
 6 files changed, 15 insertions(+), 12 deletions(-)
---
diff --git a/data/options/dosbox_svn.options b/data/options/dosbox_svn.options
new file mode 100644
index 00000000..6e936077
--- /dev/null
+++ b/data/options/dosbox_svn.options
@@ -0,0 +1,8 @@
+[Options]
+dosbox_svn_memory_size=32
+dosbox_svn_cpu_cycles_mode=fixed
+dosbox_svn_cpu_cycles_multiplier=100000
+dosbox_svn_cpu_cycles=3
+dosbox_svn_cpu_cycles_multiplier_fine=1000
+dosbox_svn_cpu_cycles_fine=0
+dosbox_svn_core_timing=external
diff --git a/data/options/meson.build b/data/options/meson.build
index 32a33ac6..6fa292c4 100644
--- a/data/options/meson.build
+++ b/data/options/meson.build
@@ -1,6 +1,7 @@
 options_files = [
   'desmume.options',
   'desmume2015.options',
+  'dosbox_svn.options',
   'pcsx_rearmed.options',
 ]
 
diff --git a/flatpak/libretro-cores/libretro-dosbox_svn.json b/flatpak/libretro-cores/libretro-dosbox_svn.json
index f817b175..d6494aeb 100644
--- a/flatpak/libretro-cores/libretro-dosbox_svn.json
+++ b/flatpak/libretro-cores/libretro-dosbox_svn.json
@@ -18,8 +18,8 @@
             "sources": [
                 {
                     "type": "git",
-                    "url": "https://github.com/libretro/dosbox-svn.git";,
-                    "branch": "libretro"
+                    "url": "https://github.com/exalm/dosbox-svn.git";,
+                    "branch": "wip/exalm/dynarec"
                 },
                 {
                     "type": "file",
diff --git a/flatpak/org.gnome.Games.json b/flatpak/org.gnome.Games.json
index 6d665e3e..a35fea15 100644
--- a/flatpak/org.gnome.Games.json
+++ b/flatpak/org.gnome.Games.json
@@ -30,7 +30,7 @@
         /* Needed to be able to run desktop and Steam games */
         "--talk-name=org.freedesktop.Flatpak",
         /* Needed to find the ROMs */
-        "--filesystem=host:ro",
+        "--filesystem=host",
         /* Needed to find flatpaked Steam games */
         "--filesystem=~/.var/app/com.valvesoftware.Steam:ro",
         /* Settings migration */
@@ -226,7 +226,8 @@
             "sources" : [
                 {
                     "type" : "git",
-                    "url" : "https://gitlab.gnome.org/GNOME/retro-gtk.git";
+                    "url" : "https://gitlab.gnome.org/exalm/retro-gtk.git";,
+                    "branch" : "wip/exalm/kbd"
                 }
             ]
         },
diff --git a/src/retro/retro-runner.vala b/src/retro/retro-runner.vala
index 7a7cad29..50ed1b31 100644
--- a/src/retro/retro-runner.vala
+++ b/src/retro/retro-runner.vala
@@ -95,6 +95,7 @@ public class Games.RetroRunner : Object, Runner {
        construct {
                settings = new Settings ("org.gnome.Games");
                view = new Retro.CoreView ();
+//             view.can_grab_pointer = true;
 
                settings.changed["video-filter"].connect (on_video_filter_changed);
                on_video_filter_changed ();
diff --git a/src/ui/display-view.vala b/src/ui/display-view.vala
index 02cffb21..0ee63859 100644
--- a/src/ui/display-view.vala
+++ b/src/ui/display-view.vala
@@ -161,14 +161,6 @@ private class Games.DisplayView : Object, UiView {
                        return true;
                }
 
-               if (((event.state & default_modifiers) == Gdk.ModifierType.MOD1_MASK) &&
-                   (((window.get_direction () == Gtk.TextDirection.LTR) && keyval == Gdk.Key.Left) ||
-                    ((window.get_direction () == Gtk.TextDirection.RTL) && keyval == Gdk.Key.Right))) {
-                       on_display_back ();
-
-                       return true;
-               }
-
                if (runner == null)
                        return false;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]