diff --git a/binding-mri/oneshot-binding.cpp b/binding-mri/oneshot-binding.cpp index b78292e..d8a5e02 100644 --- a/binding-mri/oneshot-binding.cpp +++ b/binding-mri/oneshot-binding.cpp @@ -83,8 +83,8 @@ RB_METHOD(oneshotGetWindowPos) int x, y; SDL_GetWindowPosition(shState->rtData().window, &x, &y); VALUE ary = rb_ary_new(); - rb_ary_push(ary,rb_fix_new(x)); - rb_ary_push(ary,rb_fix_new(y)); + rb_ary_push(ary, rb_int_new(x)); + rb_ary_push(ary, rb_int_new(y)); return ary; } diff --git a/make-oneshot-mac.sh b/make-oneshot-mac.sh index 2bd9ef2..31c4d81 100755 --- a/make-oneshot-mac.sh +++ b/make-oneshot-mac.sh @@ -1,6 +1,6 @@ #!/bin/sh -mac_version="0.3.1" +mac_version="0.3.2" # Generate makefile and build main + journal qmake MRIVERSION=2.3 diff --git a/patches/mac/Info.plist.in b/patches/mac/Info.plist.in index 4fe71cd..427598a 100755 --- a/patches/mac/Info.plist.in +++ b/patches/mac/Info.plist.in @@ -31,6 +31,6 @@ NSHumanReadableCopyright Copyright © 2017, OneShot team, all rights reserved. View CREDITS.txt for more. Ported for macOS by Vinyl Darkscratch. NSHighResolutionCapable - False + True