early-access version 2943

This commit is contained in:
pineappleEA
2022-09-10 22:18:42 +02:00
parent c1583b346c
commit 049d25a15f
31 changed files with 1311 additions and 186 deletions

View File

@@ -76,7 +76,8 @@ static constexpr char BanListMagic[] = "YuzuRoom-BanList-1";
static constexpr char token_delimiter{':'};
static void PadToken(std::string& token) {
while (token.size() % 4 != 0) {
const auto remainder = token.size() % 3;
for (size_t i = 0; i < (3 - remainder); i++) {
token.push_back('=');
}
}