early-access version 1719

This commit is contained in:
pineappleEA 2021-05-28 09:38:07 +02:00
parent cd9dd23d79
commit 7106462ac5
2 changed files with 8 additions and 5 deletions

View file

@ -1,7 +1,7 @@
yuzu emulator early access yuzu emulator early access
============= =============
This is the source code for early-access 1718. This is the source code for early-access 1719.
## Legal Notice ## Legal Notice

View file

@ -117,7 +117,7 @@ template <typename Path>
} }
#endif #endif
class IOFile final : NonCopyable { class IOFile final {
public: public:
IOFile(); IOFile();
@ -142,7 +142,10 @@ public:
FileType type = FileType::BinaryFile, FileType type = FileType::BinaryFile,
FileShareFlag flag = FileShareFlag::ShareReadOnly); FileShareFlag flag = FileShareFlag::ShareReadOnly);
virtual ~IOFile(); ~IOFile();
IOFile(const IOFile&) = delete;
IOFile& operator=(const IOFile&) = delete;
IOFile(IOFile&& other) noexcept; IOFile(IOFile&& other) noexcept;
IOFile& operator=(IOFile&& other) noexcept; IOFile& operator=(IOFile&& other) noexcept;
@ -441,8 +444,8 @@ public:
private: private:
std::filesystem::path file_path; std::filesystem::path file_path;
FileAccessMode file_access_mode; FileAccessMode file_access_mode{};
FileType file_type; FileType file_type{};
std::FILE* file = nullptr; std::FILE* file = nullptr;
}; };