From ca365c2c2daf14b03ca9c5c1696e525a88f0c92b Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Sat, 19 Sep 2015 18:31:27 +0300 Subject: [PATCH] Added missing cpu_to_32wu() implementation. Fixes VGA text mode in 16-bit depth. --- qemuvga/qemuuaeglue.h | 1 + 1 file changed, 1 insertion(+) diff --git a/qemuvga/qemuuaeglue.h b/qemuvga/qemuuaeglue.h index 5d6c1d07..21b9f3c8 100644 --- a/qemuvga/qemuuaeglue.h +++ b/qemuvga/qemuuaeglue.h @@ -133,6 +133,7 @@ STATIC_INLINE int ldl_le_p(const void *ptr) } STATIC_INLINE void cpu_to_32wu(uint32_t *p, uint32_t v) { + stl_le_p(p, v); } void graphic_hw_update(QemuConsole *con); -- 2.47.3