Build fix.

This commit is contained in:
harry 2024-05-04 23:08:34 -04:00
parent 4e57ca40ae
commit 4b36de6ec9
1 changed files with 1 additions and 1 deletions

View File

@ -1970,7 +1970,7 @@ void NetPlayClient::clientProcessMessage( void *msgBuf, size_t msgSize )
QFile tmpFile( tempPath ); QFile tmpFile( tempPath );
//tmpFile.setFileTemplate(QDir::tempPath() + QString("/tmpRom_XXXXXX.nes")); //tmpFile.setFileTemplate(QDir::tempPath() + QString("/tmpRom_XXXXXX.nes"));
tmpFile.open(QIODeviceBase::ReadWrite); tmpFile.open(QIODevice::ReadWrite);
QString filepath = tmpFile.fileName(); QString filepath = tmpFile.fileName();
printf("Dumping Temp Rom to: %s\n", tmpFile.fileName().toLocal8Bit().constData()); printf("Dumping Temp Rom to: %s\n", tmpFile.fileName().toLocal8Bit().constData());
tmpFile.write( romData, msgSize ); tmpFile.write( romData, msgSize );