summaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/boot.php b/boot.php
index 70c4cc7..bba0021 100644
--- a/boot.php
+++ b/boot.php
@@ -1,11 +1,10 @@
<?php
-require_once __DIR__.'/vendor/autoload.php';
+require_once __DIR__ . '/vendor/autoload.php';
use GameBoy\Canvas\TerminalCanvas;
use GameBoy\Core;
use GameBoy\Keyboard;
-use GameBoy\Settings;
if (count($argv) < 2) {
echo 'You need to pass the ROM file name (Ex: drmario.rom)';
@@ -29,7 +28,6 @@ if ($core->stopEmulator & 2 == 2) {
}
} else if (($core->stopEmulator & 2) == 0) {
echo 'The GameBoy core is already running.' . PHP_EOL;
-}
-else {
+} else {
echo 'GameBoy core cannot run while it has not been initialized.' . PHP_EOL;
-} \ No newline at end of file
+}