mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 02:03:47 +01:00
Update native with better Moga version detection. Show moga version in System information on Android.
This commit is contained in:
1 parent
6a7e5d1cc2
commit
fdd297a982
3 files changed
+10
-1
No files matched your search
@@ -253,6 +253,14 @@ void SystemInfoScreen::CreateViews() {
|
||||
deviceSpecs->Add(new InfoItem("API Version", apiVersion));
|
||||
deviceSpecs->Add(new InfoItem("Shading Language", thin3d->GetInfoString(T3DInfo::SHADELANGVERSION)));
|
||||
|
||||
#ifdef ANDROID
|
||||
std::string moga = System_GetProperty(SYSPROP_MOGA_VERSION);
|
||||
if (moga.empty()) {
|
||||
moga = "(none detected)";
|
||||
}
|
||||
deviceSpecs->Add(new InfoItem("Moga", moga));
|
||||
#endif
|
||||
|
||||
#ifdef ANDROID
|
||||
char temp[256];
|
||||
sprintf(temp, "%dx%d", System_GetPropertyInt(SYSPROP_DISPLAY_XRES), System_GetPropertyInt(SYSPROP_DISPLAY_YRES));
|
||||
|
||||
Reference in new issue
Block a user