소스 검색

* Fixed libndsfpc building
- Removed some deprecated examples about libnds filesystem

git-svn-id: trunk@19260 -

Legolas 14 년 전
부모
커밋
8ce243eafd

+ 1 - 1
packages/libndsfpc/Makefile.fpc

@@ -7,7 +7,7 @@ name=libndsfpc
 version=2.7.1
 version=2.7.1
 
 
 [target]
 [target]
-units=nds9 nds7 dswifi9 dswifi7 fat gbfs filesystem maxmod9  maxmod7
+units=nds9 nds7 dswifi9 dswifi7 fat filesystem maxmod9  maxmod7
 exampledirs=examples
 exampledirs=examples
 
 
 [compiler]
 [compiler]

+ 1 - 1
packages/libndsfpc/examples/filesystem/Makefile.fpc

@@ -3,7 +3,7 @@
 #
 #
 
 
 [target]
 [target]
-dirs=embedded_gbfs libfat nitrofs
+dirs=libfat nitrofs
 
 
 [require]
 [require]
 packages=libndsfpc
 packages=libndsfpc

+ 1 - 1
packages/libndsfpc/examples/filesystem/libfat/Makefile.fpc

@@ -3,7 +3,7 @@
 #
 #
 
 
 [target]
 [target]
-dirs=access_dir access_file
+dirs=libfatdir
 
 
 [require]
 [require]
 packages=libndsfpc
 packages=libndsfpc

+ 2 - 1
packages/libndsfpc/src/nds/system.inc

@@ -42,10 +42,11 @@ const
 //	POWER_ALL      : PM_Bits = PM_ARM9_DIRECT or POWER_ALL_2D or POWER_3D_CORE or POWER_MATRIX;
 //	POWER_ALL      : PM_Bits = PM_ARM9_DIRECT or POWER_ALL_2D or POWER_3D_CORE or POWER_MATRIX;
 	POWER_ALL      : PM_Bits = (1 shl 16) or (1 shl 0) or (1 shl 1) or (1 shl 9) or (1 shl 3) or (1 shl 2);
 	POWER_ALL      : PM_Bits = (1 shl 16) or (1 shl 0) or (1 shl 1) or (1 shl 9) or (1 shl 3) or (1 shl 2);
 
 
-procedure SystemSleep(); cdecl; external;
+//procedure SystemSleep(); cdecl; external;
 procedure ledBlink(bm: cint); cdecl; external;
 procedure ledBlink(bm: cint); cdecl; external;
 
 
 {$ifdef ARM9}
 {$ifdef ARM9}
+procedure SystemSleep(); cdecl; external;
 procedure powerOn(bits: cint); cdecl; external;
 procedure powerOn(bits: cint); cdecl; external;
 procedure powerOff(bits: cint); cdecl; external;
 procedure powerOff(bits: cint); cdecl; external;