make diva.exe exit cleanly (with double-tap esc)

This commit is contained in:
somewhatlurker
2019-09-03 01:07:25 +10:00
parent 11c9f3bf1f
commit 82d0724403
2 changed files with 4 additions and 1 deletions
@@ -296,7 +296,7 @@ namespace TLAC::Components
inputKey = 0x20;
if (keyboard->IsDoubleTapped(VK_ESCAPE))
exit(0);
((void(*)(unsigned int, int, int))DOEXIT_ADDRESS)(0, 0, 0);
return inputKey;
}