mirror of https://github.com/mgba-emu/mgba.git
Qt: Add save info to bug report logs
This commit is contained in:
parent
ae6b0ed1be
commit
0584d59bce
1
CHANGES
1
CHANGES
|
@ -70,6 +70,7 @@ Misc:
|
|||
- Qt: Add shortcuts to increment fast forward speed (mgba.io/i/2903)
|
||||
- Qt: Enable ROM preloading by default
|
||||
- Qt: Throttle fatal error dialogs
|
||||
- Qt: Add save info to bug report logs
|
||||
- Res: Port hq2x and OmniScale shaders from SameBoy
|
||||
- Res: Port NSO-gba-colors shader (closes mgba.io/i/2834)
|
||||
- Res: Update gba-colors shader (closes mgba.io/i/2976)
|
||||
|
|
|
@ -503,6 +503,14 @@ void ReportView::addGamepadInfo(QStringList& report) {
|
|||
}
|
||||
|
||||
void ReportView::addROMInfo(QStringList& report, CoreController* controller) {
|
||||
QFileInfo saveInfo(controller->savePath());
|
||||
if (saveInfo.exists()) {
|
||||
report << QString("Save file: %1").arg(redact(saveInfo.filePath()));
|
||||
report << QString("Save size: %1").arg(saveInfo.size());
|
||||
} else {
|
||||
report << QString("No save file");
|
||||
}
|
||||
|
||||
report << QString("Currently paused: %1").arg(yesNo[controller->isPaused()]);
|
||||
|
||||
mCore* core = controller->thread()->core;
|
||||
|
|
Loading…
Reference in New Issue