From: John Tsiombikas Date: Mon, 26 Jun 2023 15:50:10 +0000 (+0300) Subject: vid_blitfb() X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;ds=sidebyside;h=1a692c742ed343d2f435759a191af6bec3d8b03e;p=vidsys vid_blitfb() --- diff --git a/vidsys.c b/vidsys.c index d60c5f2..427dbb5 100644 --- a/vidsys.c +++ b/vidsys.c @@ -194,3 +194,8 @@ void vid_getpal(int idx, int count, struct vid_color *col) { cur_mode->ops.getpal(idx, count, col); } + +void vid_blitfb(void *fb, int vsync) +{ + cur_mode->ops.blitfb(fb, vsync); +} diff --git a/vidsys.h b/vidsys.h index f40b18d..cd2cfec 100644 --- a/vidsys.h +++ b/vidsys.h @@ -72,4 +72,6 @@ int vid_isbanked(void); void vid_setpal(int idx, int count, const struct vid_color *col); void vid_getpal(int idx, int count, struct vid_color *col); +void vid_blitfb(void *fb, int vsync); + #endif /* VIDSYS_VIDEO_H_ */