Nugget
|
#include "common/psxlibc/device.h"
#include <string.h>
#include "common/hardware/pcsxhw.h"
#include "common/syscalls/syscalls.h"
#include "openbios/card/backupunit.h"
#include "openbios/card/card.h"
#include "openbios/kernel/libcmisc.h"
#include "openbios/sio0/card.h"
#include "osdebug.h"
Functions | |
int | dev_bu_open (struct File *file, const char *path, int mode) |
int | dev_bu_close (struct File *file) |
int | buRelativeToAbsoluteSector (int port, int block, int sector) |
int | buGetReallocated (int port, int sector) |
int | dev_bu_read (struct File *file, void *buffer, int size) |
int | dev_bu_write (struct File *file, void *buffer, int size) |
int | dev_bu_erase (struct File *file, const char *path) |
void | dev_bu_undelete () |
struct DirEntry * | dev_bu_firstFile (struct File *file, const char *filename, struct DirEntry *entry) |
struct DirEntry * | dev_bu_nextFile (struct File *file, struct DirEntry *entry) |
int | dev_bu_format (struct File *file) |
int | dev_bu_rename (struct File *file, const char *oldName, struct File *unused, const char *newName) |
void | dev_bu_deinit () |
int | addMemoryCardDevice () |
Variables | |
int | g_buOpSectorStart [2] |
int | g_buOpSectorCount [2] |
int | g_buOpActualSector [2] |
char * | g_buOpBuffer [2] |
struct File * | g_buOpFile [2] |
int addMemoryCardDevice | ( | ) |
void dev_bu_deinit | ( | ) |
struct DirEntry * dev_bu_firstFile | ( | struct File * | file, |
const char * | filename, | ||
struct DirEntry * | entry | ||
) |
int dev_bu_rename | ( | struct File * | file, |
const char * | oldName, | ||
struct File * | unused, | ||
const char * | newName | ||
) |
void dev_bu_undelete | ( | ) |
int g_buOpActualSector[2] |
char* g_buOpBuffer[2] |
int g_buOpSectorCount[2] |
int g_buOpSectorStart[2] |