summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--boot.php6
2 files changed, 7 insertions, 1 deletions
diff --git a/README.md b/README.md
index 06812f0..3b26dc2 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-<p align="center"><img src="https://www.dropbox.com/s/hi6hmiv6ygs950o/HsaaQZKHrA.gif?dl=1" width="560" alt="PHP Terminal GameBoy Emulator" /></p>
+<p align="center"><img src="https://cloud.githubusercontent.com/assets/2197005/13260438/2f6e96ac-da3a-11e5-86cf-bbfa15083f74.gif" width="560" alt="PHP Terminal GameBoy Emulator" /></p>
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat)](http://gabrielrcouto.mit-license.org/)
diff --git a/boot.php b/boot.php
index c7eb425..b652f0d 100644
--- a/boot.php
+++ b/boot.php
@@ -20,6 +20,12 @@ if (!file_exists($filename)) {
throw new RuntimeException(sprintf('"%s" does not exist', $filename));
}
+if (extension_loaded('xdebug')) {
+ fwrite(STDERR, 'Running php-gameboy with Xdebug enabled reduces its speed considerably.'.PHP_EOL);
+ fwrite(STDERR, 'You should consider to disable it before execute php-gameboy.'.PHP_EOL);
+ sleep(1);
+}
+
$rom = file_get_contents($filename);
$canvas = new TerminalCanvas();