mirror of
https://github.com/libretro/beetle-pce-fast-libretro.git
synced 2024-11-23 07:50:03 +00:00
vdc.cpp --> vdc.c
This commit is contained in:
parent
5857eb6ce6
commit
25550fc6cf
2
Makefile
2
Makefile
@ -114,7 +114,7 @@ else ifeq ($(platform), psp1)
|
||||
CXX = psp-g++$(EXE_EXT)
|
||||
AR = psp-ar$(EXE_EXT)
|
||||
ENDIANNESS_DEFINES := -DLSB_FIRST
|
||||
FLAGS += -DPSP -G0
|
||||
FLAGS += -DPSP -G0 -std=c99
|
||||
FLAGS += -DHAVE_MKDIR
|
||||
STATIC_LINKING = 1
|
||||
EXTRA_INCLUDES := -I$(shell psp-config --pspsdk-path)/include
|
||||
|
@ -32,7 +32,7 @@ The spectrum peaked at 15734 Hz. 21477272.727272... / 3 / 15734 = 455.00(CPU cy
|
||||
#include <math.h>
|
||||
|
||||
#ifdef PSP
|
||||
#include "vdc_psp.cpp"
|
||||
#include "vdc_psp.c"
|
||||
#endif
|
||||
|
||||
static uint32 disabled_layer_color;
|
||||
|
@ -217,11 +217,11 @@ static inline void sceGuClutMode_(unsigned int cpsm, unsigned int shift,
|
||||
static inline int getExp_(int val)
|
||||
{
|
||||
unsigned int i;
|
||||
asm("clz %0, %1\n":"=r"(i):"r"(val&0x3FF));
|
||||
__asm__("clz %0, %1\n":"=r"(i):"r"(val&0x3FF));
|
||||
return 31 - i;
|
||||
}
|
||||
|
||||
void inline sceGuTexImage_(int mipmap, int width, int height, int tbw,
|
||||
static inline void sceGuTexImage_(int mipmap, int width, int height, int tbw,
|
||||
const void* tbp)
|
||||
{
|
||||
sendCommandi(0xa0, ((unsigned int)tbp) & 0xffffff);
|
||||
|
Loading…
Reference in New Issue
Block a user