mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-18 15:48:48 +00:00
SCI: kDrawControl now also fixes bad rects (fixes jones/vga)
svn-id: r45064
This commit is contained in:
parent
ec25df8e23
commit
caaac0130a
@ -674,7 +674,8 @@ void _k_GenericDrawControl(EngineState *s, reg_t controlObject, bool hilite) {
|
|||||||
const char **listEntries = NULL;
|
const char **listEntries = NULL;
|
||||||
bool isAlias = false;
|
bool isAlias = false;
|
||||||
|
|
||||||
rect = Common::Rect (x, y, (int16)GET_SEL32V(controlObject, nsRight), (int16)GET_SEL32V(controlObject, nsBottom));
|
kGraphCreateRect(x, y, GET_SEL32V(controlObject, nsRight), GET_SEL32V(controlObject, nsBottom), &rect);
|
||||||
|
|
||||||
if (!textReference.isNull())
|
if (!textReference.isNull())
|
||||||
text = segMan->getString(textReference);
|
text = segMan->getString(textReference);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user