aboutsummaryrefslogtreecommitdiff
path: root/shell/video/sdl
diff options
context:
space:
mode:
Diffstat (limited to 'shell/video/sdl')
-rw-r--r--shell/video/sdl/video_blit.h9
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;