Fix pitch issue

This issue affects when running in vulkan driver
This commit is contained in:
retrowertz 2018-01-04 16:24:37 +08:00
parent f905c4d0f6
commit c0cf5646da
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ void retro_run(void)
else
frames = 0;
video_cb(frame_buf, VIDEO_WIDTH, VIDEO_HEIGHT, 0);
video_cb(frame_buf, VIDEO_WIDTH, VIDEO_HEIGHT, VIDEO_WIDTH * sizeof(uint32_t));
}
bool retro_load_game(const struct retro_game_info *info)