mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-18 02:37:58 +00:00
ldn: Initial implementation
This commit is contained in:
parent
c48259ca81
commit
48d6226115
15 changed files with 1134 additions and 126 deletions
|
@ -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('=');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue