diff options
| -rw-r--r-- | backends/PalmOS/Src/extend.cpp | 4 | ||||
| -rw-r--r-- | backends/PalmOS/Src/launch.cpp | 8 | ||||
| -rw-r--r-- | backends/PalmOS/Src/missing/_stdio.cpp | 2 | ||||
| -rw-r--r-- | backends/PalmOS/Src/missing/_stdlib.cpp | 2 | ||||
| -rw-r--r-- | backends/PalmOS/Src/missing/_string.cpp | 2 | ||||
| -rw-r--r-- | backends/PalmOS/Src/missing/_time.cpp | 4 | ||||
| -rw-r--r-- | backends/PalmOS/Src/missing/_unistd.cpp | 4 | ||||
| -rw-r--r-- | backends/PalmOS/Src/snd_pa1.cpp | 3 | 
8 files changed, 16 insertions, 13 deletions
| diff --git a/backends/PalmOS/Src/extend.cpp b/backends/PalmOS/Src/extend.cpp index d2054ac65e..70d1f891bb 100644 --- a/backends/PalmOS/Src/extend.cpp +++ b/backends/PalmOS/Src/extend.cpp @@ -21,9 +21,9 @@   */  #include <PalmOS.h> +#include <string.h>  #include "extend.h" -#include "string.h"  #include "globals.h"  #include "starterrsc.h" @@ -134,7 +134,7 @@ MemPtr _PnoInit(DmResID resID, PnoDescriptor *pnoP) {  }  UInt32 _PnoCall(PnoDescriptor *pnoP, void *userDataP) { -	return PnoCall(pnoP, userDataP);; +	return PnoCall(pnoP, userDataP);  }  void _PnoFree(PnoDescriptor *pnoP, MemPtr armP) { diff --git a/backends/PalmOS/Src/launch.cpp b/backends/PalmOS/Src/launch.cpp index c475922265..c4c3e2dae8 100644 --- a/backends/PalmOS/Src/launch.cpp +++ b/backends/PalmOS/Src/launch.cpp @@ -2,9 +2,9 @@  #include <Sonyclie.h>  #include "StarterRsc.h" -#include "stdio.h" -#include "unistd.h"	 -#include "stdlib.h" +#include <stdio.h> +#include <unistd.h>	 +#include <stdlib.h>  #include "games.h"  #include "start.h" @@ -38,9 +38,11 @@ static void initARM() {  	ARM(PNO_COPYRECT	).pnoPtr = _PnoInit(RSC_COPYRECT, &ARM(PNO_COPYRECT).pnoDesc);  	ARM(PNO_COSTUMEPROC3).pnoPtr = _PceInit(RSC_COSTUMEPROC3);  	ARM(PNO_DRAWSTRIP	).pnoPtr = _PceInit(RSC_DRAWSTRIP); +	ARM(PNO_BLIT		).pnoPtr = _PnoInit(RSC_BLIT, &ARM(PNO_BLIT).pnoDesc);  }  static void releaseARM() { +	_PnoFree(&ARM(PNO_BLIT			).pnoDesc, ARM(PNO_BLIT).pnoPtr);  	_PceFree(ARM(PNO_DRAWSTRIP		).pnoPtr);  	_PceFree(ARM(PNO_COSTUMEPROC3	).pnoPtr);  	_PnoFree(&ARM(PNO_COPYRECT		).pnoDesc, ARM(PNO_COPYRECT).pnoPtr); diff --git a/backends/PalmOS/Src/missing/_stdio.cpp b/backends/PalmOS/Src/missing/_stdio.cpp index 6939448c78..9987084fd7 100644 --- a/backends/PalmOS/Src/missing/_stdio.cpp +++ b/backends/PalmOS/Src/missing/_stdio.cpp @@ -20,7 +20,7 @@   *   */ -#include "stdio.h" +#include <stdio.h>  FileRef	gStdioOutput = 0; diff --git a/backends/PalmOS/Src/missing/_stdlib.cpp b/backends/PalmOS/Src/missing/_stdlib.cpp index 3b8bdb4b62..968435938c 100644 --- a/backends/PalmOS/Src/missing/_stdlib.cpp +++ b/backends/PalmOS/Src/missing/_stdlib.cpp @@ -20,7 +20,7 @@   *   */ -#include "stdlib.h" +#include <stdlib.h>  void *bsearch(const void *key, const void *base, UInt32 nmemb, UInt32 size, int (*compar)(const void *, const void *)) {  	Int32 position; diff --git a/backends/PalmOS/Src/missing/_string.cpp b/backends/PalmOS/Src/missing/_string.cpp index 191185dddf..03a9aa2f90 100644 --- a/backends/PalmOS/Src/missing/_string.cpp +++ b/backends/PalmOS/Src/missing/_string.cpp @@ -20,7 +20,7 @@   *   */ -#include "string.h" +#include <string.h>  void *memchr(const void *s, int c, UInt32 n) {  	UInt32 chr; diff --git a/backends/PalmOS/Src/missing/_time.cpp b/backends/PalmOS/Src/missing/_time.cpp index 71c348c1a7..122ff7ccf5 100644 --- a/backends/PalmOS/Src/missing/_time.cpp +++ b/backends/PalmOS/Src/missing/_time.cpp @@ -20,7 +20,7 @@   *   */ -#include "time.h" +#include <time.h>  // ignore GMT, only device time @@ -57,4 +57,4 @@ struct tm *localtime(const time_t *timer) {  	tmDate.tm_wday	= dt.weekDay;  	return &tmDate; -}
\ No newline at end of file +} diff --git a/backends/PalmOS/Src/missing/_unistd.cpp b/backends/PalmOS/Src/missing/_unistd.cpp index ea83e1bb73..9e54c1f42e 100644 --- a/backends/PalmOS/Src/missing/_unistd.cpp +++ b/backends/PalmOS/Src/missing/_unistd.cpp @@ -20,7 +20,7 @@   *   */ -#include "unistd.h" +#include <unistd.h>  const Char *gUnistdCWD = NULL; @@ -36,4 +36,4 @@ Char *getcwd(Char *buf, UInt32 size) {  	}  	return copy; -}
\ No newline at end of file +} diff --git a/backends/PalmOS/Src/snd_pa1.cpp b/backends/PalmOS/Src/snd_pa1.cpp index 133d112c8a..d53d63b2a5 100644 --- a/backends/PalmOS/Src/snd_pa1.cpp +++ b/backends/PalmOS/Src/snd_pa1.cpp @@ -1,5 +1,6 @@ +#include <stdlib.h> +  #include "native.h" -#include "stdlib.h"  #include "globals.h"  #ifdef COMPILE_PA1SND | 
