This commit is contained in:
Sonic Dreamcaster 2024-12-02 15:41:01 -03:00
commit dbe3abc748
3 changed files with 14 additions and 1 deletions

View File

@ -421,6 +421,18 @@ void aDuplicateImpl(uint16_t count, uint16_t in_addr, uint16_t out_addr) {
} while (count-- > 0); } while (count-- > 0);
} }
void aDMEMMove2Impl(uint8_t t, uint16_t in_addr, uint16_t out_addr, uint16_t count) {
uint8_t *in = BUF_U8(in_addr);
uint8_t *out = BUF_U8(out_addr);
int nbytes = ROUND_UP_32(count);
do {
memmove(out, in, nbytes);
in += nbytes;
out += nbytes;
} while (t-- > 0);
}
void aResampleZohImpl(uint16_t pitch, uint16_t start_fract) { void aResampleZohImpl(uint16_t pitch, uint16_t start_fract) {
int16_t *in = BUF_S16(rspa.in); int16_t *in = BUF_S16(rspa.in);
int16_t *out = BUF_S16(rspa.out); int16_t *out = BUF_S16(rspa.out);

@ -1 +1 @@
Subproject commit 3bea96b12b13c64f9f2dfc76e4475ea434b996ef Subproject commit 73ce1410bb811a06582913d4005dcd7a6c93ec68

1
tools/future Submodule

@ -0,0 +1 @@
Subproject commit 57f4129a7a0792c6c0f7e44e8c171c8e01c12a41