mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-26 04:06:32 +00:00
pull in project-slippi/Ishiiruka/commit/8df16c43cfef689f1bcaca0da5526b334bfe3994
fix chat bug which could cause other EXI commands to run
This commit is contained in:
parent
3b05d0a9d5
commit
1f9217f7df
2 changed files with 3 additions and 5 deletions
|
@ -2446,9 +2446,7 @@ std::vector<u8> CEXISlippi::loadPremadeText(u8* payload)
|
||||||
playerName = defaultNames[port];
|
playerName = defaultNames[port];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
u8 paramId = payload[1] == 0x83 ?
|
u8 paramId = payload[1];
|
||||||
0x88 :
|
|
||||||
payload[1]; // TODO: Figure out what the hell is going on and fix this
|
|
||||||
|
|
||||||
if (paramId == SlippiPremadeText::CHAT_MSG_CHAT_DISABLED)
|
if (paramId == SlippiPremadeText::CHAT_MSG_CHAT_DISABLED)
|
||||||
{
|
{
|
||||||
|
|
|
@ -132,8 +132,8 @@ private:
|
||||||
{CMD_GCT_LENGTH, 0x0},
|
{CMD_GCT_LENGTH, 0x0},
|
||||||
{CMD_GCT_LOAD, 0x4},
|
{CMD_GCT_LOAD, 0x4},
|
||||||
{CMD_GET_DELAY, 0x0},
|
{CMD_GET_DELAY, 0x0},
|
||||||
{CMD_PREMADE_TEXT_LENGTH, 0x0},
|
{CMD_PREMADE_TEXT_LENGTH, 0x2},
|
||||||
{CMD_PREMADE_TEXT_LOAD, 0x4},
|
{CMD_PREMADE_TEXT_LOAD, 0x2},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct WriteMessage
|
struct WriteMessage
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue