hey look, more shit

This commit is contained in:
Arisotura
2024-05-18 11:45:31 +02:00
parent 10380320c5
commit 2fc1ae780b
12 changed files with 107 additions and 322 deletions

View File

@ -43,10 +43,9 @@ CheatsDialog::CheatsDialog(QWidget* parent) : QDialog(parent), ui(new Ui::Cheats
ui->setupUi(this);
setAttribute(Qt::WA_DeleteOnClose);
MainWindow* win = (MainWindow*)parent;
//
emuInstance = ((MainWindow*)parent)->getEmuInstance();
codeFile = ROMManager::GetCheatFile();
codeFile = emuInstance->getCheatFile();
QStandardItemModel* model = new QStandardItemModel();
ui->tvCodeList->setModel(model);