diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5b07dfadd..c40f7ec45 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,6 +34,7 @@ jobs: evict-old-files: job - run: cmake -S . -B build $CONFIGURE - run: cmake --build build + - run: cmake --build build --target libs - run: ctest --test-dir build --output-on-failure --timeout 120 windows: @@ -68,5 +69,7 @@ jobs: run: cmake -S . -B build %CONFIGURE% - shell: cmd run: cmake --build build + - shell: cmd + run: cmake --build build --target libs - shell: cmd run: ctest --test-dir build --output-on-failure --timeout 120 diff --git a/core/libs/prx/libSceSaveData/SaveDataCore.hpp b/core/libs/prx/libSceSaveData/SaveDataCore.hpp index 166176bfe..e72aa4c77 100644 --- a/core/libs/prx/libSceSaveData/SaveDataCore.hpp +++ b/core/libs/prx/libSceSaveData/SaveDataCore.hpp @@ -290,7 +290,8 @@ std::filesystem::path save_blocks_path(const std::filesystem::path& directory) { bool write_blob(const std::filesystem::path& path, const void* data, std::size_t size) { std::error_code error; std::filesystem::create_directories(path.parent_path(), error); - const std::filesystem::path temporary = path.native() + L".tmp"; + auto temporary = path; + temporary += ".tmp"; { std::ofstream file(temporary, std::ios::binary | std::ios::trunc); if (!file) {