Skip to content

Commit 8b49048

Browse files
committed
[PYRA] Added PYRA profile
1 parent 52638ba commit 8b49048

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
prototype
22
*.o
33
*.bc
4-
4+
.gdb_history
5+
.vscode

Engine.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Engine::Engine(int width, int height, bool fscreen, char* winName)
6464
winWidth = width;
6565
winHeight = height;
6666
int vsync=0, bpp=32, log=1, joystick=1;
67-
#ifdef PANDORA
67+
#if defined(PANDORA) || defined(PYRA)
6868
int fullscreen=1;
6969
#else
7070
int fullscreen = fscreen?1:0;
@@ -104,7 +104,7 @@ Engine::Engine(int width, int height, bool fscreen, char* winName)
104104
#endif
105105
FPS?bShowFps = true: bShowFps= false;
106106
scanlines?bScanlines=true:bScanlines=false;
107-
#if defined(PANDORA)
107+
#if defined(PANDORA) || defined(PYRA)
108108
bRenderTargetSupport=true;
109109
#else
110110
renderTargets? bRenderTargetSupport=true:bRenderTargetSupport=false;
@@ -428,7 +428,7 @@ void Engine::InitializeKeys()
428428
mKeys[1].SecondaryKey = SDLK_s;
429429
mKeys[2].SecondaryKey = SDLK_d;
430430
mKeys[3].SecondaryKey = SDLK_a;
431-
#ifdef PANDORA
431+
#if defined(PANDORA) || defined(PYRA)
432432
mKeys[4].SecondaryKey = SDLK_PAGEDOWN;
433433
mKeys[5].SecondaryKey = SDLK_END;
434434
#else

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ ifeq ($(ODROID),1)
33
CXXFLAGS = -O3 -fsigned-char -fdiagnostics-color=auto -mcpu=cortex-a9 -mfpu=neon -mfloat-abi=hard -fsingle-precision-constant -g -ffast-math -I./ -I/usr/include/GL -Wno-write-strings -DODROID
44
LDFLAGS = -lGL -lm
55
DEST = /usr/local
6+
else ifeq ($(ODROID),1)
7+
CXXFLAGS = -O3 -fsigned-char -fdiagnostics-color=auto -mcpu=cortex-a15 -mfpu=neon-vfpv4 -marm -mfloat-abi=hard -fsingle-precision-constant -g -ffast-math -I./ -I/usr/include/GL -Wno-write-strings -DPYRA
8+
LDFLAGS = -lGL -lm
9+
DEST = /usr/local
610
else ifeq ($(LINUX),1)
711
CXXFLAGS = -O2 -g -I./ -I/usr/include/GL -Wno-write-strings
812
LDFLAGS = -lGL -lm

0 commit comments

Comments
 (0)