mirror of
https://git.planet-casio.com/Lephenixnoir/gint.git
synced 2025-04-04 09:37:10 +02:00
t6k11: use the gint array for variant detection r61524: use true triple buffering by default display: define DWIDTH and DHEIGHT display: add C_RGB(r,g,b) (0 ≤ r,g,b ≤ 31) [fxcg50]
19 lines
483 B
C
19 lines
483 B
C
#include <gint/display.h>
|
|
#include <display/cg.h>
|
|
//#include <gint/drivers/r61524.h>
|
|
|
|
/* dupdate() - Push the video RAM to the display driver */
|
|
void dupdate(void)
|
|
{
|
|
r61524_display(gint_vram, 0, 224, 1);
|
|
|
|
/* The DMA is still running, so we need to switch VRAMs to avoid
|
|
overwriting the data which is about to be sent. */
|
|
dvram_switch();
|
|
}
|
|
|
|
/* dupdate_noint() - Push VRAM to the display without interrupts */
|
|
void dupdate_noint(void)
|
|
{
|
|
r61524_display(gint_vram, 0, 224, 0);
|
|
}
|