mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-04-23 06:32:03 +02:00
Fix brainfart in load_data
This commit is contained in:
parent
95e17244fd
commit
ee010c6d52
2 changed files with 2 additions and 2 deletions
|
@ -184,7 +184,7 @@ RB_METHOD(kernelLoadData) {
|
||||||
rb_raise(rb_eTypeError, "load_data: second argument must be Boolean");
|
rb_raise(rb_eTypeError, "load_data: second argument must be Boolean");
|
||||||
}
|
}
|
||||||
#if RAPI_MAJOR >= 2
|
#if RAPI_MAJOR >= 2
|
||||||
loadDataRubyArgs ldargs {RSTRING_PTR(filename), true};
|
loadDataRubyArgs ldargs {RSTRING_PTR(filename), RTEST(raw)};
|
||||||
return (VALUE)rb_thread_call_without_gvl([](void* args) -> void* {
|
return (VALUE)rb_thread_call_without_gvl([](void* args) -> void* {
|
||||||
return ((void*)call_kernelLoadDataInt_cb((loadDataRubyArgs*)args));
|
return ((void*)call_kernelLoadDataInt_cb((loadDataRubyArgs*)args));
|
||||||
}, (void*)&ldargs, 0, 0);
|
}, (void*)&ldargs, 0, 0);
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
</BuildableProductRunnable>
|
</BuildableProductRunnable>
|
||||||
</LaunchAction>
|
</LaunchAction>
|
||||||
<ProfileAction
|
<ProfileAction
|
||||||
buildConfiguration = "Release"
|
buildConfiguration = "Debug"
|
||||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||||
savedToolIdentifier = ""
|
savedToolIdentifier = ""
|
||||||
useCustomWorkingDirectory = "NO"
|
useCustomWorkingDirectory = "NO"
|
||||||
|
|
Loading…
Add table
Reference in a new issue