Skip to content

Commit 988c4f0

Browse files
committed
RMG: correct CoreOpenRom() argument in NetplaySessionDialog.cpp
1 parent d217d0b commit 988c4f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/RMG/UserInterface/Dialog/Netplay/NetplaySessionDialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ void NetplaySessionDialog::on_buttonBox_clicked(QAbstractButton* button)
255255
QString cheatsJson = this->sessionJson.value("features").toObject().value("cheats").toString();
256256
QJsonDocument cheatsDocument = QJsonDocument::fromJson(cheatsJson.toUtf8());
257257

258-
if (!CoreOpenRom(this->sessionFile.toStdString()))
258+
if (!CoreOpenRom(this->sessionFile.toStdU32String()))
259259
{
260260
QtMessageBox::Error(this, "CoreOpenRom() Failed", QString::fromStdString(CoreGetError()));
261261
return;

0 commit comments

Comments
 (0)