mirror of
https://github.com/xenia-project/xenia.git
synced 2026-07-11 01:24:34 +02:00
Merge branch 'noshbar-unintialised-fileaccess-fix'
This commit is contained in:
@@ -155,7 +155,7 @@ class PosixFileHandle : public FileHandle {
|
||||
|
||||
std::unique_ptr<FileHandle> FileHandle::OpenExisting(std::wstring path,
|
||||
uint32_t desired_access) {
|
||||
int open_access;
|
||||
int open_access = 0;
|
||||
if (desired_access & FileAccess::kGenericRead) {
|
||||
open_access |= O_RDONLY;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user