mirror of
https://github.com/libretro/beetle-psx-libretro.git
synced 2024-11-23 08:49:47 +00:00
e9d2688c74
- 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
34 lines
395 B
C
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;
|
|
}
|