part 2 of fix Linux invalid encoding

This commit is contained in:
WaluigiWare64 2020-07-24 18:25:07 +01:00 committed by GitHub
parent a5d9f69127
commit c351e777b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1426,7 +1426,7 @@ std::string extractROM(char* zipName, std::string zipDir){
//Write the file (binary mode)
std::ofstream(zipDir + "/" + newName, std::ofstream::binary).write((char*) contents, st.size);
delete[] contents;
return zipDir + "/" + st.name;
return zipDir + "/" + newName;
}
void MainWindow::onOpenFile()