aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/qt_sdl
diff options
context:
space:
mode:
authorWaluigiWare64 <68647953+WaluigiWare64@users.noreply.github.com>2020-07-24 18:25:07 +0100
committerGitHub <noreply@github.com>2020-07-24 18:25:07 +0100
commitc351e777b443b588bc034546986557f7c0349d84 (patch)
tree8e9280dcb864d4b8bc4927a56b6508607360447f /src/frontend/qt_sdl
parenta5d9f6912742b33eab3e9dcee40be72a69cf94bb (diff)
part 2 of fix Linux invalid encoding
Diffstat (limited to 'src/frontend/qt_sdl')
-rw-r--r--src/frontend/qt_sdl/main.cpp2
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()