mirror of
https://github.com/zeldaret/mm.git
synced 2026-06-11 13:09:54 -04:00
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>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#include "prevent_bss_reordering.h"
|
||||
#include "global.h"
|
||||
#include "buffers.h"
|
||||
#include "system_malloc.h"
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user