Use system path
svn-id: r15430
This commit is contained in:
parent
d31cd1dd73
commit
c9250e0c0c
8 changed files with 16 additions and 13 deletions
|
@ -21,9 +21,9 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <PalmOS.h>
|
#include <PalmOS.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#include "extend.h"
|
#include "extend.h"
|
||||||
#include "string.h"
|
|
||||||
#include "globals.h"
|
#include "globals.h"
|
||||||
#include "starterrsc.h"
|
#include "starterrsc.h"
|
||||||
|
|
||||||
|
@ -134,7 +134,7 @@ MemPtr _PnoInit(DmResID resID, PnoDescriptor *pnoP) {
|
||||||
}
|
}
|
||||||
|
|
||||||
UInt32 _PnoCall(PnoDescriptor *pnoP, void *userDataP) {
|
UInt32 _PnoCall(PnoDescriptor *pnoP, void *userDataP) {
|
||||||
return PnoCall(pnoP, userDataP);;
|
return PnoCall(pnoP, userDataP);
|
||||||
}
|
}
|
||||||
|
|
||||||
void _PnoFree(PnoDescriptor *pnoP, MemPtr armP) {
|
void _PnoFree(PnoDescriptor *pnoP, MemPtr armP) {
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
#include <Sonyclie.h>
|
#include <Sonyclie.h>
|
||||||
#include "StarterRsc.h"
|
#include "StarterRsc.h"
|
||||||
|
|
||||||
#include "stdio.h"
|
#include <stdio.h>
|
||||||
#include "unistd.h"
|
#include <unistd.h>
|
||||||
#include "stdlib.h"
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "games.h"
|
#include "games.h"
|
||||||
#include "start.h"
|
#include "start.h"
|
||||||
|
@ -38,9 +38,11 @@ static void initARM() {
|
||||||
ARM(PNO_COPYRECT ).pnoPtr = _PnoInit(RSC_COPYRECT, &ARM(PNO_COPYRECT).pnoDesc);
|
ARM(PNO_COPYRECT ).pnoPtr = _PnoInit(RSC_COPYRECT, &ARM(PNO_COPYRECT).pnoDesc);
|
||||||
ARM(PNO_COSTUMEPROC3).pnoPtr = _PceInit(RSC_COSTUMEPROC3);
|
ARM(PNO_COSTUMEPROC3).pnoPtr = _PceInit(RSC_COSTUMEPROC3);
|
||||||
ARM(PNO_DRAWSTRIP ).pnoPtr = _PceInit(RSC_DRAWSTRIP);
|
ARM(PNO_DRAWSTRIP ).pnoPtr = _PceInit(RSC_DRAWSTRIP);
|
||||||
|
ARM(PNO_BLIT ).pnoPtr = _PnoInit(RSC_BLIT, &ARM(PNO_BLIT).pnoDesc);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void releaseARM() {
|
static void releaseARM() {
|
||||||
|
_PnoFree(&ARM(PNO_BLIT ).pnoDesc, ARM(PNO_BLIT).pnoPtr);
|
||||||
_PceFree(ARM(PNO_DRAWSTRIP ).pnoPtr);
|
_PceFree(ARM(PNO_DRAWSTRIP ).pnoPtr);
|
||||||
_PceFree(ARM(PNO_COSTUMEPROC3 ).pnoPtr);
|
_PceFree(ARM(PNO_COSTUMEPROC3 ).pnoPtr);
|
||||||
_PnoFree(&ARM(PNO_COPYRECT ).pnoDesc, ARM(PNO_COPYRECT).pnoPtr);
|
_PnoFree(&ARM(PNO_COPYRECT ).pnoDesc, ARM(PNO_COPYRECT).pnoPtr);
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "stdio.h"
|
#include <stdio.h>
|
||||||
|
|
||||||
FileRef gStdioOutput = 0;
|
FileRef gStdioOutput = 0;
|
||||||
|
|
||||||
|
|
|
@ -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 *)) {
|
void *bsearch(const void *key, const void *base, UInt32 nmemb, UInt32 size, int (*compar)(const void *, const void *)) {
|
||||||
Int32 position;
|
Int32 position;
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "string.h"
|
#include <string.h>
|
||||||
|
|
||||||
void *memchr(const void *s, int c, UInt32 n) {
|
void *memchr(const void *s, int c, UInt32 n) {
|
||||||
UInt32 chr;
|
UInt32 chr;
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "time.h"
|
#include <time.h>
|
||||||
|
|
||||||
// ignore GMT, only device time
|
// ignore GMT, only device time
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "unistd.h"
|
#include <unistd.h>
|
||||||
|
|
||||||
const Char *gUnistdCWD = NULL;
|
const Char *gUnistdCWD = NULL;
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "native.h"
|
#include "native.h"
|
||||||
#include "stdlib.h"
|
|
||||||
#include "globals.h"
|
#include "globals.h"
|
||||||
|
|
||||||
#ifdef COMPILE_PA1SND
|
#ifdef COMPILE_PA1SND
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue