There is at present a Wii-specific crash fix for the game The King of Fighters 2003 - on this platform, the kof2003Callback() function is copied from the 'latest' FBA code, while everywhere else it uses the 2012 version.
It turns out that this fix is required on all platforms. The 'old' implementation of this function includes memory access violations that cause undefined behaviour. It just so happened that this produced an obvious crash on the Wii, but silent corruption happens everywhere - sometimes the game just doesn't work properly, sometimes RetroArch crashes at a random point after closing the content. Nasty stuff.
This PR just removes the Wii-specific #ifdef, so The King of Fighters 2003 now works on all platforms.
There is at present a Wii-specific crash fix for the game
The King of Fighters 2003
- on this platform, thekof2003Callback()
function is copied from the 'latest' FBA code, while everywhere else it uses the 2012 version.It turns out that this fix is required on all platforms. The 'old' implementation of this function includes memory access violations that cause undefined behaviour. It just so happened that this produced an obvious crash on the Wii, but silent corruption happens everywhere - sometimes the game just doesn't work properly, sometimes RetroArch crashes at a random point after closing the content. Nasty stuff.
This PR just removes the Wii-specific
#ifdef
, soThe King of Fighters 2003
now works on all platforms.