mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-13 06:20:26 +02:00
Fix a crash in reporting without gpu set.
This commit is contained in:
1 parent
f4ed3745da
commit
33cd860de3
1 file changed
+2
-1
+2
-1
@@ -243,7 +243,8 @@ namespace Reporting
|
||||
Payload &payload = payloadBuffer[pos];
|
||||
|
||||
std::string gpuPrimary, gpuFull;
|
||||
gpu->GetReportingInfo(gpuPrimary, gpuFull);
|
||||
if (gpu)
|
||||
gpu->GetReportingInfo(gpuPrimary, gpuFull);
|
||||
|
||||
UrlEncoder postdata;
|
||||
postdata.Add("version", PPSSPP_GIT_VERSION);
|
||||
|
||||
Reference in new issue
Block a user