$(FRONTEND_DIR)/cspace_neon.S
SOURCES_C += $(NEON_DIR)/psx_gpu_if.c
else ifeq ($(TARGET_ARCH_ABI),armeabi)
- SOURCES_ASM += $(UNAI_DIR)/gpu_arm.s \
+ SOURCES_ASM += $(UNAI_DIR)/gpu_arm.S \
$(FRONTEND_DIR)/cspace_arm.S
SOURCES_C += $(UNAI_DIR)/gpulib_if.cpp
else
case 0x48 ... 0x4F:
{
u32 num_vertexes = 1;
- u32 *list_position = &(list[2]);
+ u32 *list_position = (u32*)&(list[2]);
gpuDrawLF(gpuPixelDrivers [ (Blending_Mode | Masking | Blending | (PixelMSB>>3)) >> 1]);
gpuDrawLF(gpuPixelDrivers [ (Blending_Mode | Masking | Blending | (PixelMSB>>3)) >> 1]);
num_vertexes++;
- if(list_position >= list_end) {
+ if(list_position >= (u32*)list_end) {
cmd = -1;
goto breakloop;
}
case 0x58 ... 0x5F:
{
u32 num_vertexes = 1;
- u32 *list_position = &(list[2]);
+ u32 *list_position = (u32*)&(list[2]);
gpuDrawLG(gpuPixelDrivers [ (Blending_Mode | Masking | Blending | (PixelMSB>>3)) >> 1]);
gpuDrawLG(gpuPixelDrivers [ (Blending_Mode | Masking | Blending | (PixelMSB>>3)) >> 1]);
num_vertexes++;
- if(list_position >= list_end) {
+ if(list_position >= (u32*)list_end) {
cmd = -1;
goto breakloop;
}