Skip to content

Commit

Permalink
Fix initial scanline option issue ...
Browse files Browse the repository at this point in the history
... wherein setting "Initial Scanline" core options removes bottom pixels instead.

reference issue:
libretro#7
  • Loading branch information
retro-wertz authored Nov 6, 2017
1 parent f545f82 commit cf4bbca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libretro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3074,7 +3074,7 @@ void retro_run(void)
video_frames++;
audio_frames += spec.SoundBufSize;

video_cb(surf->pixels, width, height, 704 * sizeof(uint32_t));
video_cb(surf->pixels + surf->pitchinpix * spec.DisplayRect.y, width, height, 704 * sizeof(uint32_t));

int16_t *interbuf = (int16_t*)&IBuffer;

Expand Down

0 comments on commit cf4bbca

Please sign in to comment.