aboutsummaryrefslogtreecommitdiff
path: root/hw/display/ramfb.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/display/ramfb.c')
-rw-r--r--hw/display/ramfb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/display/ramfb.c b/hw/display/ramfb.c
index cd94940223..7ba07c80f6 100644
--- a/hw/display/ramfb.c
+++ b/hw/display/ramfb.c
@@ -57,7 +57,7 @@ static DisplaySurface *ramfb_create_display_surface(int width, int height,
}
size = (hwaddr)linesize * height;
- data = cpu_physical_memory_map(addr, &size, 0);
+ data = cpu_physical_memory_map(addr, &size, false);
if (size != (hwaddr)linesize * height) {
cpu_physical_memory_unmap(data, size, 0, 0);
return NULL;