diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2021-05-25 17:29:52 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2021-05-25 17:29:52 -0400 |
commit | 419d45f5750aa79048b8cc12b30315fe655988af (patch) | |
tree | a0d352933a47b9ab56ff0d8d962d431dc64d4781 | |
parent | ce08e2340ac6377deac3c9217888a6b48aa687f8 (diff) |
Use __builtin__clear instead of __clear
-rw-r--r-- | arm9/Makefile | 2 | ||||
-rw-r--r-- | arm9/src/gf_rtc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arm9/Makefile b/arm9/Makefile index 09766c82..6f05d1c5 100644 --- a/arm9/Makefile +++ b/arm9/Makefile @@ -110,7 +110,7 @@ ASM_PROCESSOR := $(ASM_PROCESSOR_DIR)/compile.sh # ./tools/mwccarm/2.0/base/mwasmarm.exe -proc arm5te asm/arm9_thumb.s -o arm9.o ASFLAGS = -proc arm5te -i ../include -i .. -D$(GAME_VERSION) -D$(GAME_LANGUAGE) -CFLAGS = -O4,p -gccext,on -proc arm946e -ipa file -fp soft -lang c99 -Cpp_exceptions off $(foreach dir,$(INCLUDE_DIRS),-i $(dir)) $(foreach dir,$(INCLUDE_RECURSIVE_DIRS),-ir $(dir)) -interworking -DFS_IMPLEMENT -enum int -W most,implicit -D$(GAME_VERSION) -D$(GAME_LANGUAGE) +CFLAGS = -O4,p -gccext,on -proc arm946e -ipa file -fp soft -lang c99 -Cpp_exceptions off $(foreach dir,$(INCLUDE_DIRS),-i $(dir)) $(foreach dir,$(INCLUDE_RECURSIVE_DIRS),-ir $(dir)) -interworking -DFS_IMPLEMENT -enum int -W all -D$(GAME_VERSION) -D$(GAME_LANGUAGE) CXXFLAGS = -O4,p -proc arm946e -fp soft -lang c99 -Cpp_exceptions off $(foreach dir,$(INCLUDE_DIRS),-i $(dir)) $(foreach dir,$(INCLUDE_RECURSIVE_DIRS),-ir $(dir)) -interworking -DFS_IMPLEMENT -enum int -W all -D$(GAME_VERSION) -D$(GAME_LANGUAGE) LDFLAGS = -nodead -w off -proc v5te -interworking -map closure,unused -symtab sort -m _start LIBS := -Llib -lsyscall diff --git a/arm9/src/gf_rtc.c b/arm9/src/gf_rtc.c index 0fc77efb..9a1c1393 100644 --- a/arm9/src/gf_rtc.c +++ b/arm9/src/gf_rtc.c @@ -22,7 +22,7 @@ void GF_RTC_GetDateTime(GF_RTC_Work * work); THUMB_FUNC void GF_InitRTCWork(void)
{
RTC_Init();
- __clear(&sGFRTCWork, sizeof(sGFRTCWork));
+ __builtin__clear(&sGFRTCWork, sizeof(sGFRTCWork));
sGFRTCWork.getDateTimeSuccess = FALSE;
sGFRTCWork.getDateTimeLock = FALSE;
sGFRTCWork.getDateTimeSleep = 0;
|