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:
refraction 2012-11-23 17:47:08 +00:00
parent 2a0bbc89db
commit 5cdad0ed20
1 changed files with 3 additions and 9 deletions

View File

@ -323,22 +323,16 @@ union name \
#define REG_END2 }; #define REG_END2 };
#define REG32_SET(name) \ #define REG32_SET(name) \
union name \ struct name \
{ \ { \
u32 _u32; \
#define REG64_SET(name) \ #define REG64_SET(name) \
union name \ struct name \
{ \ { \
u64 _u64; \
u32 _u32[2]; \
#define REG128_SET(name)\ #define REG128_SET(name)\
union name \ struct name \
{ \ { \
__m128i _m128; \
u64 _u64[2]; \
u32 _u32[4]; \
#define REG_SET_END }; #define REG_SET_END };