From 55bacdc36739414283f3c4bf6bfe671fadc87940 Mon Sep 17 00:00:00 2001 From: maxcodehack Date: Tue, 15 Dec 2020 07:28:59 +0000 Subject: [PATCH] Fix blitter git-svn-id: svn://kolibrios.org@8412 a494cfbc-eb01-0410-851d-a64ba20cac60 --- contrib/media/updf_newlib/apps/kolibri.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/contrib/media/updf_newlib/apps/kolibri.c b/contrib/media/updf_newlib/apps/kolibri.c index e4e2059561..3471e445cf 100755 --- a/contrib/media/updf_newlib/apps/kolibri.c +++ b/contrib/media/updf_newlib/apps/kolibri.c @@ -469,9 +469,7 @@ struct blit_call void kos_blit(int dstx, int dsty, int w, int h, int srcx, int srcy,int srcw, int srch, int stride, char *d) { - // Page fault - /* - struct blit_call image; + volatile struct blit_call image; image.dstx=dstx; image.dsty=dsty; image.w=w; @@ -483,6 +481,6 @@ void kos_blit(int dstx, int dsty, int w, int h, int srcx, image.stride=stride; image.d=d; asm("int $0x40"::"a"(73),"b"(0),"c"(&image)); - */ + }