notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
libretro: sound fix and a few options
[picodrive.git]
/
platform
/
common
/
plat_sdl.c
diff --git
a/platform/common/plat_sdl.c
b/platform/common/plat_sdl.c
index
8ea266f
..
600af45
100644
(file)
--- a/
platform/common/plat_sdl.c
+++ b/
platform/common/plat_sdl.c
@@
-17,10
+17,6
@@
#include "input_pico.h"
#include "version.h"
#include "input_pico.h"
#include "version.h"
-// FIXME: these 2 shouldn't be here
-static unsigned char PicoDraw2FB_[(8+320) * (8+240+8)];
-unsigned char *PicoDraw2FB = PicoDraw2FB_;
-
static void *shadow_fb;
static const struct in_default_bind in_sdl_defbinds[] = {
static void *shadow_fb;
static const struct in_default_bind in_sdl_defbinds[] = {
@@
-142,6
+138,7
@@
void plat_video_wait_vsync(void)
void plat_video_menu_enter(int is_rom_loaded)
{
plat_sdl_change_video_mode(g_menuscreen_w, g_menuscreen_h, 0);
void plat_video_menu_enter(int is_rom_loaded)
{
plat_sdl_change_video_mode(g_menuscreen_w, g_menuscreen_h, 0);
+ g_screen_ptr = shadow_fb;
}
void plat_video_menu_begin(void)
}
void plat_video_menu_begin(void)