]> Chaos Git - vn/vndc.git/commit
As it turns out, setimg is actually based on NDS adapted coordinates by this formula...
authorchaoskagami <chaos.kagami@gmail.com>
Mon, 25 Aug 2014 05:28:01 +0000 (01:28 -0400)
committerchaoskagami <chaos.kagami@gmail.com>
Mon, 25 Aug 2014 05:28:01 +0000 (01:28 -0400)
commit71bc9818548897a91f03e724014466c3fc744e96
tree025b474baab01de6cc84049731b6cc9866471976
parente65ebe154486c4bd6af60bc0c418bae923055e16
As it turns out, setimg is actually based on NDS adapted coordinates by this formula: x = x * (width / 256) y = y * (height / 192). It appears that he was lazy when the Android port was made, and adapted coordinates got used rather than native in conversions.
external/include/zero/TextManager.hpp
external/include/zero/UDisplayable.hpp
external/src/zero/TextManager.cpp
external/src/zero/UDisplayable.cpp
vndc/src/Loop.cpp
vndc/src/op_setimg.cpp