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
Certain uses of the environment callback can only be done during retro_set_environment; however, users of the crate lack the ability to execute code during that callback. Out of several such options, the libretro_core! macro only handles SET_SUPPORT_NO_GAME. However, this approach requires updating the macro and trait every time a new option is added to the environment callback that can only be handled from retro_set_environment. A more flexible approach that'd support all current and future options would be to add a set_environment() function to RetroCore which the macro then calls.
The text was updated successfully, but these errors were encountered:
Certain uses of the environment callback can only be done during
retro_set_environment
; however, users of the crate lack the ability to execute code during that callback. Out of several such options, thelibretro_core!
macro only handlesSET_SUPPORT_NO_GAME
. However, this approach requires updating the macro and trait every time a new option is added to the environment callback that can only be handled fromretro_set_environment
. A more flexible approach that'd support all current and future options would be to add aset_environment()
function toRetroCore
which the macro then calls.The text was updated successfully, but these errors were encountered: