Optomizations in OSD, more calls for megacd while OSD rendering.

This commit is contained in:
sorgelig
2019-12-02 02:16:47 +08:00
parent 7cde6e6b93
commit e56145f02d
6 changed files with 43 additions and 38 deletions

View File

@@ -116,6 +116,7 @@ void StarsUpdate()
}
framebuffer_plot(stars[i].x >> 4, stars[i].y >> 4);
}
osdset = -1;
}
@@ -702,6 +703,7 @@ void OsdUpdate()
spi_osd_cmd_cont(OSD_CMD_WRITE | i);
spi_write(osdbuf + i * 256, 256, 0);
DisableOsd();
if (is_megacd_core()) mcd_poll();
}
}