mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-21 05:09:46 -06:00
part 2 of fix Linux invalid encoding
This commit is contained in:
@ -1426,7 +1426,7 @@ std::string extractROM(char* zipName, std::string zipDir){
|
|||||||
//Write the file (binary mode)
|
//Write the file (binary mode)
|
||||||
std::ofstream(zipDir + "/" + newName, std::ofstream::binary).write((char*) contents, st.size);
|
std::ofstream(zipDir + "/" + newName, std::ofstream::binary).write((char*) contents, st.size);
|
||||||
delete[] contents;
|
delete[] contents;
|
||||||
return zipDir + "/" + st.name;
|
return zipDir + "/" + newName;
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::onOpenFile()
|
void MainWindow::onOpenFile()
|
||||||
|
Reference in New Issue
Block a user