test: enable client side pause in direct

used to help try to repro the bug
This commit is contained in:
Jas Laferriere
2022-02-07 17:48:38 -05:00
parent 0dcbe64765
commit 052de7415a
2 changed files with 4 additions and 3 deletions

View File

@@ -24,7 +24,7 @@
//" " BUILD_TYPE_STR " " SCM_DESC_STR;
//#endif
#ifndef IS_PLAYBACK
#define SLIPPI_REV_STR "2.4.0" // netplay version
#define SLIPPI_REV_STR "2.4.1-dev" // netplay version
#else
#define SLIPPI_REV_STR "2.4.0" // playback version
#endif

View File

@@ -2578,8 +2578,9 @@ void CEXISlippi::prepareOnlineMatchState()
*stage = Common::swap16(stageId);
// Turn pause off in unranked/ranked, on in other modes
auto pauseAllowed = !SlippiMatchmaking::IsFixedRulesMode(lastSearch.mode) &&
lastSearch.mode != SlippiMatchmaking::OnlinePlayMode::TEAMS;
//auto pauseAllowed = !SlippiMatchmaking::IsFixedRulesMode(lastSearch.mode) &&
// lastSearch.mode != SlippiMatchmaking::OnlinePlayMode::TEAMS;
auto pauseAllowed = false;
u8 *gameBitField3 = (u8 *)&onlineMatchBlock[2];
*gameBitField3 = pauseAllowed ? *gameBitField3 & 0xF7 : *gameBitField3 | 0x8;
//*gameBitField3 = *gameBitField3 | 0x8;