set environment as console if gamepad is detected

This commit is contained in:
minjaesong
2019-02-11 14:54:57 +09:00
parent 21d7b83f96
commit b9fbacad14
4 changed files with 30 additions and 27 deletions

View File

@@ -249,7 +249,7 @@ class BasicDebugInfoWindow : UICanvas() {
(Terrarum.WIDTH - 2 - totalHardwareName.length * 8).toFloat(), Terrarum.HEIGHT - 10f)
}
private val processorName = AppLoader.processor.replace(Regex(""" Processor|( CPU)? @ [0-9.]+GHz"""), "")
private val processorName = AppLoader.processor.replace(Regex(""" Processor|( CPU)? @ [0-9.]+GHz"""), "") + if (AppLoader.is32BitJVM) " (32-bit)" else ""
private val rendererName = AppLoader.renderer
private val totalHardwareName = "$processorName $rendererName"