Solve compilation issue in gles platform

This commit is contained in:
Chips 2016-07-31 23:27:47 +02:00
parent aa38eccda8
commit 0021565238
2 changed files with 3 additions and 9 deletions

View file

@ -22,7 +22,7 @@ else ifeq ($(PLATFORM),generic-sdl)
else ifeq ($(PLATFORM),gles)
# For Raspberry Pi uncomment the two below lines
#LDFLAGS += -lbcm_host
#CPU_FLAGS="-mcpu=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard"
#CPU_FLAGS= -mcpu=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard
MORE_CFLAGS += -DARMV6T2
HAVE_GLES_DISPLAY = 1
HAVE_NEON = 1

View file

@ -10,7 +10,6 @@
#include "custom.h"
#include "xwin.h"
#include "drawing.h"
#include "od-pandora/inputmode.h"
#include "savestate.h"
#include "picasso96.h"
@ -251,11 +250,6 @@ void flush_screen ()
{
//SDL_UnlockSurface (prSDLScreen);
if (show_inputmode)
{
inputmode_redraw();
}
if (savestate_state == STATE_DOSAVE)
{
@ -409,8 +403,8 @@ int graphics_init (void)
if (!init_colors ())
return 0;
buttonstate[0] = buttonstate[1] = buttonstate[2] = 0;
keyboard_init();
//buttonstate[0] = buttonstate[1] = buttonstate[2] = 0;
//keyboard_init();
return 1;
}