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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user