[Kernelloader-cvs] kernelloader/loader pad.c, 1.3, 1.4 Makefile, 1.25, 1.26
Run Linux on the Playstation 2
Brought to you by:
kloader
From: Mega M. <kl...@us...> - 2012-02-09 22:48:28
|
Update of /cvsroot/kernelloader/kernelloader/loader In directory vz-cvs-3.sog:/tmp/cvs-serv24030/loader Modified Files: pad.c Makefile Log Message: Add compile time configuration option to disable screen moving via game pad. Index: Makefile =================================================================== RCS file: /cvsroot/kernelloader/kernelloader/loader/Makefile,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** Makefile 19 Dec 2011 23:30:14 -0000 1.25 --- Makefile 9 Feb 2012 22:48:25 -0000 1.26 *************** *** 49,52 **** --- 49,55 ---- EE_CFLAGS += -DSBIOS_DEBUG endif + ifeq ($(PAD_MOVE_SCREEN),yes) + EE_CFLAGS += -DPAD_MOVE_SCREEN + endif EE_OBJS += $(addsuffix .o, $(subst .,_,$(ROM_FILES))) EE_LIBS += -lz Index: pad.c =================================================================== RCS file: /cvsroot/kernelloader/kernelloader/loader/pad.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** pad.c 2 Apr 2010 17:53:12 -0000 1.3 --- pad.c 9 Feb 2012 22:48:25 -0000 1.4 *************** *** 230,233 **** --- 230,234 ---- paddata = 0xffff ^ buttons.btns; + #ifdef PAD_MOVE_SCREEN /* Change screen position with left analog stick. */ if (buttons.ljoy_h >= 0xbf) { *************** *** 251,254 **** --- 252,256 ---- moveScreen(0, d); } + #endif return paddata; |