Fix Font.default_size binding in libretro builds

This commit is contained in:
刘皓 2025-04-17 11:34:42 -04:00
parent 35ffaff26e
commit e1c0e62aed
No known key found for this signature in database
GPG key ID: 7901753DB465B711

View file

@ -313,7 +313,7 @@ namespace mkxp_sandbox {
}
static VALUE get_default_size(VALUE self) {
return Font::getDefaultSize();
return sb()->bind<struct rb_ll2inum>()()(Font::getDefaultSize());
}
static VALUE set_default_size(VALUE self, VALUE value) {