diff options
-rw-r--r-- | boot.php | 2 | ||||
-rw-r--r-- | src/Gameboy/Core.php | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -6,7 +6,7 @@ use GameBoy\Core; use GameBoy\Keyboard; use GameBoy\Settings; -$rom = base64_decode(file_get_contents('drmario.rom')); +$rom = base64_decode(file_get_contents('pokemon.rom')); $core = new Core($rom); $keyboard = new Keyboard($core); diff --git a/src/Gameboy/Core.php b/src/Gameboy/Core.php index 2ff3ff8..83405b6 100644 --- a/src/Gameboy/Core.php +++ b/src/Gameboy/Core.php @@ -1492,7 +1492,7 @@ class Core Settings::$settings[4]--; } } - $this->lastIteration = (int) (microtime() * 1000); + $this->lastIteration = (int) (microtime(true) * 1000); } } |