mirror of
https://github.com/libretro/beetle-pce-fast-libretro.git
synced 2024-12-04 06:03:32 +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 width = spec.DisplayRect.w & ~0x1;
|
||||||
unsigned height = spec.DisplayRect.h;
|
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++;
|
video_frames++;
|
||||||
audio_frames += spec.SoundBufSize;
|
audio_frames += spec.SoundBufSize;
|
||||||
|
Loading…
Reference in New Issue
Block a user