From cc878848a45db22abe284649c7e19f896a0abeb9 Mon Sep 17 00:00:00 2001 From: gameblabla Date: Tue, 8 Oct 2019 14:43:37 +0200 Subject: Fix up Retrostone support and other minor fixes. --- shell/video/sdl/video_blit.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'shell/video/sdl') diff --git a/shell/video/sdl/video_blit.h b/shell/video/sdl/video_blit.h index ea28ba9..b34518b 100644 --- a/shell/video/sdl/video_blit.h +++ b/shell/video/sdl/video_blit.h @@ -3,13 +3,10 @@ #include -#define HOST_WIDTH_RESOLUTION 320 -#define HOST_HEIGHT_RESOLUTION 240 +#define HOST_WIDTH_RESOLUTION sdl_screen->w +#define HOST_HEIGHT_RESOLUTION sdl_screen->h -#define INTERNAL_SNES_WIDTH_NTSC 256 -#define INTERNAL_SNES_HEIGHT_NTSC 224 - -extern SDL_Surface *screen, *backbuffer; +extern SDL_Surface *sdl_screen, *backbuffer; extern uint32_t width_of_surface; extern uint32_t* Draw_to_Virtual_Screen; -- cgit v1.2.3