* Fix the last warning and reinstate -Werror on PSP.
This commit is contained in:
jean.chalard
2009-08-28 11:25:03 +00:00
parent 32204e8c37
commit 9723f18827
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ LIBS = -ljge300 -lhgetools -lfreetype -ljpeg -lgif -lpng -lz -lm -lmikmod -lpspp
EXTRA_TARGETS = EBOOT.PBP EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = WTH?! PSP_EBOOT_TITLE = WTH?!
PSP_EBOOT_ICON = icon.png PSP_EBOOT_ICON = icon.png
CXXFLAGS = -O2 -G0 -Wall -DDEVHOOK -DPSPFW3XX -fno-exceptions CXXFLAGS = -O2 -G0 -Wall -Werror -DDEVHOOK -DPSPFW3XX -fno-exceptions
INCDIR = ../../JGE/include ../../JGE/include/psp ../../JGE/include/psp/freetype2 ../../JGE/src INCDIR = ../../JGE/include ../../JGE/include/psp ../../JGE/include/psp/freetype2 ../../JGE/src
LIBDIR = ../../JGE/lib/psp LIBDIR = ../../JGE/lib/psp
else else
+2 -2
View File
@@ -179,7 +179,7 @@ void SimplePad::MoveSelection(unsigned char moveto)
if(selected < KPD_MAX && selected >= 0) if(selected < KPD_MAX && selected >= 0)
priorKey = selected; priorKey = selected;
if(moveto < KPD_MAX && moveto >= 0) { if(moveto < KPD_MAX) {
selected = moveto; selected = moveto;
} }
else if(moveto == KPD_INPUT) else if(moveto == KPD_INPUT)
@@ -407,4 +407,4 @@ unsigned int SimplePad::cursorPos(){
return buffer.size(); return buffer.size();
return cursor; return cursor;
} }