summaryrefslogtreecommitdiff
path: root/emulators/gens/patches/patch-ao
diff options
context:
space:
mode:
authordillo <dillo@pkgsrc.org>2004-08-15 12:13:53 +0000
committerdillo <dillo@pkgsrc.org>2004-08-15 12:13:53 +0000
commit0271939835baa01bfdec89884a949aab570cfabd (patch)
tree58f3cc42ba83758de6b95854c78ec9e868f6e727 /emulators/gens/patches/patch-ao
parenta6cc430409b0f90a2b8e6ab6c3de1c9e6524648b (diff)
downloadpkgsrc-0271939835baa01bfdec89884a949aab570cfabd.tar.gz
Add support for playing back gmv movies (recording of previously
played game), based on http://bisqwit.iki.fi/src/Gens212a-moviepatch-jyzero,bisqwit.gz adapted to rc3 and cleaned up by me. More information and movies can be found at http://bisqwit.iki.fi/jutut/nesvideos/FrontPage.html Bump PKGREVISION.
Diffstat (limited to 'emulators/gens/patches/patch-ao')
-rw-r--r--emulators/gens/patches/patch-ao35
1 files changed, 35 insertions, 0 deletions
diff --git a/emulators/gens/patches/patch-ao b/emulators/gens/patches/patch-ao
new file mode 100644
index 00000000000..2b5d89da7a3
--- /dev/null
+++ b/emulators/gens/patches/patch-ao
@@ -0,0 +1,35 @@
+$NetBSD: patch-ao,v 1.1 2004/08/15 12:13:53 dillo Exp $
+
+--- src/gens/gtkui/glade/callbacks.c.orig 2004-05-18 22:36:26.000000000 +0200
++++ src/gens/gtkui/glade/callbacks.c
+@@ -49,7 +49,10 @@ on_open_rom_activate (
+ // if ((Check_If_Kaillera_Running())) return 0;
+ if (GYM_Playing) Stop_Play_GYM();
+ if (Get_Rom() != -1)
++ {
++ StopMovie();
+ sync_gens_ui();
++ }
+ }
+
+
+@@ -64,6 +67,7 @@ on_close_rom_activate (
+ if (Full_Screen) Set_Render( 0, -1, 1);
+ }
+ Free_Rom(Game);
++ StopMovie();
+ }
+
+
+@@ -480,6 +484,11 @@ on_perfect_synchro_activate (
+ {Change_SegaCD_Synchro();}
+
+ void
++on_play_movie_activate (GtkMenuItem *menuitem,
++ gpointer user_data)
++{PlayMovie();}
++
++void
+ on_enable_sound_activate (GtkMenuItem *menuitem,
+ gpointer user_data)
+ {Change_Sound();}