X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=drivers%2Fsdl%2Fsdl.c;h=3f20ffe9a5f4814519a36bfeb9ab5d23a94414ce;hp=300916e800b924577543c300e8e45918293ed11d;hb=44343b8775fd8c9cfa1a2f865be369e09d1984ff;hpb=e4434f79e73411f4d069831cb813f7db1b1f933b diff --git a/drivers/sdl/sdl.c b/drivers/sdl/sdl.c index 300916e..3f20ffe 100644 --- a/drivers/sdl/sdl.c +++ b/drivers/sdl/sdl.c @@ -7,6 +7,7 @@ #include "../libpicofe/menu.h" #include "../libpicofe/input.h" #include "../libpicofe/in_sdl.h" +#include "../libpicofe/plat.h" #include "../../video.h" static const struct in_default_bind in_sdl_defbinds[] = { @@ -28,6 +29,8 @@ static SDL_Surface *screen; static char fps_str[32]; static SDL_Color psdl[256]; +struct plat_target plat_target; + static int changemode(int bpp) { const SDL_VideoInfo *vinf;