From e7c3cd6a2fd4b321ccdab23c59f602816f0acfb1 Mon Sep 17 00:00:00 2001 From: pk-2000 <63214388+pk-2000@users.noreply.github.com> Date: Wed, 1 Sep 2021 18:38:36 +0300 Subject: [PATCH] Resolution change for RGSS1 removes the resolution restriction for the RGSS1 games --- binding-mri/graphics-binding.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/binding-mri/graphics-binding.cpp b/binding-mri/graphics-binding.cpp index 6b39697..766e22d 100644 --- a/binding-mri/graphics-binding.cpp +++ b/binding-mri/graphics-binding.cpp @@ -222,8 +222,8 @@ void graphicsBindingInit() INIT_GRA_PROP_BIND( FrameRate, "frame_rate" ); INIT_GRA_PROP_BIND( FrameCount, "frame_count" ); - if (rgssVer >= 2) - { + //if (rgssVer >= 2) + //{ _rb_define_module_function(module, "width", graphicsWidth); _rb_define_module_function(module, "height", graphicsHeight); _rb_define_module_function(module, "wait", graphicsWait); @@ -233,7 +233,7 @@ void graphicsBindingInit() _rb_define_module_function(module, "resize_screen", graphicsResizeScreen); INIT_GRA_PROP_BIND( Brightness, "brightness" ); - } + //} if (rgssVer >= 3) {