Skip to content

Commit

Permalink
display shift-jis chat messages correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
JLaferri committed May 31, 2023
1 parent e899363 commit 97298c0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Core/Notifications/Chat/ChatNotifications.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ char *BuildChatTextData(char *playerName, u8 playerIndex, u8 groupId, u8 message
st_left(), st_kern(), color,
st_sjis_text(playerName), st_text(":"), st_space(),
st_color(255, 255, 255),
st_text(message));
st_sjis_text(message));
}

Text *CreateChatMessageText(NotificationMessage *msg) {
Expand Down
10 changes: 5 additions & 5 deletions Scenes/CSS/Chat/Chat.c
Original file line number Diff line number Diff line change
Expand Up @@ -184,15 +184,15 @@ ChatInput *PadGetChatInput(bool checkForCommands) {

// inputs to be checked normally
int normalInputs[4] = {
PAD_BUTTON_DPAD_UP,
PAD_BUTTON_DPAD_LEFT,
PAD_BUTTON_DPAD_RIGHT,
PAD_BUTTON_DPAD_DOWN,
PAD_BUTTON_DPAD_UP,
PAD_BUTTON_DPAD_LEFT,
PAD_BUTTON_DPAD_RIGHT,
PAD_BUTTON_DPAD_DOWN,
};

// Inputs to be check additionally when window is open
int *windowCommands[1] = {
PAD_BUTTON_B,
PAD_BUTTON_B,
};


Expand Down

0 comments on commit 97298c0

Please sign in to comment.