J :
* Fix the last warning and reinstate -Werror on PSP.
This commit is contained in:
@@ -32,7 +32,7 @@ LIBS = -ljge300 -lhgetools -lfreetype -ljpeg -lgif -lpng -lz -lm -lmikmod -lpspp
|
||||
EXTRA_TARGETS = EBOOT.PBP
|
||||
PSP_EBOOT_TITLE = WTH?!
|
||||
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
|
||||
LIBDIR = ../../JGE/lib/psp
|
||||
else
|
||||
|
||||
@@ -179,7 +179,7 @@ void SimplePad::MoveSelection(unsigned char moveto)
|
||||
if(selected < KPD_MAX && selected >= 0)
|
||||
priorKey = selected;
|
||||
|
||||
if(moveto < KPD_MAX && moveto >= 0) {
|
||||
if(moveto < KPD_MAX) {
|
||||
selected = moveto;
|
||||
}
|
||||
else if(moveto == KPD_INPUT)
|
||||
@@ -407,4 +407,4 @@ unsigned int SimplePad::cursorPos(){
|
||||
return buffer.size();
|
||||
|
||||
return cursor;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user