summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--boot.php2
-rw-r--r--src/Gameboy/Core.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/boot.php b/boot.php
index ef2d8b6..c052438 100644
--- a/boot.php
+++ b/boot.php
@@ -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);
}
}