You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I didn't dig any deeper than this since I'm pretty sure it's called by Lua internals. There's likely no reasonable way for us to work around the missing function.
Someone already posted an issue for this a few years back: XboxDev/nxdk#508. We will probably need to submit a PR to have any hope of getting this implemented for 1.6.0. Otherwise, we'll just have to disable Lua on OG Xbox.
Operating System
Other (please specify)
DevilutionX version
Custom build (please specify commit ID)
Describe
Platform: OG Xbox
Commit ID: 55a5337 (no release versions are affected)
The build for OG Xbox fails at startup with the following message.
To Reproduce
Expected Behavior
No response
Additional context
I added some trace logging and found that the assertion is raised here in
LuaInitialize()
.devilutionX/Source/lua/lua.cpp
Lines 218 to 229 in 55a5337
I didn't dig any deeper than this since I'm pretty sure it's called by Lua internals. There's likely no reasonable way for us to work around the missing function.
Someone already posted an issue for this a few years back: XboxDev/nxdk#508. We will probably need to submit a PR to have any hope of getting this implemented for 1.6.0. Otherwise, we'll just have to disable Lua on OG Xbox.
Here is the link to their stub for the function.
https://github.com/XboxDev/nxdk/blob/ed21e83da43b8b8da14a9a78cf2528d9b5df86a7/lib/xboxrt/libc_extensions/stdlib_ext_.c#L89-L93
Also, this isn't really necessary, but I did take a screenshot of the error earlier so I may as well share it.
The text was updated successfully, but these errors were encountered: