Browse Source

Set SMS canvas at the right of the screen instead of having one black bar on each side (seems to be the most "natural" way to emulate it).

root 2 years ago
parent
commit
f95c82f1ff
1 changed files with 1 additions and 1 deletions
  1. 1 1
      platform/common/plat_sdl.c

+ 1 - 1
platform/common/plat_sdl.c

@@ -1592,7 +1592,7 @@ void plat_video_flip(void)
 
 			/* Copy sms game pixels */
 			int offset_y = (plat_sdl_screen->h - sms_game_screen->h)/2;
-			int offset_x = (plat_sdl_screen->w - sms_game_screen->w)/2 + 5;
+			int offset_x = (plat_sdl_screen->w - sms_game_screen->w)/2 + 1;
 			int y;
 			for(y=0; y<192; y++){
 				memcpy((uint16_t*)sms_game_screen->pixels + sms_game_screen->w*y,