[Kernel] Added %L to formatter

This commit is contained in:
Gliniak 2021-10-14 11:33:56 +02:00 committed by Rick Gibbed
parent 5161bd7ab2
commit d6660ac391
1 changed files with 7 additions and 0 deletions

View File

@ -290,6 +290,13 @@ int32_t format_core(PPCContext* ppc_context, FormatData& data, ArgList& args,
}
state = FS_Type;
continue;
} else if (c == 'L') {
// 58410826 incorrectly uses 'L' instead of 'l'.
// TODO(gibbed): L appears to be treated as an invalid token by
// xboxkrnl, investigate how invalid tokens are processed in xboxkrnl
// formatting when state FF_Type is reached.
state = FS_Type;
continue;
} else if (c == 'h') {
flags |= FF_IsShort;
state = FS_Type;