mirror of
https://github.com/N64Recomp/N64Recomp.git
synced 2025-05-19 09:54:53 +00:00
Implemented audio ucode recomp and audio interface, removed restrict usage due to issues with release builds
This commit is contained in:
parent
217a30b032
commit
7babd24bd1
25 changed files with 447 additions and 235 deletions
3
recomp.h
3
recomp.h
|
@ -173,14 +173,13 @@ typedef struct {
|
|||
} recomp_context;
|
||||
|
||||
#ifdef __cplusplus
|
||||
#define restrict __restrict
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void switch_error(const char* func, uint32_t vram, uint32_t jtbl);
|
||||
void do_break(uint32_t vram);
|
||||
|
||||
typedef void (recomp_func_t)(uint8_t* restrict rdram, recomp_context* restrict ctx);
|
||||
typedef void (recomp_func_t)(uint8_t* rdram, recomp_context* ctx);
|
||||
|
||||
recomp_func_t* get_function(int32_t vram);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue