Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <pspiofilemgr.h>
- #include <stdio.h>
- typedef enum { ParamSfo = 0, Icon0Png = 1, Icon1Png = 2, Pic0Png = 3, Pic1Png = 4, Snd0At3 = 5, DataPsp = 6, DataPsar = 7 } PbpIoSlot;
- typedef struct {
- SceUID fd;
- int slot;
- int slotOffset;
- } PbpIoFile;
- PbpIoFile *pbpIoOpen(const char *file, PbpIoSlot slot, int flags, SceMode mode);
- int pbpIoClose(PbpIoFile *fd);
- SceOff pbpIoLseek(PbpIoFile *fd, SceOff offset, int whence);
- int pbpIoRead(PbpIoFile *fd, void *data, SceSize size);
- int pbpIoWrite(PbpIoFile *fd, const void *data, SceSize size);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement