mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 15:30:35 +00:00
Don't crash in DeviceLost before game init.
This commit is contained in:
parent
b9862c29a0
commit
7d6538bd0b
@ -548,5 +548,6 @@ void EmuScreen::render() {
|
||||
|
||||
void EmuScreen::deviceLost() {
|
||||
ILOG("EmuScreen::deviceLost()");
|
||||
gpu->DeviceLost();
|
||||
if (gpu)
|
||||
gpu->DeviceLost();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user