summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software/TextureEncoder.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2020-12-02 20:45:27 +0100
committerGitHub <noreply@github.com>2020-12-02 20:45:27 +0100
commitb148b56fba41e2beb81c61e4d84bbecad0f33a53 (patch)
tree9588abb91d50ca660e9f832eb8d751be73a8413d /Source/Core/VideoBackends/Software/TextureEncoder.cpp
parent00f2e0e494f644d0a559dc92f9eb94be0fab6913 (diff)
parent139d4fc76e4ddf45179ca5ec5e42c52ef513ea4d (diff)
Merge pull request #9304 from lioncash/panic
General: Convert PanicAlerts over to fmt equivalent
Diffstat (limited to 'Source/Core/VideoBackends/Software/TextureEncoder.cpp')
-rw-r--r--Source/Core/VideoBackends/Software/TextureEncoder.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/Core/VideoBackends/Software/TextureEncoder.cpp b/Source/Core/VideoBackends/Software/TextureEncoder.cpp
index 6ed13a0229..ff1dd97b96 100644
--- a/Source/Core/VideoBackends/Software/TextureEncoder.cpp
+++ b/Source/Core/VideoBackends/Software/TextureEncoder.cpp
@@ -504,7 +504,7 @@ static void EncodeRGBA6(u8* dst, const u8* src, EFBCopyFormat format, bool yuv)
break;
default:
- PanicAlert("Unknown texture copy format: 0x%x\n", static_cast<int>(format));
+ PanicAlertFmt("Unknown texture copy format: {:#x}\n", format);
break;
}
}
@@ -743,7 +743,7 @@ static void EncodeRGBA6halfscale(u8* dst, const u8* src, EFBCopyFormat format, b
break;
default:
- PanicAlert("Unknown texture copy format: 0x%x\n", static_cast<int>(format));
+ PanicAlertFmt("Unknown texture copy format: {:#x}\n", format);
break;
}
}
@@ -960,7 +960,7 @@ static void EncodeRGB8(u8* dst, const u8* src, EFBCopyFormat format, bool yuv)
break;
default:
- PanicAlert("Unknown texture copy format: 0x%x\n", static_cast<int>(format));
+ PanicAlertFmt("Unknown texture copy format: {:#x}\n", format);
break;
}
}
@@ -1192,7 +1192,7 @@ static void EncodeRGB8halfscale(u8* dst, const u8* src, EFBCopyFormat format, bo
break;
default:
- PanicAlert("Unknown texture copy format: 0x%x\n", static_cast<int>(format));
+ PanicAlertFmt("Unknown texture copy format: {:#x}\n", format);
break;
}
}
@@ -1300,7 +1300,7 @@ static void EncodeZ24(u8* dst, const u8* src, EFBCopyFormat format)
break;
default:
- PanicAlert("Unknown texture copy format: 0x%x\n", static_cast<int>(format));
+ PanicAlertFmt("Unknown texture copy format: {:#x}\n", format);
break;
}
}
@@ -1414,7 +1414,7 @@ static void EncodeZ24halfscale(u8* dst, const u8* src, EFBCopyFormat format)
break;
default:
- PanicAlert("Unknown texture copy format: 0x%x\n", static_cast<int>(format));
+ PanicAlertFmt("Unknown texture copy format: {:#x}\n", format);
break;
}
}