mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Common/Assert: Switch to fmt
This commit is contained in:
@ -345,7 +345,7 @@ void RunGpuLoop()
|
||||
|
||||
ASSERT_MSG(COMMANDPROCESSOR,
|
||||
(s32)fifo.CPReadWriteDistance.load(std::memory_order_relaxed) - 32 >= 0,
|
||||
"Negative fifo.CPReadWriteDistance = %i in FIFO Loop !\nThat can produce "
|
||||
"Negative fifo.CPReadWriteDistance = {} in FIFO Loop !\nThat can produce "
|
||||
"instability in the game. Please report it.",
|
||||
fifo.CPReadWriteDistance.load(std::memory_order_relaxed) - 32);
|
||||
|
||||
|
@ -176,11 +176,11 @@ void VertexLoader::CompileVertexTranslator()
|
||||
if (tc != VertexComponentFormat::NotPresent)
|
||||
{
|
||||
ASSERT_MSG(VIDEO, VertexComponentFormat::Direct <= tc && tc <= VertexComponentFormat::Index16,
|
||||
"Invalid texture coordinates!\n(tc = %d)", (u32)tc);
|
||||
"Invalid texture coordinates!\n(tc = {})", tc);
|
||||
ASSERT_MSG(VIDEO, ComponentFormat::UByte <= format && format <= ComponentFormat::Float,
|
||||
"Invalid texture coordinates format!\n(format = %d)", (u32)format);
|
||||
"Invalid texture coordinates format!\n(format = {})", format);
|
||||
ASSERT_MSG(VIDEO, elements == TexComponentCount::S || elements == TexComponentCount::ST,
|
||||
"Invalid number of texture coordinates elements!\n(elements = %d)", (u32)elements);
|
||||
"Invalid number of texture coordinates elements!\n(elements = {})", elements);
|
||||
|
||||
WriteCall(VertexLoader_TextCoord::GetFunction(tc, format, elements));
|
||||
}
|
||||
|
Reference in New Issue
Block a user