Closed Rosalie241 closed 1 year ago
I would have manage to remove the use of bOSD
everywhere so you have no dead code when compiling with OSD=0
.
I would have manage to remove the use of
bOSD
everywhere so you have no dead code when compiling withOSD=0
.
Fixed
When compiling with
OSD=0
,OnScreenDisplay
isTrue
in the configuration file andvideo_plugin_render_callback
is called with0
, then taking a screenshot will fail.This patch fixes that issue, I do wonder if I should extend this patch to guard every OSD function call with a
#ifdef M64P_OSD
to prevent it having to access theOnScreenDisplay
option in the configuration file?