Search
lxdream.org :: lxdream/src/gtkui/main_win.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gtkui/main_win.c
changeset 669:ab344e42bca9
prev668:c62dff190859
next671:a530ea88eebd
author nkeynes
date Mon May 12 10:00:13 2008 +0000 (14 years ago)
permissions -rw-r--r--
last change Cleanup most of the -Wall warnings (getting a bit sloppy...)
Convert FP code to use fixed banks rather than indirect pointer
(3-4% faster this way now)
file annotate diff log raw
1.1 --- a/src/gtkui/main_win.c Sun Apr 20 05:30:07 2008 +0000
1.2 +++ b/src/gtkui/main_win.c Mon May 12 10:00:13 2008 +0000
1.3 @@ -31,6 +31,8 @@
1.4 #include <X11/Xutil.h>
1.5
1.6 #include "lxdream.h"
1.7 +#include "dreamcast.h"
1.8 +#include "display.h"
1.9 #include "gtkui/gtkui.h"
1.10
1.11
1.12 @@ -192,7 +194,6 @@
1.13 static gboolean on_video_window_key_released( GtkWidget *widget, GdkEventKey *event,
1.14 gpointer user_data )
1.15 {
1.16 - main_window_t win = (main_window_t)user_data;
1.17 input_event_keyup( NULL, gtk_get_unmodified_keyval(event), 0 );
1.18 return TRUE;
1.19 }
1.20 @@ -201,6 +202,7 @@
1.21 gpointer user_data )
1.22 {
1.23 display_set_focused(event->in);
1.24 + return TRUE;
1.25 }
1.26
1.27 /*************************** Main window (frame) ******************************/
.