[XAM] Fixed assertion related to incorrect casting
This should fix crash in 12xxx dashboard while browsing achievements - Fixed issue with invalid time being presented for some achievements - Added stub for: XampWebInstrumentationSetProfileCounts
This commit is contained in:
@@ -412,7 +412,7 @@ int32_t format_core(PPCContext* ppc_context, FormatData& data, ArgList& args,
|
||||
start[0] = '\0';
|
||||
|
||||
while (precision-- > 0 || value != 0) {
|
||||
auto digit = (int32_t)(value % radix);
|
||||
const auto digit = static_cast<uint64_t>(value) % radix;
|
||||
value /= radix;
|
||||
assert_true(digit < strlen(digits));
|
||||
*--start = digits[digit];
|
||||
|
||||
Reference in New Issue
Block a user