mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 00:33:34 +01:00
Add some paranoid checks around touch IDs that probably won't help #9647
Also adds LunaMoo to credits list.
This commit is contained in:
1 parent
4f6b9c1fd2
commit
9a1cd5a5e8
6 files changed
+9
-6
No files matched your search
+1
-1
@@ -197,7 +197,7 @@ static int ScreenDPI() {
|
||||
HDC screenDC = GetDC(nullptr);
|
||||
int dotsPerInch = GetDeviceCaps(screenDC, LOGPIXELSY);
|
||||
ReleaseDC(nullptr, screenDC);
|
||||
return dotsPerInch;
|
||||
return dotsPerInch ? dotsPerInch : 96;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user