Search
lxdream.org :: lxdream/src/gtkui/gtkui.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gtkui/gtkui.c
changeset 669:ab344e42bca9
prev658:f5926310bfbe
next678:35eb00945316
author nkeynes
date Mon May 12 10:00:13 2008 +0000 (13 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/gtkui.c Wed Apr 16 12:43:52 2008 +0000
1.2 +++ b/src/gtkui/gtkui.c Mon May 12 10:00:13 2008 +0000
1.3 @@ -19,6 +19,7 @@
1.4 #include "lxdream.h"
1.5 #include <sys/time.h>
1.6 #include <time.h>
1.7 +#include <unistd.h>
1.8 #include <glib/gi18n.h>
1.9 #include <gtk/gtkversion.h>
1.10 #include "dreamcast.h"
1.11 @@ -319,15 +320,6 @@
1.12 return mmio_win;
1.13 }
1.14
1.15 -GtkWidget *gtk_gui_get_renderarea()
1.16 -{
1.17 - if( main_win == NULL ) {
1.18 - return NULL;
1.19 - } else {
1.20 - return main_window_get_renderarea(main_win);
1.21 - }
1.22 -}
1.23 -
1.24 /**
1.25 * Hook called when DC starts running. Just disables the run/step buttons
1.26 * and enables the stop button.
.