notaz.gp2x.de
/
libpicofe.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SVP: fix ARM breakage, re-add missing stuff
[libpicofe.git]
/
linux
/
gp2x.c
diff --git
a/linux/gp2x.c
b/linux/gp2x.c
index
17b294a
..
4da98a5
100644
(file)
--- a/
linux/gp2x.c
+++ b/
linux/gp2x.c
@@
-196,8
+196,7
@@
static void *xlib_threadf(void *targ)
XSetWMName(display, win, &windowName);
XSelectInput(display, win, ExposureMask |
XSetWMName(display, win, &windowName);
XSelectInput(display, win, ExposureMask |
- KeyPressMask |
- ButtonPressMask |
+ KeyPressMask | KeyReleaseMask |
StructureNotifyMask);
XMapWindow(display, win);
StructureNotifyMask);
XMapWindow(display, win);
@@
-389,7
+388,9
@@
void plat_video_menu_end(void)
void plat_validate_config(void)
{
void plat_validate_config(void)
{
+ extern int PicoOpt;
// PicoOpt &= ~POPT_EXT_FM;
// PicoOpt &= ~POPT_EXT_FM;
+ PicoOpt &= ~(1<<17); // POPT_EN_SVP_DRC
}
void plat_early_init(void)
}
void plat_early_init(void)
@@
-426,6
+427,7
@@
void *gp2x_video_setpalette = gp2x_video_setpalette_;
void *gp2x_video_RGB_setscaling = do_nothing;
void *gp2x_video_wait_vsync = do_nothing;
void *gp2x_set_cpuclk = do_nothing;
void *gp2x_video_RGB_setscaling = do_nothing;
void *gp2x_video_wait_vsync = do_nothing;
void *gp2x_set_cpuclk = do_nothing;
+void *gp2x_read_battery = do_nothing;
void *set_lcd_custom_rate = do_nothing;
void *unset_lcd_custom_rate = do_nothing;
void *set_lcd_gamma = do_nothing;
void *set_lcd_custom_rate = do_nothing;
void *unset_lcd_custom_rate = do_nothing;
void *set_lcd_gamma = do_nothing;