summaryrefslogtreecommitdiff
path: root/src/code
diff options
context:
space:
mode:
authorengineer124 <47598039+engineer124@users.noreply.github.com>2023-06-11 00:31:05 +1000
committerGitHub <noreply@github.com>2023-06-10 10:31:05 -0400
commit47be99fb0cde762466ab8dd7d2471dd278a59040 (patch)
tree532c1ef061cc34c6f27db69aba72829a3cd4113e /src/code
parent8672dc0a57a7406cf6fd7b18dd8101563c9f63a8 (diff)
libultra voice OK (#1264)
* Import all libultra voice code * Libultra voice cleanup * more cleanup * more cleanup/docs * cleanup variables.h * File: * PR review 1 * adjust comment * more review * More (p) * SWRITEFORMAT * consistent spacing * fix bss --------- Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> Co-authored-by: angie <angheloalf95@gmail.com>
Diffstat (limited to 'src/code')
-rw-r--r--src/code/graph.c1
-rw-r--r--src/code/z_message.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/src/code/graph.c b/src/code/graph.c
index 2e104234e..eca40bbaf 100644
--- a/src/code/graph.c
+++ b/src/code/graph.c
@@ -1,3 +1,4 @@
+#include "prevent_bss_reordering.h"
#include "global.h"
#include "buffers.h"
#include "system_malloc.h"
diff --git a/src/code/z_message.c b/src/code/z_message.c
index 38f44d9ec..03fadc9c9 100644
--- a/src/code/z_message.c
+++ b/src/code/z_message.c
@@ -244,6 +244,7 @@ void Message_LoadChar(PlayState* play, u16 codePointIndex, s32* offset, f32* arg
*arg3 = temp2;
}
+// TODO: SJIS support
// Message_LoadRupees JPN ?
void func_8014CCB4(PlayState* play, s16* decodedBufPos, s32* offset, f32* arg3) {
MessageContext* msgCtx = &play->msgCtx;
@@ -259,7 +260,7 @@ void func_8014CCB4(PlayState* play, s16* decodedBufPos, s32* offset, f32* arg3)
k += FONT_CHAR_TEX_SIZE;
msgCtx->decodedBuffer.wchar[t] = 0x8373;
t += 1;
- Font_LoadChar(play, 0x815C, k); // Ox815C = ― in JISX0213
+ Font_LoadChar(play, 0x815C, k); // 0x815C = ― in JISX0213
k += FONT_CHAR_TEX_SIZE;
msgCtx->decodedBuffer.wchar[t] = 0x815C;