notaz.gp2x.de
/
ginge.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
better port to newer libpicofe
[ginge.git]
/
loader
/
host.c
diff --git
a/loader/host.c
b/loader/host.c
index
fc7a829
..
546839c
100644
(file)
--- a/
loader/host.c
+++ b/
loader/host.c
@@
-1,17
+1,20
@@
-// vim:shiftwidth=2:expandtab
-
+/*
+ * GINGE - GINGE Is Not Gp2x Emulator
+ * (C) notaz, 2010-2011,2015
+ *
+ * This work is licensed under the MAME license, see COPYING file for details.
+ */
#define _GNU_SOURCE 1 // for plat.c
#include <stdio.h>
#include <stdarg.h>
#define _GNU_SOURCE 1 // for plat.c
#include <stdio.h>
#include <stdarg.h>
+#include <linux/input.h>
+
+#include "../common/libpicofe/input.h"
+#include "../common/libpicofe/linux/in_evdev.h"
#include "header.h"
#include "realfuncs.h"
#include "header.h"
#include "realfuncs.h"
-#define IN_EVDEV
-#include "../common/libpicofe/input.c"
-#include "../common/libpicofe/linux/plat.c"
-#include "../common/libpicofe/linux/in_evdev.c"
-
#ifdef PND
#include "host_pnd.c"
#elif defined(WIZ)
#ifdef PND
#include "host_pnd.c"
#elif defined(WIZ)
@@
-24,6
+27,7
@@
char **g_argv;
int host_init(void)
{
in_init();
int host_init(void)
{
in_init();
+ host_init_input();
in_probe();
return 0;
in_probe();
return 0;
@@
-49,3
+53,5
@@
void host_forced_exit(void)
system("killall -9 ginge_sloader");
exit(1);
}
system("killall -9 ginge_sloader");
exit(1);
}
+
+// vim:shiftwidth=2:expandtab