mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-01-31 01:15:24 +01:00
IopBios: remove clang deprecated carveout
we use snprintf now, so this isn't useful anymore.
This commit is contained in:
@@ -929,12 +929,6 @@ namespace R3000A
|
||||
{
|
||||
int Kprintf_HLE()
|
||||
{
|
||||
// Using sprintf here is a bit nasty, but it has a large buffer..
|
||||
// Don't feel like rewriting it.
|
||||
#ifdef __clang__
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
||||
#endif
|
||||
|
||||
// Emulate the expected Kprintf functionality:
|
||||
iopMemWrite32(sp, a0);
|
||||
@@ -1071,10 +1065,6 @@ namespace R3000A
|
||||
iopConLog(ShiftJIS_ConvertString(tmp, 1023));
|
||||
|
||||
return 1;
|
||||
|
||||
#ifdef __clang__
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
}
|
||||
} // namespace sysmem
|
||||
|
||||
|
||||
Reference in New Issue
Block a user