mirror of
https://github.com/libretro/beetle-pce-fast-libretro.git
synced 2024-12-03 13:40:49 +00:00
Merge pull request #7 from heuripedes/master
Skip uneeded scanlines (fixes #6)
This commit is contained in:
commit
24f71aadae
@ -1667,7 +1667,7 @@ void retro_run(void)
|
||||
unsigned width = spec.DisplayRect.w & ~0x1;
|
||||
unsigned height = spec.DisplayRect.h;
|
||||
|
||||
video_cb(surf->pixels16, width, height, FB_WIDTH << 1);
|
||||
video_cb(surf->pixels16 + surf->pitchinpix * spec.DisplayRect.y, width, height, FB_WIDTH << 1);
|
||||
|
||||
video_frames++;
|
||||
audio_frames += spec.SoundBufSize;
|
||||
|
Loading…
Reference in New Issue
Block a user