a little improvement on stylus display (changed X pos slightly, and moved coordinate number display to the upper screen)
This commit is contained in:
parent
937246f64c
commit
72298e03f7
|
@ -631,8 +631,10 @@ static void openRecordingMovie(const char* fname)
|
|||
/*extern uint8 joy[4];
|
||||
memcpy(&cur_input_display,joy,4);*/
|
||||
|
||||
if (ShowInputDisplay && nds.isTouch)
|
||||
osd->addFixed(nds.touchX >> 4, (nds.touchY >> 4) + 192 , "%s %d %d", "X", nds.touchX >> 4, nds.touchY >> 4);
|
||||
if (ShowInputDisplay && nds.isTouch) {
|
||||
osd->addFixed((nds.touchX >> 4) - 4, (nds.touchY >> 4) + 192 - 8, "X");
|
||||
// osd->addFixed(nds.touchX >> 4, (nds.touchY >> 4) + 192 , "%s %d %d", "X", nds.touchX >> 4, nds.touchY >> 4);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1143,7 +1143,12 @@ DWORD WINAPI run()
|
|||
CallRegisteredLuaFunctions(LUACALL_BEFOREEMULATION);
|
||||
FCEUMOV_AddInputState();
|
||||
|
||||
if (ShowInputDisplay) osd->addFixed(Hud.InputDisplay.x, Hud.InputDisplay.y, "%s",InputDisplayString.c_str());
|
||||
if (ShowInputDisplay) {
|
||||
std::stringstream ss;
|
||||
if(nds.isTouch)
|
||||
ss << (nds.touchX >> 4) << " " << (nds.touchY >> 4);
|
||||
osd->addFixed(Hud.InputDisplay.x, Hud.InputDisplay.y, "%s",(InputDisplayString += ss.str()).c_str());
|
||||
}
|
||||
|
||||
{
|
||||
Lock lock;
|
||||
|
|
Loading…
Reference in New Issue