Add missing libultra libraries, and make ClearRAM(); optional
This commit is contained in:
1 parent
6f1b18bb5b
commit
81c18ab7fc
5 files changed
+7
No files matched your search
@@ -26,6 +26,9 @@
|
||||
// Support Rumble Pak
|
||||
#define ENABLE_RUMBLE (1 || VERSION_SH)
|
||||
|
||||
// Clear RAM on boot
|
||||
#define CLEARRAM 1
|
||||
|
||||
// Screen Size Defines
|
||||
#define SCREEN_WIDTH 320
|
||||
#define SCREEN_HEIGHT 240
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -476,10 +476,12 @@ void thread1_idle(UNUSED void *arg) {
|
||||
}
|
||||
}
|
||||
|
||||
#if CLEARRAM
|
||||
void ClearRAM(void)
|
||||
{
|
||||
bzero(_mainSegmentEnd, (size_t)osMemSize - (size_t)OS_K0_TO_PHYSICAL(_mainSegmentEnd));
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef ISVPRINT
|
||||
extern u32 gISVDbgPrnAdrs;
|
||||
@@ -498,7 +500,9 @@ void osInitialize_fakeisv() {
|
||||
#endif
|
||||
|
||||
void main_func(void) {
|
||||
#if CLEARRAM
|
||||
ClearRAM();
|
||||
#endif
|
||||
__osInitialize_common();
|
||||
#ifdef ISVPRINT
|
||||
osInitialize_fakeisv();
|
||||
|
||||
Reference in new issue
Block a user