zzogl-pg: I seem to have overlooked this somewhere along the way.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3580 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
arcum42 2010-07-30 09:26:23 +00:00
parent 17465d1302
commit 7b522ea680
2 changed files with 5 additions and 5 deletions

View File

@ -40,7 +40,7 @@ void SaveConfig()
fprintf(f, "interlace = %hhx\n", conf.interlace); fprintf(f, "interlace = %hhx\n", conf.interlace);
fprintf(f, "mrtdepth = %hhx\n", conf.mrtdepth); fprintf(f, "mrtdepth = %hhx\n", conf.mrtdepth);
fprintf(f, "zzoptions = %x\n", conf.zz_options); //u32 fprintf(f, "zzoptions = %x\n", conf.zz_options._u32); //u32
fprintf(f, "options = %x\n", tempHacks); //u32 fprintf(f, "options = %x\n", tempHacks); //u32
fprintf(f, "bilinear = %hhx\n", conf.bilinear); fprintf(f, "bilinear = %hhx\n", conf.bilinear);
fprintf(f, "aliasing = %hhx\n", conf.aa); fprintf(f, "aliasing = %hhx\n", conf.aa);
@ -82,8 +82,8 @@ void LoadConfig()
err = fscanf(f, "interlace = %hhx\n", &conf.interlace); err = fscanf(f, "interlace = %hhx\n", &conf.interlace);
err = fscanf(f, "mrtdepth = %hhx\n", &conf.mrtdepth); err = fscanf(f, "mrtdepth = %hhx\n", &conf.mrtdepth);
err = fscanf(f, "zzoptions = %x\n", &conf.zz_options);//u32 err = fscanf(f, "zzoptions = %x\n", &conf.zz_options._u32);//u32
err = fscanf(f, "options = %x\n", &conf.hacks);//u32 err = fscanf(f, "options = %x\n", &conf.hacks._u32);//u32
err = fscanf(f, "bilinear = %hhx\n", &conf.bilinear); err = fscanf(f, "bilinear = %hhx\n", &conf.bilinear);
err = fscanf(f, "aliasing = %hhx\n", &conf.aa); err = fscanf(f, "aliasing = %hhx\n", &conf.aa);
//err = fscanf(f, "gamesettings = %x\n", &conf.gamesettings);//u32 //err = fscanf(f, "gamesettings = %x\n", &conf.gamesettings);//u32

View File

@ -217,8 +217,8 @@ REG64_(GIFReg, ALPHA)
u32 _PAD2:24; u32 _PAD2:24;
REG_END2 REG_END2
// opaque => output will be Cs/As // opaque => output will be Cs/As
__forceinline bool IsOpaque() const {return (A == B || C == 2 && FIX == 0) && D == 0 || (A == 0 && B == D && C == 2 && FIX == 0x80);} // __forceinline bool IsOpaque() const {return (A == B || C == 2 && FIX == 0) && D == 0 || (A == 0 && B == D && C == 2 && FIX == 0x80);}
__forceinline bool IsOpaque(int amin, int amax) const {return (A == B || amax == 0) && D == 0 || A == 0 && B == D && amin == 0x80 && amax == 0x80;} // __forceinline bool IsOpaque(int amin, int amax) const {return (A == B || amax == 0) && D == 0 || A == 0 && B == D && amin == 0x80 && amax == 0x80;}
REG_END2 REG_END2
REG64_(GIFReg, BITBLTBUF) REG64_(GIFReg, BITBLTBUF)