Minor project cleanup:

- Consolidated duplicate PSP / PSPENV defines;
- removed some ancillary file crap from the 2010 projects;
- pulled 1xx references from the makefiles;
- consolidated multiple #defines for OutputDebugString into one header (previously was split between config.h & DebugRoutines.h).
This commit is contained in:
wrenczes@gmail.com
2011-04-22 13:12:36 +00:00
parent 1827e99780
commit ae227a7cb8
10 changed files with 15 additions and 50 deletions

View File

@@ -7,7 +7,7 @@
#include "WFont.h"
#include <sys/stat.h>
#ifdef PSPENV
#ifdef PSP
#include "pspsdk.h"
#endif
@@ -164,7 +164,7 @@ u32 ramAvailableLineareMax(void)
size = 0;
sizeblock = RAM_BLOCK;
#ifdef PSPENV
#ifdef PSP
int disableInterrupts = pspSdkDisableInterrupts();
#endif
@@ -190,7 +190,7 @@ u32 ramAvailableLineareMax(void)
free(ram);
}
#ifdef PSPENV
#ifdef PSP
pspSdkEnableInterrupts(disableInterrupts);
#endif
@@ -207,7 +207,7 @@ u32 ramAvailable(void)
size = 0;
count = 0;
#ifdef PSPENV
#ifdef PSP
int disableInterrupts = pspSdkDisableInterrupts();
#endif
@@ -247,7 +247,7 @@ u32 ramAvailable(void)
free(ram);
}
#ifdef PSPENV
#ifdef PSP
pspSdkEnableInterrupts(disableInterrupts);
#endif
return size;