libretro: Work around crash in RetroArch Vulkan driver

This commit is contained in:
Connor McLaughlin
2020-11-25 23:06:39 +10:00
parent 917fa5dd0e
commit b45bee5954
7 changed files with 34 additions and 25 deletions

View File

@ -138,11 +138,11 @@ bool Boot(const SystemBootParameters& params);
void Reset();
void Shutdown();
bool LoadState(ByteStream* state);
bool LoadState(ByteStream* state, bool update_display = true);
bool SaveState(ByteStream* state, u32 screenshot_size = 128);
/// Recreates the GPU component, saving/loading the state so it is preserved. Call when the GPU renderer changes.
bool RecreateGPU(GPURenderer renderer);
bool RecreateGPU(GPURenderer renderer, bool update_display = true);
void RunFrame();