X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=drivers%2Fsdl%2Fsdl.c;h=2acbb9fd1298451488191dec1d0db7b95081e52b;hp=300916e800b924577543c300e8e45918293ed11d;hb=158d88bade9b4fc038e1c9cee3924f3c89a70caa;hpb=87e3eef5be4a5de92f97ee211ae4035d8d4b6494 diff --git a/drivers/sdl/sdl.c b/drivers/sdl/sdl.c index 300916e..2acbb9f 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; @@ -203,6 +206,11 @@ void GetBaseDirectory(char *BaseDirectory) strcpy(BaseDirectory, "fceultra"); } +void platform_get_def_rompath(char *buf, int size) +{ + buf[0] = 0; +} + void platform_finish(void) { SDL_Quit();