mirror of
https://github.com/N64Recomp/N64Recomp.git
synced 2025-05-18 01:14:54 +00:00
Integrated RT64 (not included in repo), sign extended addresses
This commit is contained in:
parent
39b67c8468
commit
d0c3eb73ec
17 changed files with 185 additions and 92 deletions
|
@ -1,17 +1,20 @@
|
|||
#include "recomp.h"
|
||||
|
||||
extern "C" void osAiSetFrequency_recomp(uint8_t* restrict rdram, recomp_context* restrict ctx) {
|
||||
;
|
||||
ctx->r2 = ctx->r4;
|
||||
}
|
||||
|
||||
static uint32_t ai_length = 0;
|
||||
|
||||
extern "C" void osAiSetNextBuffer_recomp(uint8_t* restrict rdram, recomp_context* restrict ctx) {
|
||||
;
|
||||
ai_length = (uint32_t)ctx->r5;
|
||||
ctx->r2 = 0;
|
||||
}
|
||||
|
||||
extern "C" void osAiGetLength_recomp(uint8_t* restrict rdram, recomp_context* restrict ctx) {
|
||||
;
|
||||
ctx->r2 = ai_length;
|
||||
}
|
||||
|
||||
extern "C" void osAiGetStatus_recomp(uint8_t* restrict rdram, recomp_context* restrict ctx) {
|
||||
;
|
||||
}
|
||||
ctx->r2 = 0x80000000;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue