aboutsummaryrefslogtreecommitdiff
path: root/hw/sm501_template.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/sm501_template.h')
-rw-r--r--hw/sm501_template.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/sm501_template.h b/hw/sm501_template.h
index d1ceef9cb6..2d4a3d8b48 100644
--- a/hw/sm501_template.h
+++ b/hw/sm501_template.h
@@ -120,7 +120,7 @@ static void glue(draw_hwc_line_, PIXEL_NAME)(SM501State * s, int crt,
/* get pixel value */
if (i % 4 == 0) {
- cpu_physical_memory_rw(cursor_addr, &bitset, 1, 0);
+ bitset = ldub_phys(cursor_addr);
cursor_addr++;
}
v = bitset & 3;