diff options
Diffstat (limited to 'engines/lastexpress/game/state.h')
-rw-r--r-- | engines/lastexpress/game/state.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/lastexpress/game/state.h b/engines/lastexpress/game/state.h index 76a7cbc3f2..a1b67df476 100644 --- a/engines/lastexpress/game/state.h +++ b/engines/lastexpress/game/state.h @@ -632,7 +632,11 @@ public: Common::String toString() { Common::String ret = ""; - ret += Common::String::printf("Time: %d - Time delta: %d - Ticks: %d\n", time, timeDelta, timeTicks); + uint8 hours = 0; + uint8 minutes = 0; + getHourMinutes(time, &hours, &minutes); + + ret += Common::String::printf("Time: %d (%d:%d) - Time delta: %d - Ticks: %d\n", time, hours, minutes, timeDelta, timeTicks); ret += Common::String::printf("Brightness: %d - Volume: %d - UseBackup: %d\n", brightness, volume, sceneUseBackup); ret += Common::String::printf("Scene: %d - Scene backup: %d - Scene backup 2: %d\n", scene, sceneBackup, sceneBackup2); |