mirror of
https://github.com/0ldsk00l/nestopia.git
synced 2024-06-16 03:08:11 -04:00
fix order of operations
This commit is contained in:
parent
185d7470f5
commit
aca778fb1b
|
@ -505,7 +505,7 @@ void nst_video_print(const char *text, int xpos, int ypos, int seconds, bool bg)
|
||||||
snprintf(osdtext.textbuf, sizeof(osdtext.textbuf), "%s", text);
|
snprintf(osdtext.textbuf, sizeof(osdtext.textbuf), "%s", text);
|
||||||
osdtext.xpos = xpos;
|
osdtext.xpos = xpos;
|
||||||
osdtext.ypos = ypos;
|
osdtext.ypos = ypos;
|
||||||
osdtext.drawtext = seconds * nst_pal() ? 50 : 60;
|
osdtext.drawtext = seconds * (nst_pal() ? 50 : 60);
|
||||||
osdtext.bg = bg;
|
osdtext.bg = bg;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue