emummc: fix for svcQueryIoMapping abi change

This commit is contained in:
Michael Scire 2020-04-14 11:15:19 -07:00
parent 6fe8ada37a
commit c07f54f370
8 changed files with 37 additions and 8 deletions

View file

@ -19,6 +19,7 @@
#define _UTIL_H_
#include "types.h"
#include "../emuMMC/emummc_ctx.h"
intptr_t QueryIoMapping(u64 addr, u64 size);
#define byte_swap_32(num) ((num >> 24) & 0xff) | ((num << 8) & 0xff0000) | \
@ -37,4 +38,6 @@ void usleep(u64 ticks);
void msleep(u64 milliseconds);
void exec_cfg(u32 *base, const cfg_op_t *ops, u32 num_ops);
extern volatile emuMMC_ctx_t emuMMC_ctx;
#endif