summaryrefslogtreecommitdiff
path: root/src/libultra
diff options
context:
space:
mode:
authorDragorn421 <Dragorn421@users.noreply.github.com>2023-01-10 19:03:31 +0100
committerGitHub <noreply@github.com>2023-01-10 13:03:31 -0500
commit542012efa68d110d6b631f9d149f6e5f4e68cc8e (patch)
tree6da8592b14b6be82219c09189ad8aeef537362a3 /src/libultra
parentb4c97ce17eb35329b4a7e3d98d7f06d558683f6d (diff)
Fix misc 19 (#1488)
* "bgs sword" -> "biggoron sword" * Animation_ChangeImpl: last arg is `ANIMTAPER_` enum * TransitionTileStatus -> state * Tiny gbi.h formatting fixups * some cleanup on floormaster * misc float ops cleanup * sunsSongState = SUNSSONG_INACTIVE * continueFlag == CS_CMD_STOP * fix few camera names inconsistency * textual 0 padding? not on my lawn * libultra: construct address from end of dmem rather than oob from imem * more free1 -> 2 fixup
Diffstat (limited to 'src/libultra')
-rw-r--r--src/libultra/io/sptask.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libultra/io/sptask.c b/src/libultra/io/sptask.c
index 8b3286a45..be805ab5c 100644
--- a/src/libultra/io/sptask.c
+++ b/src/libultra/io/sptask.c
@@ -41,7 +41,7 @@ void osSpTaskLoad(OSTask* intp) {
while (__osSpSetPc((void*)SP_IMEM_START) == -1) {
;
}
- while (__osSpRawStartDma(OS_WRITE, (void*)(SP_IMEM_START - sizeof(*tp)), tp, sizeof(OSTask)) == -1) {
+ while (__osSpRawStartDma(OS_WRITE, (void*)(SP_DMEM_END + 1 - sizeof(OSTask)), tp, sizeof(OSTask)) == -1) {
;
}
while (__osSpDeviceBusy()) {