diff --git a/src/nostalgia/player/main.cpp b/src/nostalgia/player/main.cpp index 93833bcc..6fad7364 100644 --- a/src/nostalgia/player/main.cpp +++ b/src/nostalgia/player/main.cpp @@ -43,7 +43,7 @@ int main() { #else #include -#include +#include std::vector loadFileBuff(const char *path) { auto file = fopen(path, "r"); @@ -64,7 +64,7 @@ int main(int argc, const char **argv) { if (argc > 1) { std::unique_ptr fs; std::vector rom; - std::string path = argv[1]; + const std::string path = argv[1]; const auto lastDot = path.find_last_of('.'); const std::string fsExt = lastDot != std::string::npos ? path.substr(lastDot) : ""; if (fsExt == ".oxfs") {