GregMiscellaneous: zzogl-pg: Windows compilation fixes.

git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@4000 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
arcum42 2010-11-06 06:28:45 +00:00
parent 7501916896
commit be3d71272c
3 changed files with 172 additions and 175 deletions

View File

@ -73,12 +73,6 @@ static __forceinline u64 GetCPUTicks()
#else #else
static __aligned16 LARGE_INTEGER lfreq; static __aligned16 LARGE_INTEGER lfreq;
inline unsigned long timeGetTime()
{
// Implement later.
return (unsigned long)0;
}
inline unsigned long timeGetPreciseTime() inline unsigned long timeGetPreciseTime()
{ {
// Implement later. // Implement later.

View File

@ -49,7 +49,9 @@ bool __forceinline NoHighlights(int i)
return (!(conf.settings().xenosaga_spec) || !vb[i].zbuf.zmsk || prim->iip) ; return (!(conf.settings().xenosaga_spec) || !vb[i].zbuf.zmsk || prim->iip) ;
} }
void __forceinline Kick::KickVertex(bool adc) // Not inlining for the moment to avoid getting 'unresolved external symbol' errors in Windows.
// This could also be resolved by moving the function into the header...
void Kick::KickVertex(bool adc)
{ {
FUNCLOG FUNCLOG
if (++gs.primC >= (int)g_primmult[prim->prim]) if (++gs.primC >= (int)g_primmult[prim->prim])

View File

@ -48,6 +48,7 @@ class Kick
~Kick() { } ~Kick() { }
void KickVertex(bool adc); void KickVertex(bool adc);
void DrawPrim(u32 i); void DrawPrim(u32 i);
inline void DirtyValidPrevPrim() { inline void DirtyValidPrevPrim() {