diff --git a/src/fs/CFile.cpp b/src/fs/CFile.cpp index c048892..c2a7ae6 100644 --- a/src/fs/CFile.cpp +++ b/src/fs/CFile.cpp @@ -45,7 +45,7 @@ int32_t CFile::open(const std::string & filepath, eOpenTypes mode) { openMode = O_RDWR; break; case Append: // append to file, file will be created if missing. write only - openMode = O_CREATE | O_APPEND | O_WRONLY; + openMode = O_CREAT | O_APPEND | O_WRONLY; break; } diff --git a/src/menu/HomebrewLaunchWindow.cpp b/src/menu/HomebrewLaunchWindow.cpp index 4908ee1..7ac6663 100644 --- a/src/menu/HomebrewLaunchWindow.cpp +++ b/src/menu/HomebrewLaunchWindow.cpp @@ -20,6 +20,7 @@ #include "fs/DirList.h" #include "fs/FSUtils.h" #include "utils/HomebrewXML.h" +#include "resources/Resources.h" #include "utils/utils.h" #include "Application.h" diff --git a/src/menu/HomebrewWindow.cpp b/src/menu/HomebrewWindow.cpp index ef911ea..f05c394 100644 --- a/src/menu/HomebrewWindow.cpp +++ b/src/menu/HomebrewWindow.cpp @@ -21,6 +21,7 @@ #include "fs/FSUtils.h" #include "system/AsyncDeleter.h" #include "utils/HomebrewXML.h" +#include "resources/Resources.h" #include "utils/utils.h" #include "utils/logger.h" #include "HomebrewLaunchWindow.h" diff --git a/src/menu/MainWindow.cpp b/src/menu/MainWindow.cpp index 8227361..668303b 100644 --- a/src/menu/MainWindow.cpp +++ b/src/menu/MainWindow.cpp @@ -18,6 +18,7 @@ #include "Application.h" #include "utils/StringTools.h" #include "utils/logger.h" +#include "resources/Resources.h" MainWindow::MainWindow(int w, int h) diff --git a/src/menu/ProgressWindow.cpp b/src/menu/ProgressWindow.cpp index b11cd30..8eb0aa1 100644 --- a/src/menu/ProgressWindow.cpp +++ b/src/menu/ProgressWindow.cpp @@ -15,6 +15,7 @@ * along with this program. If not, see . ****************************************************************************/ #include "ProgressWindow.h" +#include "resources/Resources.h" #include ProgressWindow::ProgressWindow(const std::string & title)