mirror of https://github.com/PCSX2/pcsx2.git
GSNull: Change the register set definitions to structs instead of unions so it ACTUALLY writes the data to the registers, rather than just writing to 2 predefined variables then being overwritten the next time a write is done to something else :P
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5461 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
2a0bbc89db
commit
5cdad0ed20
|
@ -323,22 +323,16 @@ union name \
|
|||
#define REG_END2 };
|
||||
|
||||
#define REG32_SET(name) \
|
||||
union name \
|
||||
struct name \
|
||||
{ \
|
||||
u32 _u32; \
|
||||
|
||||
#define REG64_SET(name) \
|
||||
union name \
|
||||
struct name \
|
||||
{ \
|
||||
u64 _u64; \
|
||||
u32 _u32[2]; \
|
||||
|
||||
#define REG128_SET(name)\
|
||||
union name \
|
||||
struct name \
|
||||
{ \
|
||||
__m128i _m128; \
|
||||
u64 _u64[2]; \
|
||||
u32 _u32[4]; \
|
||||
|
||||
#define REG_SET_END };
|
||||
|
||||
|
|
Loading…
Reference in New Issue