Need help with debugging a directx9 game crashing