2015-11-01 14:12:44 -05:00
|
|
|
#ifndef _mempak_gcn64usb_h__
|
|
|
|
#define _mempak_gcn64usb_h__
|
|
|
|
|
|
|
|
#include "mempak.h"
|
|
|
|
|
|
|
|
int gcn64lib_mempak_detect(gcn64_hdl_t hdl);
|
|
|
|
int gcn64lib_mempak_readBlock(gcn64_hdl_t hdl, unsigned short addr, unsigned char dst[32]);
|
|
|
|
int gcn64lib_mempak_writeBlock(gcn64_hdl_t hdl, unsigned short addr, unsigned char data[32]);
|
|
|
|
|
2015-11-03 21:27:29 -05:00
|
|
|
int gcn64lib_mempak_download(gcn64_hdl_t hdl, int channel, mempak_structure_t **mempak, int (*progressCb)(int cur_addr, void *ctx), void *ctx);
|
|
|
|
int gcn64lib_mempak_upload(gcn64_hdl_t hdl, int channel, mempak_structure_t *pak, int (*progressCb)(int cur_addr, void *ctx), void *ctx);
|
2015-11-01 14:12:44 -05:00
|
|
|
|
|
|
|
#endif // _mempak_gcn64usb_h__
|