2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-14 07:26:09 +00:00

Initial port configuration (needs cleanup)

This commit is contained in:
2022-05-08 01:50:21 -07:00
parent f8d9207aaa
commit 10d4bbf297
8 changed files with 334 additions and 91 deletions

View File

@@ -0,0 +1,16 @@
#pragma once
#include "Runtime/Streams/COutputStream.hpp"
#include <cstdio>
namespace metaforce {
class CFileOutStream final : public COutputStream {
FILE* m_file;
public:
explicit CFileOutStream(std::string_view name, u32 blockLen = 4096);
virtual ~CFileOutStream();
protected:
void Write(const u8* ptr, u32 len);
};
} // namespace metaforce