From 35a4aac2cd734578df667d88302466e7134c11d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomislav=20Kopi=C4=87?= Date: Wed, 12 Jun 2024 12:08:51 +0000 Subject: [PATCH] Update CubeGotchi.ino --- CubeGotchi.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CubeGotchi.ino b/CubeGotchi.ino index 3e0b557..4722453 100644 --- a/CubeGotchi.ino +++ b/CubeGotchi.ino @@ -72,7 +72,7 @@ static void hal_sleep_until(timestamp_t ts) { if (remaining > 0) { delayMicroseconds(remaining); } - delayMicroseconds(8); // fixed delay to compensate for emulator time drifting + delayMicroseconds(18); // fixed delay to compensate for emulator time drifting #endif } @@ -334,7 +334,7 @@ void setup() { tamalib_register_hal(&hal); tamalib_set_framerate(TAMA_DISPLAY_FRAMERATE); - // Tamagochi clock init, if in game time goes too fast increase this value in increments of 16 + // Tamagochi clock init tamalib_init(1002700); #if defined(ENABLE_SAVE_STATUS) || defined(AUTO_SAVE_MINUTES) || defined(ENABLE_LOAD_STATE_FROM_EEPROM)