mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-03-07 19:51:51 +09:00
vm idle indicator
This commit is contained in:
@@ -201,6 +201,7 @@ class ProfilesMenu(parent: VMEmuExecutable, x: Int, y: Int, w: Int, h: Int) : Em
|
||||
batch.setColourBy { theVM?.isRunning == true }
|
||||
FONT.draw(batch, STR_PLAY, 398f, 382f)
|
||||
batch.setColourBy(Color.RED, Color.LIME) { (theVM?.peek(-90)?.and(-128) ?: 0.toByte()).toInt() != 0 }
|
||||
batch.setColourBy(Color.YELLOW, batch.color) { theVM?.isIdle?.get() == true }
|
||||
FONT.draw(batch, STR_POWER, 419f, 382f)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user