diff --git a/src/movie.cpp b/src/movie.cpp index 7f22c57ef..69fbac161 100644 --- a/src/movie.cpp +++ b/src/movie.cpp @@ -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); + } } diff --git a/src/windows/main.cpp b/src/windows/main.cpp index f436e3c3f..7e04507fe 100644 --- a/src/windows/main.cpp +++ b/src/windows/main.cpp @@ -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;