mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-11 01:08:30 +12:00
coreinit: Implement several FSA functions and fix some bugs (#844)
This commit is contained in:
parent
ae4cb45cf3
commit
f1ebfa9941
10 changed files with 1032 additions and 121 deletions
|
@ -24,7 +24,10 @@ enum class FSC_ACCESS_FLAG : uint8
|
|||
// which types can be opened
|
||||
// invalid operation if neither is set
|
||||
OPEN_DIR = (1 << 4),
|
||||
OPEN_FILE = (1 << 5)
|
||||
OPEN_FILE = (1 << 5),
|
||||
|
||||
// Writing seeks to the end of the file if set
|
||||
IS_APPEND = (1 << 6)
|
||||
};
|
||||
DEFINE_ENUM_FLAG_OPERATORS(FSC_ACCESS_FLAG);
|
||||
|
||||
|
@ -149,7 +152,15 @@ struct FSCVirtualFile
|
|||
return false;
|
||||
}
|
||||
|
||||
virtual bool fscRewindDir()
|
||||
{
|
||||
cemu_assert_unimplemented();
|
||||
return false;
|
||||
}
|
||||
|
||||
FSCDirIteratorState* dirIterator{};
|
||||
|
||||
bool m_isAppend{ false };
|
||||
};
|
||||
|
||||
#define FSC_PRIORITY_BASE (0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue