GregMiscellaneous: zzogl-pg: Remove path3 hack.

git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3798 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
arcum42 2010-09-18 12:20:01 +00:00
parent 39d015fbc3
commit 57f1e7badb
6 changed files with 20 additions and 20 deletions

View File

@ -153,7 +153,7 @@ void ReportHacks(gameHacks hacks)
if (hacks.no_alpha_test) ZZLog::WriteLn("'No alpha test' hack enabled."); if (hacks.no_alpha_test) ZZLog::WriteLn("'No alpha test' hack enabled.");
if (hacks.disable_mrt_depth) ZZLog::WriteLn("'Disable mrt depth' hack enabled."); if (hacks.disable_mrt_depth) ZZLog::WriteLn("'Disable mrt depth' hack enabled.");
if (hacks.args_32_bit) ZZLog::WriteLn("'Args 32 bit' hack enabled."); if (hacks.args_32_bit) ZZLog::WriteLn("'Args 32 bit' hack enabled.");
if (hacks.path3) ZZLog::WriteLn("'Path3' hack enabled."); //if (hacks.path3) ZZLog::WriteLn("'Path3' hack enabled.");
if (hacks.parallel_context) ZZLog::WriteLn("'Parallel context' hack enabled."); if (hacks.parallel_context) ZZLog::WriteLn("'Parallel context' hack enabled.");
if (hacks.xenosaga_spec) ZZLog::WriteLn("'Xenosaga spec' hack enabled."); if (hacks.xenosaga_spec) ZZLog::WriteLn("'Xenosaga spec' hack enabled.");
if (hacks.partial_pointers) ZZLog::WriteLn("'Partial pointers' hack enabled."); if (hacks.partial_pointers) ZZLog::WriteLn("'Partial pointers' hack enabled.");
@ -246,9 +246,6 @@ void CALLBACK GSsetGameCRC(int crc, int options)
if (CRCValueChanged && (crc != 0)) if (CRCValueChanged && (crc != 0))
{ {
// Enable Path3 hack for all games
conf.def_hacks.path3 = 1;
for (int i = 0; i < GAME_INFO_INDEX; i++) for (int i = 0; i < GAME_INFO_INDEX; i++)
{ {
if (crc_game_list[i].crc == crc) if (crc_game_list[i].crc == crc)

View File

@ -88,8 +88,6 @@ template<int index> void _GSgifTransfer(const u32 *pMem, u32 size)
pMem += 4; pMem += 4;
size--; size--;
if ((conf.settings().path3) && (index == 2) && path->eop) nPath3Hack = 1;
// eeuser 7.2.2. GIFtag: "... when NLOOP is 0, the GIF does not output anything, and // eeuser 7.2.2. GIFtag: "... when NLOOP is 0, the GIF does not output anything, and
// values other than the EOP field are disregarded." // values other than the EOP field are disregarded."
if (path->nloop > 0) if (path->nloop > 0)

View File

@ -79,6 +79,12 @@
static vector<u8> s_vTempBuffer, s_vTransferCache; static vector<u8> s_vTempBuffer, s_vTransferCache;
static int gs_imageEnd = 0; static int gs_imageEnd = 0;
// From the start of monster labs. In all 3 cases, psm == 0.
// ZZogl-PG: GetRectMemAddress(0x3f4000, 0x404000, 0x0, 0x0, 0x0, 0x100, 0x40, 0x3f40, 0x100);
// ZZogl-PG: GetRectMemAddress(0x3f8000, 0x408000, 0x0, 0x0, 0x0, 0x100, 0x40, 0x3f80, 0x100);
// ZZogl-PG: GetRectMemAddress(0x3fc000, 0x40c000, 0x0, 0x0, 0x0, 0x100, 0x40, 0x3fc0, 0x100);
void GetRectMemAddress(int& start, int& end, int psm, int x, int y, int w, int h, int bp, int bw) void GetRectMemAddress(int& start, int& end, int psm, int x, int y, int w, int h, int bp, int bw)
{ {
FUNCLOG FUNCLOG
@ -158,7 +164,7 @@
if (end > MEMORY_END) if (end > MEMORY_END)
{ {
ZZLog::Warn_Log("Host local out of bounds!"); ZZLog::Warn_Log("Init host local out of bounds! (end == 0x%x)", end);
//gs.imageTransfer = -1; //gs.imageTransfer = -1;
end = MEMORY_END; end = MEMORY_END;
} }
@ -180,7 +186,6 @@
GetRectMemAddress(start, end, gs.dstbuf.psm, gs.imageX, gs.imageY, gs.imageWnew, gs.imageHnew, gs.dstbuf.bp, gs.dstbuf.bw); GetRectMemAddress(start, end, gs.dstbuf.psm, gs.imageX, gs.imageY, gs.imageWnew, gs.imageHnew, gs.dstbuf.bp, gs.dstbuf.bw);
assert(start < gs_imageEnd); assert(start < gs_imageEnd);
end = gs_imageEnd; end = gs_imageEnd;
// sometimes games can decompress to alpha channel of render target only, in this case // sometimes games can decompress to alpha channel of render target only, in this case

View File

@ -153,7 +153,7 @@ void CreateGameHackTable(GtkWidget *treeview, gameHacks hacks)
add_map_entry(GAME_NOALPHATEST, "00080000", "Disable alpha testing - 00080000"); add_map_entry(GAME_NOALPHATEST, "00080000", "Disable alpha testing - 00080000");
add_map_entry(GAME_DISABLEMRTDEPTH, "00100000", "Enable Multiple RTs - 00100000"); add_map_entry(GAME_DISABLEMRTDEPTH, "00100000", "Enable Multiple RTs - 00100000");
//GAME_32BITTARGS //GAME_32BITTARGS
//GAME_PATH3HACK (still implemented) //GAME_PATH3HACK
//GAME_DOPARALLELCTX //GAME_DOPARALLELCTX
add_map_entry(GAME_XENOSPECHACK, "01000000", "Specular Highlights - 01000000\nMakes graphics faster by removing highlights. (Automatically on for Xenosaga, Okami, & Okage.)"); add_map_entry(GAME_XENOSPECHACK, "01000000", "Specular Highlights - 01000000\nMakes graphics faster by removing highlights. (Automatically on for Xenosaga, Okami, & Okage.)");
//add_map_entry(GAME_PARTIALPOINTERS, "02000000", "Partial targets - 02000000"); //add_map_entry(GAME_PARTIALPOINTERS, "02000000", "Partial targets - 02000000");

View File

@ -217,7 +217,7 @@ typedef struct
gameHacks settings() gameHacks settings()
{ {
gameHacks tempHack; gameHacks tempHack;
tempHack._u32 = (hacks._u32 | def_hacks._u32 | GAME_PATH3HACK); tempHack._u32 = (hacks._u32 | def_hacks._u32);
return tempHack; return tempHack;
} }
bool fullscreen() { return !!(zz_options.fullscreen); } bool fullscreen() { return !!(zz_options.fullscreen); }

View File

@ -116,7 +116,7 @@ typedef struct GameHackStruct
u32 HackMask; u32 HackMask;
} GameHack; } GameHack;
#define HACK_NUMBER 26 #define HACK_NUMBER 25
GameHack HackinshTable[HACK_NUMBER] = GameHack HackinshTable[HACK_NUMBER] =
{ {
@ -142,16 +142,16 @@ GameHack HackinshTable[HACK_NUMBER] =
{"***17 No Alpha Test", GAME_NOALPHATEST}, {"***17 No Alpha Test", GAME_NOALPHATEST},
{"***18 Disable MRT depth", GAME_DISABLEMRTDEPTH}, {"***18 Disable MRT depth", GAME_DISABLEMRTDEPTH},
//{"***xx 32 bit targs", GAME_32BITTARGS}, //{"***xx 32 bit targs", GAME_32BITTARGS},
{"***19 Path 3 hack", GAME_PATH3HACK}, //{"***xx Path 3 hack", GAME_PATH3HACK},
//{"***xx Parallel calls", GAME_DOPARALLELCTX}, //{"***xx Parallel calls", GAME_DOPARALLELCTX},
{"***20 Specular highlights", GAME_XENOSPECHACK}, {"***19 Specular highlights", GAME_XENOSPECHACK},
//{"***xx Partial pointers", GAME_PARTIALPOINTERS}, //{"***xx Partial pointers", GAME_PARTIALPOINTERS},
{"***21 Partial depth", GAME_PARTIALDEPTH}, {"***20 Partial depth", GAME_PARTIALDEPTH},
{"***22 Reget hack", GAME_REGETHACK}, {"***21 Reget hack", GAME_REGETHACK},
{"***23 Gust hack", GAME_GUSTHACK}, {"***22 Gust hack", GAME_GUSTHACK},
{"***24 Log-Z", GAME_NOLOGZ}, {"***23 Log-Z", GAME_NOLOGZ},
{"***25 Auto skipdraw", GAME_AUTOSKIPDRAW} {"***24 Auto skipdraw", GAME_AUTOSKIPDRAW}
}; };
int CurrentHackSetting = 0; int CurrentHackSetting = 0;