diff options
author | gameblabla | 2019-10-08 14:43:37 +0200 |
---|---|---|
committer | gameblabla | 2019-10-08 14:43:37 +0200 |
commit | cc878848a45db22abe284649c7e19f896a0abeb9 (patch) | |
tree | 8adc9d01f9fb6561beb86e9ef329d7c8cbd64c2f /shell/video/sdl | |
parent | d08ec6a5285e60c6a55c8f11117496be1b375559 (diff) | |
download | snesemu-cc878848a45db22abe284649c7e19f896a0abeb9.tar.gz snesemu-cc878848a45db22abe284649c7e19f896a0abeb9.tar.bz2 snesemu-cc878848a45db22abe284649c7e19f896a0abeb9.zip |
Fix up Retrostone support and other minor fixes.
Diffstat (limited to 'shell/video/sdl')
-rw-r--r-- | shell/video/sdl/video_blit.h | 9 |
1 files changed, 3 insertions, 6 deletions
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 <SDL/SDL.h> -#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; |