From 0970117f813a484344312f7a4efee4c2d087dd0d Mon Sep 17 00:00:00 2001 From: "gregory.hainaut@gmail.com" Date: Sun, 31 Oct 2010 15:27:36 +0000 Subject: [PATCH] GregMiscellaneous: zzogl-pg: * Improve a little previous commit * Remove a fixme that was fix long time ago git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3990 96395faa-99c1-11dd-bbfe-3dabce05a288 --- plugins/zzogl-pg/opengl/GSmain.cpp | 2 +- plugins/zzogl-pg/opengl/Regs.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/zzogl-pg/opengl/GSmain.cpp b/plugins/zzogl-pg/opengl/GSmain.cpp index 583cb3d32b..9e6f443325 100644 --- a/plugins/zzogl-pg/opengl/GSmain.cpp +++ b/plugins/zzogl-pg/opengl/GSmain.cpp @@ -212,7 +212,7 @@ void CALLBACK GSsetGameCRC(int crc, int options) GSC_list[OnePieceGrandBattle] = GSC_OnePieceGrandBattle; GSC_list[ICO] = GSC_ICO; GSC_list[GT4] = GSC_GT4; - //FIXME GSC_list[WildArms4] = GSC_WildArms4; + GSC_list[WildArms4] = GSC_WildArms4; GSC_list[WildArms5] = GSC_WildArms5; GSC_list[Manhunt2] = GSC_Manhunt2; GSC_list[CrashBandicootWoC] = GSC_CrashBandicootWoC; diff --git a/plugins/zzogl-pg/opengl/Regs.cpp b/plugins/zzogl-pg/opengl/Regs.cpp index acdb9a8d0c..f620de4b0a 100644 --- a/plugins/zzogl-pg/opengl/Regs.cpp +++ b/plugins/zzogl-pg/opengl/Regs.cpp @@ -93,7 +93,7 @@ void __gifCall GIFPackedRegHandlerXYZF2(const u32* data) GIFPackedXYZF2* r = (GIFPackedXYZF2*)(data); gs.add_vertex(r->X, r->Y,r->Z, r->F); - ZZKick->KickVertex(!!(data[3]>>15)); + ZZKick->KickVertex(((data[3]>>15) & 0x1)); } void __gifCall GIFPackedRegHandlerXYZ2(const u32* data) @@ -102,7 +102,7 @@ void __gifCall GIFPackedRegHandlerXYZ2(const u32* data) GIFPackedXYZ2* r = (GIFPackedXYZ2*)(data); gs.add_vertex(r->X, r->Y,r->Z); - ZZKick->KickVertex(!!(data[3]>>15)); + ZZKick->KickVertex(((data[3]>>15) & 0x1)); } void __gifCall GIFPackedRegHandlerFOG(const u32* data)