Show the Android "board name" in system information.

This commit is contained in:
Henrik Rydgård
2017-05-26 12:29:27 +02:00
parent d9695da3a5
commit be77ffd4e8
3 changed files with 8 additions and 1 deletions
+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()) {