fixasserts

Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
lizzie
2025-10-30 19:36:24 +00:00
committed by crueter
parent 695c1ec249
commit 8ed678430b

View File

@@ -116,10 +116,7 @@ public:
case 16:
return LeastSignificantHalf(value);
case 32:
if (value.GetType() == Type::U32) {
return value;
}
return LeastSignificantWord(value);
return value.GetType() == Type::U32 ? value : LeastSignificantWord(value);
case 64:
ASSERT(value.GetType() == Type::U64);
return value;