From: Toni Wilen Date: Sat, 19 Sep 2015 15:31:27 +0000 (+0300) Subject: Added missing cpu_to_32wu() implementation. Fixes VGA text mode in 16-bit depth. X-Git-Tag: 3200~60 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=ca365c2c2daf14b03ca9c5c1696e525a88f0c92b;p=francis%2Fwinuae.git Added missing cpu_to_32wu() implementation. Fixes VGA text mode in 16-bit depth. --- 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);