fixasserts

Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
lizzie 2025-10-30 19:36:24 +00:00
parent d124bdd648
commit 35a66ac73a
1 changed files with 1 additions and 4 deletions

View File

@ -113,10 +113,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;