mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-27 00:00:07 -06:00
it keeps going
This commit is contained in:
@ -28,17 +28,19 @@
|
||||
|
||||
namespace Ui { class ROMInfoDialog; }
|
||||
class ROMInfoDialog;
|
||||
class EmuInstance;
|
||||
namespace melonDS::NDSCart { class CartCommon; }
|
||||
|
||||
class ROMInfoDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit ROMInfoDialog(QWidget* parent, const melonDS::NDSCart::CartCommon& rom);
|
||||
explicit ROMInfoDialog(QWidget* parent);
|
||||
~ROMInfoDialog();
|
||||
|
||||
static ROMInfoDialog* currentDlg;
|
||||
static ROMInfoDialog* openDlg(QWidget* parent, const melonDS::NDSCart::CartCommon& rom)
|
||||
static ROMInfoDialog* openDlg(QWidget* parent)
|
||||
{
|
||||
if (currentDlg)
|
||||
{
|
||||
@ -46,7 +48,7 @@ public:
|
||||
return currentDlg;
|
||||
}
|
||||
|
||||
currentDlg = new ROMInfoDialog(parent, rom);
|
||||
currentDlg = new ROMInfoDialog(parent);
|
||||
currentDlg->open();
|
||||
return currentDlg;
|
||||
}
|
||||
@ -65,6 +67,7 @@ private slots:
|
||||
|
||||
private:
|
||||
Ui::ROMInfoDialog* ui;
|
||||
EmuInstance* emuInstance;
|
||||
|
||||
QImage iconImage;
|
||||
QTimeLine* iconTimeline;
|
||||
|
Reference in New Issue
Block a user