diff --git a/.ruby-version b/.ruby-version index 276cbf9..860487c 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -2.3.0 +2.7.1 diff --git a/README.md b/README.md index 9b1e9dd..c028742 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,9 @@ Make sure to `bundle install` first and install required libraries. By default the emulator will run the boot rom, if you wish to skip it then add `--skip-boot` as an option. +## Try turning on the --jit and --enable-frozen-string-literal to get max fps +`RUBYOPT="--enable-frozen-string-literal --jit --jit-max-cache=100000 --jit-min-calls=3" bundle exec exe/waterfoul start ` + ## Requirements The [sdl2](https://www.libsdl.org/download-2.0.php) library is currenty used to render pixels. Most platforms have packages avaliable, else see [here](https://wiki.libsdl.org/Installation). This library is required and needs to be installed before you can run the emulator. diff --git a/lib/waterfoul/version.rb b/lib/waterfoul/version.rb index 9e36215..5810c60 100644 --- a/lib/waterfoul/version.rb +++ b/lib/waterfoul/version.rb @@ -1,3 +1,3 @@ module Waterfoul - VERSION = "0.1.0" + VERSION = "0.1.1" end diff --git a/waterfoul.gemspec b/waterfoul.gemspec index 635e87e..1249cf9 100644 --- a/waterfoul.gemspec +++ b/waterfoul.gemspec @@ -26,13 +26,13 @@ Gem::Specification.new do |spec| spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] - spec.add_development_dependency "bundler", "~> 1.10" - spec.add_development_dependency "rake", "~> 10.0" + spec.add_development_dependency "bundler", "~> 2.1" + spec.add_development_dependency "rake", "~> 13.0" spec.add_development_dependency "rspec" spec.add_development_dependency "byebug" spec.add_development_dependency "guard" spec.add_development_dependency "guard-rspec" spec.add_dependency "thor" - spec.add_dependency "ffi", "~> 1.9.14" + spec.add_dependency "ffi", "~> 1.12.2" end