Fixed null shared::ptr dereference in RetroPlayer.cpp