static void convert(void *buf, size_t bytes)
{
unsigned int i, v, *p = buf;
static void convert(void *buf, size_t bytes)
{
unsigned int i, v, *p = buf;
static void vout_flip(const void *vram, int stride, int bgr24, int w, int h)
{
static void vout_flip(const void *vram, int stride, int bgr24, int w, int h)
{
- video_cb(vout_buf, game_width, game_height, game_width * 2);
+
+ video_cb(game_fb_dirty ? vout_buf : NULL, game_width, game_height, game_width * 2);
+ game_fb_dirty = 0;