diff options
author | WaluigiWare64 <68647953+WaluigiWare64@users.noreply.github.com> | 2020-07-24 18:25:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-24 18:25:07 +0100 |
commit | c351e777b443b588bc034546986557f7c0349d84 (patch) | |
tree | 8e9280dcb864d4b8bc4927a56b6508607360447f | |
parent | a5d9f6912742b33eab3e9dcee40be72a69cf94bb (diff) |
part 2 of fix Linux invalid encoding
-rw-r--r-- | src/frontend/qt_sdl/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/qt_sdl/main.cpp b/src/frontend/qt_sdl/main.cpp index c0268bc..a867dc6 100644 --- a/src/frontend/qt_sdl/main.cpp +++ b/src/frontend/qt_sdl/main.cpp @@ -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() |