mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
VideoCommon: Migrate over to fmt
Migrates off the printf-based formatting where applicable.
This commit is contained in:
@ -49,7 +49,8 @@ u16 GetEncodedSampleCount(EFBCopyFormat format)
|
||||
case EFBCopyFormat::XFB:
|
||||
return 2;
|
||||
default:
|
||||
PanicAlert("Invalid EFB Copy Format (0x%X)! (GetEncodedSampleCount)", static_cast<int>(format));
|
||||
PanicAlertFmt("Invalid EFB Copy Format ({:#X})! (GetEncodedSampleCount)",
|
||||
static_cast<int>(format));
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
@ -839,8 +840,8 @@ std::string GenerateEncodingShader(const EFBCopyParams& params, APIType api_type
|
||||
WriteXFBEncoder(code, api_type, params);
|
||||
break;
|
||||
default:
|
||||
PanicAlert("Invalid EFB Copy Format (0x%X)! (GenerateEncodingShader)",
|
||||
static_cast<int>(params.copy_format));
|
||||
PanicAlertFmt("Invalid EFB Copy Format ({:#X})! (GenerateEncodingShader)",
|
||||
static_cast<int>(params.copy_format));
|
||||
break;
|
||||
}
|
||||
|
||||
@ -1487,7 +1488,7 @@ float4 DecodePixel(int val)
|
||||
break;
|
||||
|
||||
default:
|
||||
PanicAlert("Unknown format");
|
||||
PanicAlertFmt("Unknown format");
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user