win32: more threading fixes, and fix a bug in stylus coordinate osd
This commit is contained in:
parent
11e417f55a
commit
2c3cef961c
|
@ -239,7 +239,7 @@ void DrawHUD()
|
|||
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());
|
||||
osd->addFixed(Hud.InputDisplay.x, Hud.InputDisplay.y, "%s",(InputDisplayString + ss.str()).c_str());
|
||||
TouchDisplay();
|
||||
}
|
||||
|
||||
|
|
|
@ -1858,6 +1858,9 @@ int _main()
|
|||
|
||||
MainWindow->Show(SW_NORMAL);
|
||||
run();
|
||||
|
||||
KillDisplay();
|
||||
|
||||
SaveRecentRoms();
|
||||
NDS_DeInit();
|
||||
DRV_AviEnd();
|
||||
|
@ -1894,8 +1897,6 @@ int _main()
|
|||
|
||||
delete MainWindow;
|
||||
|
||||
KillDisplay();
|
||||
|
||||
if (lpDDClipPrimary!=NULL) IDirectDraw7_Release(lpDDClipPrimary);
|
||||
if (lpPrimarySurface != NULL) IDirectDraw7_Release(lpPrimarySurface);
|
||||
if (lpBackSurface != NULL) IDirectDraw7_Release(lpBackSurface);
|
||||
|
|
Loading…
Reference in New Issue