mirror of https://github.com/PCSX2/pcsx2.git
GregMiscellaneous: zzogl-pg: Remove the Gust hack from Mana Khemia. A few misc changes.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3966 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
b199b57a76
commit
8219ed5527
|
@ -374,8 +374,10 @@ static const Game_Info crc_game_list[] =
|
|||
//{0x4437F4B1, ArTonelico1, US, GAME_GUSTHACK, -1, -1},
|
||||
{0xF95F37EE, ArTonelico2, US, GAME_GUSTHACK, -1, -1},
|
||||
{0xF46142D3, ArTonelico2, JPUNDUB, GAME_GUSTHACK, -1, -1},
|
||||
{0x77b0236f, ManaKhemia1, US, GAME_GUSTHACK , -1, -1},
|
||||
{0x433951e7, ManaKhemia2, US, GAME_GUSTHACK, -1, -1},
|
||||
|
||||
// According to Zeydlitz, Mana Khemia no longer needs the Gust Hack.
|
||||
//{0x77b0236f, ManaKhemia1, US, GAME_GUSTHACK, -1, -1},
|
||||
//{0x433951e7, ManaKhemia2, US, GAME_GUSTHACK, -1, -1},
|
||||
//{0xda11c6d4, AtelierJudie, JP, GAME_GUSTHACK, -1, -1},
|
||||
//{0x3e72c085, AtelierLilie, JP, GAME_GUSTHACK, -1, -1},
|
||||
//{0x6eac076b, AtelierViorate, JP, GAME_GUSTHACK, -1, -1},
|
||||
|
|
|
@ -70,9 +70,11 @@ void __forceinline Kick::KickVertex(bool adc)
|
|||
|
||||
void Kick::SET_VERTEX(VertexGPU *p, int i)
|
||||
{
|
||||
p->move_x(gs.gsvertex[i], vb[prim->ctxt].offset.x);
|
||||
p->move_y(gs.gsvertex[i], vb[prim->ctxt].offset.y);
|
||||
p->move_z(gs.gsvertex[i], vb[prim->ctxt].zprimmask);
|
||||
VB& curvb = vb[prim->ctxt];
|
||||
|
||||
p->move_x(gs.gsvertex[i], curvb.offset.x);
|
||||
p->move_y(gs.gsvertex[i], curvb.offset.y);
|
||||
p->move_z(gs.gsvertex[i], curvb.zprimmask);
|
||||
p->move_fog(gs.gsvertex[i]);
|
||||
|
||||
p->rgba = prim->iip ? gs.gsvertex[i].rgba : gs.rgba;
|
||||
|
|
|
@ -770,8 +770,7 @@ inline void AfterRendererUnimportantJob()
|
|||
|
||||
AfterRenderCountStatistics();
|
||||
|
||||
if (s_nNewWidth >= 0 && s_nNewHeight >= 0)
|
||||
AfterRendererResizeWindow();
|
||||
if (s_nNewWidth >= 0 && s_nNewHeight >= 0) AfterRendererResizeWindow();
|
||||
|
||||
maxmin = 608;
|
||||
}
|
||||
|
|
|
@ -27,8 +27,9 @@
|
|||
|
||||
extern const GLenum primtype[8];
|
||||
|
||||
struct VB
|
||||
class VB
|
||||
{
|
||||
public:
|
||||
VB();
|
||||
~VB();
|
||||
|
||||
|
@ -59,7 +60,6 @@ struct VB
|
|||
pixTest test;
|
||||
u32 ptexClamp[2]; // textures for x and y dir region clamping
|
||||
|
||||
public:
|
||||
void FlushTexData();
|
||||
inline int CheckFrameAddConstraints(int tbp);
|
||||
inline void CheckScissors(int maxpos);
|
||||
|
@ -81,9 +81,9 @@ public:
|
|||
void IncreaseVertexBuffer()
|
||||
{
|
||||
assert(pBufferData != NULL && nCount > nNumVertices);
|
||||
VertexGPU* ptemp = (VertexGPU*)_aligned_malloc(sizeof(VertexGPU) * nNumVertices * 2, 256);
|
||||
memcpy_amd(ptemp, pBufferData, sizeof(VertexGPU) * nCount);
|
||||
nNumVertices *= 2;
|
||||
VertexGPU* ptemp = (VertexGPU*)_aligned_malloc(sizeof(VertexGPU) * nNumVertices, 256);
|
||||
memcpy_amd(ptemp, pBufferData, sizeof(VertexGPU) * nCount);
|
||||
assert(nCount <= nNumVertices);
|
||||
_aligned_free(pBufferData);
|
||||
pBufferData = ptemp;
|
||||
|
|
Loading…
Reference in New Issue