beetle-psx-libretro/pgxp/pgxp_main.c
iCatButler e9d2688c74 Initial PGXP integration
- Create VS 2015 files
- Fix various compiler and linker errors (not sure if I'm missing some existing work arounds)

- Intergate all current operations (CPU currently broken)
- Integrate vertex caching
- Implement perspective correct texturing
- Update command vertices to use floating point positions
- Add menu options to toggle modes
2016-09-25 11:52:57 +01:00

34 lines
395 B
C

#include "pgxp_main.h"
#include "pgxp_cpu.h"
#include "pgxp_mem.h"
#include "pgxp_gte.h"
u32 static gMode = 0;
void PGXP_Init()
{
PGXP_InitMem();
PGXP_InitCPU();
PGXP_InitGTE();
}
void PGXP_SetModes(u32 modes)
{
gMode = modes;
}
u32 PGXP_GetModes()
{
return gMode;
}
void PGXP_EnableModes(u32 modes)
{
gMode |= modes;
}
void PGXP_DisableModes(u32 modes)
{
gMode = gMode & ~modes;
}