mirror of
https://github.com/libretro/pcsx2.git
synced 2024-11-24 09:49:42 +00:00
Thanks Bluefire101 for reporting this (eventually) undefined behavior (depending on who you ask).
Even if there was no problem, code should always be clear on what it does.
This commit is contained in:
parent
0ddb77c048
commit
ecb42cad9b
@ -366,13 +366,15 @@ template< typename T > void xWrite( T val );
|
||||
|
||||
xRegisterSSE& operator++()
|
||||
{
|
||||
++Id &= (iREGCNT_XMM-1);
|
||||
++Id;
|
||||
Id &= (iREGCNT_XMM - 1);
|
||||
return *this;
|
||||
}
|
||||
|
||||
xRegisterSSE& operator--()
|
||||
{
|
||||
--Id &= (iREGCNT_XMM-1);
|
||||
--Id;
|
||||
Id &= (iREGCNT_XMM - 1);
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user