mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
XEmitter: Add enum class Jump
Replace the bool parameter force5bytes in J, JMP, and J_CC with an enum class Jump::Short/Near. Many callers set that parameter to the literal 'true', which was unclear if you didn't already know what it did.
This commit is contained in:
@ -66,7 +66,7 @@ OpArg VertexLoaderX64::GetVertexAddr(CPArray array, VertexComponentFormat attrib
|
||||
if (array == CPArray::Position)
|
||||
{
|
||||
CMP(bits, R(scratch1), Imm8(-1));
|
||||
m_skip_vertex = J_CC(CC_E, true);
|
||||
m_skip_vertex = J_CC(CC_E, Jump::Near);
|
||||
}
|
||||
IMUL(32, scratch1, MPIC(&g_main_cp_state.array_strides[array]));
|
||||
MOV(64, R(scratch2), MPIC(&VertexLoaderManager::cached_arraybases[array]));
|
||||
|
Reference in New Issue
Block a user