Show the Android "board name" in system information.

This commit is contained in:
Henrik Rydgård committed 2017-05-26 12:29:27 +02:00
1 parent d9695da3a5
commit be77ffd4e8
3 files changed
+8 -1

No files matched your search

+3
View File
@@ -359,6 +359,9 @@ void SystemInfoScreen::CreateViews() {
deviceSpecs->Add(new ItemHeader("System Information"));
deviceSpecs->Add(new InfoItem("Name", System_GetProperty(SYSPROP_NAME)));
deviceSpecs->Add(new InfoItem("Lang/Region", System_GetProperty(SYSPROP_LANGREGION)));
std::string board = System_GetProperty(SYSPROP_BOARDNAME);
if (!board.empty())
deviceSpecs->Add(new InfoItem("Board", board));
deviceSpecs->Add(new InfoItem("ABI", GetCompilerABI()));
#ifdef _WIN32
if (IsDebuggerPresent()) {