Supply some extra info in asserts (currently game ID and name).

Google Play Console can now show this along with the assert stacktrace.
This commit is contained in:
Henrik Rydgård committed 2022-12-17 22:14:47 +01:00
1 parent 4e41474e85
commit 800bc91a8a
3 files changed
+16 -1

No files matched your search

+2
View File
@@ -263,6 +263,8 @@ void EmuScreen::bootGame(const Path &filename) {
if (!info || info->pending)
return;
SetExtraAssertInfo((info->id + " " + info->GetTitle()).c_str());
if (!info->id.empty()) {
g_Config.loadGameConfig(info->id, info->GetTitle());
// Reset views in case controls are in a different place.