Skip to content

Commit

Permalink
RMG: correct CoreOpenRom() argument in NetplaySessionDialog.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosalie241 committed Jan 30, 2025
1 parent d217d0b commit 988c4f0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ void NetplaySessionDialog::on_buttonBox_clicked(QAbstractButton* button)
QString cheatsJson = this->sessionJson.value("features").toObject().value("cheats").toString();
QJsonDocument cheatsDocument = QJsonDocument::fromJson(cheatsJson.toUtf8());

if (!CoreOpenRom(this->sessionFile.toStdString()))
if (!CoreOpenRom(this->sessionFile.toStdU32String()))
{
QtMessageBox::Error(this, "CoreOpenRom() Failed", QString::fromStdString(CoreGetError()));
return;
Expand Down

0 comments on commit 988c4f0

Please sign in to comment.