mirror of https://github.com/mgba-emu/mgba.git
Qt: Add ROM filename and size to bug reporter
This commit is contained in:
parent
4c0294d7ff
commit
b6025e4108
2
CHANGES
2
CHANGES
|
@ -4,6 +4,8 @@ Emulation fixes:
|
|||
- GBA Memory: Fix loading Thumb savestates when in ARM mode
|
||||
Other fixes:
|
||||
- GBA: Fix FireRed revision misdetecting as a ROM hack
|
||||
Misc:
|
||||
- Qt: Add ROM filename and size to bug reporter
|
||||
|
||||
0.9.0: (2021-03-28)
|
||||
Features:
|
||||
|
|
|
@ -245,6 +245,11 @@ void ReportView::generateReport() {
|
|||
|
||||
{
|
||||
CoreController::Interrupter interrupter(controller);
|
||||
QFileInfo rom(window->windowFilePath());
|
||||
if (rom.exists()) {
|
||||
windowReport << QString("Filename: %1").arg(redact(rom.filePath()));
|
||||
windowReport << QString("Size: %1").arg(rom.size());
|
||||
}
|
||||
addROMInfo(windowReport, controller.get());
|
||||
|
||||
if (m_ui.includeSave->isChecked() && !m_ui.includeState->isChecked()) {
|
||||
|
|
Loading…
Reference in New Issue