diff options
Diffstat (limited to 'games')
-rw-r--r-- | games/KoboDeluxe/distinfo | 3 | ||||
-rw-r--r-- | games/KoboDeluxe/patches/patch-kobo.cpp | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/games/KoboDeluxe/distinfo b/games/KoboDeluxe/distinfo index eb71590c43d..bc2b89072f6 100644 --- a/games/KoboDeluxe/distinfo +++ b/games/KoboDeluxe/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.7 2015/11/03 20:56:42 agc Exp $ +$NetBSD: distinfo,v 1.8 2019/10/08 16:13:12 ryoon Exp $ SHA1 (KoboDeluxe-0.5.1.tar.bz2) = bc49dbbae562baffd312444b373c7ebbf5e233c6 RMD160 (KoboDeluxe-0.5.1.tar.bz2) = b196054f2220fe1b479a490723b1f5da4e74aa1f @@ -6,3 +6,4 @@ SHA512 (KoboDeluxe-0.5.1.tar.bz2) = fc107e4367fd300574823aa40c68311d95de3a403d7c Size (KoboDeluxe-0.5.1.tar.bz2) = 1781752 bytes SHA1 (patch-enemies.h) = a3e9fb60581d7a7bcb079ceda5d1271f923470cd SHA1 (patch-enemy.cpp) = dbec6a60bb6a26cac66498584b3f100c6acd5f21 +SHA1 (patch-kobo.cpp) = 958b9b40caee7dc3d67edbe3b834eed5f2af6beb diff --git a/games/KoboDeluxe/patches/patch-kobo.cpp b/games/KoboDeluxe/patches/patch-kobo.cpp new file mode 100644 index 00000000000..4fa57aff937 --- /dev/null +++ b/games/KoboDeluxe/patches/patch-kobo.cpp @@ -0,0 +1,16 @@ +$NetBSD: patch-kobo.cpp,v 1.1 2019/10/08 16:13:12 ryoon Exp $ + +* Fix immediate pause + From https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=909244 + +--- kobo.cpp.orig 2007-12-24 05:59:02.000000000 +0000 ++++ kobo.cpp +@@ -1691,7 +1691,7 @@ void kobo_gfxengine_t::frame() + break; + case SDL_ACTIVEEVENT: + // Any type of focus loss should activate pause mode! +- if(!ev.active.gain) ++ if(!ev.active.gain && ev.active.state != SDL_APPINPUTFOCUS) + km.pause_game(); + break; + case SDL_QUIT: |