From 1a692c742ed343d2f435759a191af6bec3d8b03e Mon Sep 17 00:00:00 2001 From: John Tsiombikas Date: Mon, 26 Jun 2023 18:50:10 +0300 Subject: [PATCH] vid_blitfb() --- vidsys.c | 5 +++++ vidsys.h | 2 ++ 2 files changed, 7 insertions(+) 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_ */ -- 1.7.10.4