part 2 of fix Linux invalid encoding
This commit is contained in:
parent
a5d9f69127
commit
c351e777b4
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue