libretro / gpsp

gpSP for libretro.
GNU General Public License v2.0
55 stars 53 forks source link

Ensure post processing configuration is correctly reset in retro_deinit() #109

Closed jdgleaver closed 3 years ago

jdgleaver commented 3 years ago

At present, the second time that content is loaded with the core on dynamic platforms, the Color Correction and Interframe Blending options are ignored (i.e. they are always set to disabled). This is a previously hidden bug (which should never occur on dynamic platforms...), and it seems to be platform-dependent: the core has always functioned correctly in the past, and it still functions correctly on half my devices. It is likely that an OS (glibc) update has revealed the underlying issue...

This PR simply ensures that the video post processing configuration is properly reset inside retro_deinit(). This 'forces' correct initialisation each time the core is loaded.