Rsp: Change usage of alignas to try and fix android build
This commit is contained in:
parent
7e249d22b1
commit
dd7ec63dd9
|
@ -64,7 +64,7 @@ void InitilizeRSPRegisters(void)
|
|||
|
||||
for (uint16_t i = 0; i < 512; i++)
|
||||
{
|
||||
uint64_t a = i + 512 >> (i % 2 == 1);
|
||||
uint64_t a = (i + 512) >> ((i % 2 == 1) ? 1 : 0);
|
||||
uint64_t b = 1 << 17;
|
||||
while (a * (b + 1) * (b + 1) < (uint64_t(1) << 44))
|
||||
{
|
||||
|
|
|
@ -335,7 +335,5 @@ void RSPRegisterHandler::WriteReg(RSPRegister Reg, uint32_t Value)
|
|||
SP_STATUS_REG |= SP_STATUS_SIG7;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
__debugbreak();
|
||||
}
|
||||
}
|
|
@ -40,7 +40,7 @@ public:
|
|||
uint64_t & u64(uint8_t Index);
|
||||
|
||||
private:
|
||||
uint64_t m_Reg[2] alignas(16);
|
||||
uint64_t alignas(16) m_Reg[2];
|
||||
};
|
||||
|
||||
class RSPFlag
|
||||
|
|
Loading…
Reference in New Issue