I just successfully compiled version R69. I did not understand the previous message.
I have a problem compiling I downloaded the lastest cgtoolkit but it doesn't seem to have wglext.h in it.
I have got the GC and the GL in another emulator (dolphin-emu)
(03-03-2009, 10:44 PM)Zeydlitz Wrote: [ -> ]I prefer to have svn at home for obvious reason: for me it's very important to have svn access 99% of the time (except power going off). And 3rd party solutions do not acceptable, because internet is cheap now, but sometimes going evil.
What's about mirrot then?
Just create a project on Google.Code and update it's svn along with your home one (when you have time and willing to do this ofc).
Well, I simply have no time. I hardly have time to sleep. Maybe on some stage I return plugin code into pcsx2 repository.
Your last review doesn't compilonr windows (I'm talking about the R71).
Code:
..\zerogs.cpp(1051) : warning C4244: '=' : conversion from 'int' to 'dReal', possible loss of data
..\zerogs.cpp(1052) : warning C4244: '=' : conversion from 'int' to 'dReal', possible loss of data
..\zerogs.cpp(1623) : warning C4554: '&' : check operator precedence for possible error; use parentheses to clarify precedence
..\zerogs.cpp(1624) : warning C4554: '&' : check operator precedence for possible error; use parentheses to clarify precedence
..\zerogs.cpp(1624) : warning C4552: '&' : operator has no effect; expected operator with side-effect
..\zerogs.cpp(1628) : warning C4554: '>>' : check operator precedence for possible error; use parentheses to clarify precedence
..\zerogs.cpp(2294) : warning C4244: '=' : conversion from 'int' to 'dReal', possible loss of data
..\zerogs.cpp(2299) : warning C4244: '=' : conversion from 'int' to 'dReal', possible loss of data
..\zerogs.cpp(2565) : warning C4244: '=' : conversion from 'int' to 'dReal', possible loss of data
..\zerogs.cpp(2580) : warning C4553: '==' : operator has no effect; did you intend '='?
..\zerogs.cpp(2659) : error C3861: 'PSMT_BITMODE': identifier not found
..\zerogs.cpp(2659) : error C2050: switch expression not integral
..\zerogs.cpp(2670) : error C3861: 'PSMT_BITMODE': identifier not found
..\zerogs.cpp(2670) : error C2050: switch expression not integral
..\zerogs.cpp(2681) : error C3861: 'PSMT_BITMODE': identifier not found
..\zerogs.cpp(2681) : error C2050: switch expression not integral
..\zerogs.cpp(2691) : error C3861: 'PSMT_BITMODE': identifier not found
..\zerogs.cpp(2691) : error C2050: switch expression not integral
..\zerogs.cpp(2702) : error C3861: 'PSMT_BITMODE': identifier not found
..\zerogs.cpp(2702) : error C2050: switch expression not integral
..\zerogs.cpp(2711) : error C3861: 'PSMT_BITMODE': identifier not found
..\zerogs.cpp(2711) : error C2050: switch expression not integral
..\zerogs.cpp(2720) : error C3861: 'PSMT_BITMODE': identifier not found
..\zerogs.cpp(2720) : error C2050: switch expression not integral
..\zerogs.cpp(2731) : error C3861: 'PSMT_BITMODE': identifier not found
..\zerogs.cpp(2731) : error C2050: switch expression not integral
..\zerogs.cpp(2742) : error C3861: 'PSMT_BITMODE': identifier not found
..\zerogs.cpp(2742) : error C2050: switch expression not integral
..\zerogs.cpp(2752) : error C3861: 'PSMT_BITMODE': identifier not found
..\zerogs.cpp(2752) : error C2050: switch expression not integral
..\zerogs.cpp(2761) : error C3861: 'PSMT_BITMODE': identifier not found
..\zerogs.cpp(2761) : error C2050: switch expression not integral
..\zerogs.cpp(2772) : error C3861: 'PSMT_BITMODE': identifier not found
..\zerogs.cpp(2772) : error C2050: switch expression not integral
..\zerogs.cpp(2781) : error C3861: 'PSMT_BITMODE': identifier not found
..\zerogs.cpp(2781) : error C2050: switch expression not integral
..\zerogs.cpp(2790) : error C3861: 'PSMT_BITMODE': identifier not found
..\zerogs.cpp(2790) : error C2050: switch expression not integral
..\zerogs.cpp(2808) : error C3861: 'PSMT_BITMODE': identifier not found
..\zerogs.cpp(2808) : error C2050: switch expression not integral
..\zerogs.cpp(2817) : error C3861: 'PSMT_BITMODE': identifier not found
..\zerogs.cpp(2817) : error C2050: switch expression not integral
Code:
\
case 1: \
/* if in 24 bit mode, dest alpha should be one */ \
switch(PSMT_BITMODE(vb[icurctx].prndr->psm)) \
{ \
case 0: \
bDestAlphaColor = (a.d!=2)&&((a.a==a.d)||(a.b==a.d)); \
break; \
\
case 1: \
/* dest alpha should be one */ \
bDestAlphaColor = 2; \
break; \
/* default: 16bit surface, so returned alpha is ok */ \
} \
break; \
If I understand the problem just this thing :
PSMT_BITMODE Who would not be defined ?
Most likely because it was never defined nor declared in the GS.h (find . | xargs grep 'PSMT_BITMODE' returns only the single instance called in zerogs.cpp)
In other news, I'm getting a weird bug in FFX, although ZZ OGl fixes the image reversal bug, I get a new bug that isn't present in current trunk of zeroGS
Whenever I use an item in battle ( like a potion ) the program seg faults with std:bad_balloc. My hunch is that this is due to the clear() function. Zeydlitz, try this:
http://www.gidforums.com/t-18754.html Though I have no idea why it happens exclusively when using an item.
Oops. I forget about PSNT_BITMODE change. Fixed. I look will at items with FFX soon.
Fixed item crush. I just wrote if ( data & 0x700000 == 0 ) -- it's not equal to if ( (data & 0x700000) == 0 ).