diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | boot.php | 6 |
2 files changed, 7 insertions, 1 deletions
@@ -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> [](http://gabrielrcouto.mit-license.org/) @@ -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(); |