mirror of
https://github.com/FunKey-Project/picodrive-irixxxx.git
synced 2026-01-13 23:38:51 +01:00
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).
This commit is contained in:
parent
ea989ad9bc
commit
f95c82f1ff
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user