This PR introduces a stubbed callback to handle LED commands. It's not hooked up to anything other than the log, but P-UAE doesn't check the return value of the RETRO_ENVIRONMENT_GET_LED_INTERFACE environment command, and crashes when it tries to use the invalid function pointer.
Needed to prevent P-UAE from segfaulting on the first frame.
Description
This PR introduces a stubbed callback to handle LED commands. It's not hooked up to anything other than the log, but P-UAE doesn't check the return value of the
RETRO_ENVIRONMENT_GET_LED_INTERFACE
environment command, and crashes when it tries to use the invalid function pointer.Needed to prevent P-UAE from segfaulting on the first frame.
How has this been tested?
From kodi.log:
With this patch, P-UAE successfully enters the game loop: