mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-12-28 13:37:12 +00:00
Add Metal backend (#1287)
This commit is contained in:
parent
5520613dc3
commit
26e40a4bce
108 changed files with 14986 additions and 453 deletions
|
|
@ -116,6 +116,11 @@ void FileStream::extract(std::vector<uint8>& data)
|
|||
readData(data.data(), fileSize);
|
||||
}
|
||||
|
||||
void FileStream::Flush()
|
||||
{
|
||||
m_fileStream.flush();
|
||||
}
|
||||
|
||||
uint32 FileStream::readData(void* data, uint32 length)
|
||||
{
|
||||
SyncReadWriteSeek(false);
|
||||
|
|
|
|||
|
|
@ -22,6 +22,8 @@ class FileStream
|
|||
bool SetEndOfFile();
|
||||
void extract(std::vector<uint8>& data);
|
||||
|
||||
void Flush();
|
||||
|
||||
// reading
|
||||
uint32 readData(void* data, uint32 length);
|
||||
bool readU64(uint64& v);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue