summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--merrifield/ips/tangier/TngCursorPlane.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/merrifield/ips/tangier/TngCursorPlane.cpp b/merrifield/ips/tangier/TngCursorPlane.cpp
index 8ce5af7..c229711 100644
--- a/merrifield/ips/tangier/TngCursorPlane.cpp
+++ b/merrifield/ips/tangier/TngCursorPlane.cpp
@@ -99,6 +99,11 @@ bool TngCursorPlane::setDataBuffer(BufferMapper& mapper)
cursorSize = w;
}
+#if ENABLE_ROTATION_180
+ dstX = mModeInfo.hdisplay - dstX - cursorSize;
+ dstY = mModeInfo.vdisplay - dstY - cursorSize;
+#endif
+
uint32_t cntr = 0;
if (64 <= cursorSize && cursorSize < 128) {
cursorSize = 64;