2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 11:47:43 +00:00

some CMemory additions

This commit is contained in:
Jack Andersen
2015-08-23 08:53:43 -10:00
parent f3b5b9f49a
commit 5784759b62
8 changed files with 161 additions and 13 deletions

View File

@@ -6,6 +6,7 @@
#include "RetroTypes.hpp"
#include "CPakFile.hpp"
#include "CBasics.hpp"
#include "CMemory.hpp"
namespace Retro
{
@@ -27,7 +28,14 @@ public:
CInputStream* LoadNewResourcePartSync(const SObjectTag&, int, int, char*);
void LoadMemResourceSync(const SObjectTag&, char*, int*);
CInputStream* LoadResourceFromMemorySync(const SObjectTag&, const void*);
CInputStream* LoadNewResourceSync(const SObjectTag&, char*);
CInputStream* LoadNewResourceSync(const SObjectTag& tag, void* buf)
{
FindResourceForLoad(tag);
if (!buf)
{
}
}
CDvdRequest* LoadResourcePartAsync(const SObjectTag& tag, int offset, int length, void* buf)
{