diff --git a/src/nostalgia/tools/pack.cpp b/src/nostalgia/tools/pack.cpp index bda989e1..d3b5d7ef 100644 --- a/src/nostalgia/tools/pack.cpp +++ b/src/nostalgia/tools/pack.cpp @@ -7,9 +7,7 @@ */ #include -#include -#include -#include +#include #include #include #include @@ -23,8 +21,8 @@ using namespace ox; using namespace nostalgia::core; using namespace nostalgia::common; -ox::ValErr> loadFileBuff(QString path, ::size_t *sizeOut = nullptr) { - auto file = fopen(path.toUtf8(), "rb"); +ox::ValErr> loadFileBuff(std::string path, ::size_t *sizeOut = nullptr) { + auto file = fopen(path.c_str(), "rb"); if (file) { fseek(file, 0, SEEK_END); const auto size = ftell(file);