aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/gdi/gfbdc.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gdi/gfbdc.cpp b/lib/gdi/gfbdc.cpp
index d2f8dad2..80dd2479 100644
--- a/lib/gdi/gfbdc.cpp
+++ b/lib/gdi/gfbdc.cpp
@@ -131,6 +131,7 @@ void gFBDC::exec(gOpcode *o)
++t;
+ fb->blit();
fb->waitVSync();
break;
}
@@ -188,7 +189,7 @@ void gFBDC::setResolution(int xres, int yres)
surface.data = fb->lfb;
surface.offset = 0;
- surface.data_phys = 50*1024*1024; // FIXME
+ surface.data_phys = fb->getPhysAddr();
int fb_size = surface.stride * surface.y;