File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ EE_INCS += -I./include -I$(PS2SDK)/ports/include
55EE_CFLAGS += -D_DEBUG
66EE_CXXFLAGS += -D_DEBUG
77# VU0 code is broken so disable for now
8- EE_CFLAGS += -DNO_VU0_VECTORS
9- EE_CXXFLAGS += -DNO_VU0_VECTORS
8+ EE_CFLAGS += -DNO_VU0_VECTORS -DNO_ASM
9+ EE_CXXFLAGS += -DNO_VU0_VECTORS -DNO_ASM
1010
1111EE_OBJS = \
1212 src/core.o \
Original file line number Diff line number Diff line change @@ -119,9 +119,9 @@ Core::FToI4(float flp)
119119{
120120 tU32 fip;
121121
122- asm __volatile__ (" qmtc2 %1, vf01 \n "
123- " vftoi4 vf01, vf01 \n "
124- " qmfc2 %0, vf01 \n "
122+ asm __volatile__ (" qmtc2 %1, $vf1 \n "
123+ " vftoi4 $vf1, $vf1 \n "
124+ " qmfc2 %0, $vf1 \n "
125125 : " =r" (fip)
126126 : " r" (flp));
127127
Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ void CTexEnv::SetDimensions(tU32 w, tU32 h)
217217 // perspective tex mapping (but what about plain old (u,v)?? -- FIXME)
218218
219219 int page_width = 64 ;
220- unsigned int bpp = GS::GetBitsPerPixel ((enum GS::tPSM)gsrTex0.psm );
220+ unsigned int bpp = GS::GetBitsPerPixel ((GS::tPSM)gsrTex0.psm );
221221 if (bpp == 8 || bpp == 4 )
222222 page_width = 128 ;
223223
You can’t perform that action at this time.
0 commit comments