Created private msm headers and decomped a bit of msmsys.c

This commit is contained in:
dbalatoni13 2024-11-07 16:52:22 +01:00
parent dc125f3067
commit 206b3e76a0
8 changed files with 524 additions and 33 deletions

19
include/msm/msmfio.h Normal file
View file

@ -0,0 +1,19 @@
#ifndef MSMFIO_H
#define MSMFIO_H
#include "dolphin.h"
#include "dolphin/types.h"
#include "game/msm.h"
struct msmFio {
MSM_OPEN open;
MSM_READ read;
MSM_CLOSE close;
};
BOOL msmFioClose(DVDFileInfo *fileInfo);
BOOL msmFioRead(DVDFileInfo *fileInfo, void *addr, s32 length, s32 offset);
BOOL msmFioOpen(s32 entrynum, DVDFileInfo *fileInfo);
void msmFioInit(MSM_OPEN open, MSM_READ read, MSM_CLOSE close);
#endif