Closed ScrelliCopter closed 1 year ago
Application should close gracefully
Thread 1: EXC_BAD_ACCESS (code=1, address=0x1e0)
InitRenderDevice()
No response
master (01babfc)
Blit Release (Steam/XBOX 360/PS3)
Standard
Software Renderer
MacOS Ventura 13.4.1
Line in question: https://github.com/Rubberduckycooly/Sonic-CD-11-Decompilation/blob/01babfce7e9fc58960960012f03ad7a0aad6499c/RSDKv3/Drawing.cpp#L1035
This line probably shouldn't be called if there isn't a valid OpenGL context, adding
if (Engine.glContext)
before the loop fixed the issue.
Expected Behavior
Application should close gracefully
Actual Behavior
Thread 1: EXC_BAD_ACCESS (code=1, address=0x1e0)
Steps to Reproduce
InitRenderDevice()
doesn't get called (eg, rename Data.rsdk)Screenshots
No response
Log File
No response
Decompilation Version
master (01babfc)
Game Version
Blit Release (Steam/XBOX 360/PS3)
Game Revision
No response
Script Platform Type
Standard
Renderer Type
Software Renderer
Platform
MacOS Ventura 13.4.1
Additional Comments
Line in question: https://github.com/Rubberduckycooly/Sonic-CD-11-Decompilation/blob/01babfce7e9fc58960960012f03ad7a0aad6499c/RSDKv3/Drawing.cpp#L1035
This line probably shouldn't be called if there isn't a valid OpenGL context, adding
before the loop fixed the issue.