From da1b5365a71acc32b95d9b850b775609aecaa909 Mon Sep 17 00:00:00 2001 From: garak Date: Wed, 17 Oct 2018 08:55:09 -0400 Subject: [PATCH] label a flag in the asm --- asm/contest_link_81D9DE4.s | 2 +- asm/easy_chat.s | 4 ++-- asm/pokenav.s | 2 +- asm/script_menu.s | 2 +- tools/gbagfx/Makefile | 2 +- tools/mid2agb/Makefile | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/asm/contest_link_81D9DE4.s b/asm/contest_link_81D9DE4.s index 35191e10f..3969be9a2 100644 --- a/asm/contest_link_81D9DE4.s +++ b/asm/contest_link_81D9DE4.s @@ -97,7 +97,7 @@ _081D9EB4: ldrb r1, [r1] adds r0, 0x2C strb r1, [r0] - ldr r0, =0x00000864 + ldr r0, =0x00000864 @ = FLAG_SYS_GAME_CLEAR bl FlagGet lsls r0, 24 lsrs r0, 24 diff --git a/asm/easy_chat.s b/asm/easy_chat.s index e99c885cc..c73224807 100644 --- a/asm/easy_chat.s +++ b/asm/easy_chat.s @@ -7951,7 +7951,7 @@ sub_811EA28: @ 811EA28 bgt _0811EA48 cmp r0, 0x11 blt _0811EA66 - ldr r0, =0x00000864 + ldr r0, =0x00000864 @ = FLAG_SYS_GAME_CLEAR bl FlagGet b _0811EA60 .pool @@ -9131,7 +9131,7 @@ _0811F2FE: adds r3, 0x1 cmp r3, 0x10 ble _0811F2FE - ldr r0, =0x00000864 + ldr r0, =0x00000864 @ = FLAG_SYS_GAME_CLEAR bl FlagGet lsls r0, 24 cmp r0, 0 diff --git a/asm/pokenav.s b/asm/pokenav.s index cfad3feda..a8d3c838f 100644 --- a/asm/pokenav.s +++ b/asm/pokenav.s @@ -30184,7 +30184,7 @@ _081D6670: asrs r0, 1 lsls r0, 1 subs r4, r0 - ldr r0, =0x00000864 + ldr r0, =0x00000864 @ = FLAG_SYS_GAME_CLEAR bl FlagGet lsls r0, 24 cmp r0, 0 diff --git a/asm/script_menu.s b/asm/script_menu.s index bb145e78d..703c052f3 100644 --- a/asm/script_menu.s +++ b/asm/script_menu.s @@ -718,7 +718,7 @@ _080E23AC: adds r4, 0x1 cmp r4, 0x3 bls _080E23AC - ldr r6, =0x00000864 + ldr r6, =0x00000864 @ = FLAG_SYS_GAME_CLEAR adds r0, r6, 0 bl FlagGet lsls r0, 24 diff --git a/tools/gbagfx/Makefile b/tools/gbagfx/Makefile index c10b258de..339585b92 100644 --- a/tools/gbagfx/Makefile +++ b/tools/gbagfx/Makefile @@ -1,6 +1,6 @@ CC = gcc -CFLAGS = -Wall -Wextra -Werror -std=c11 -O2 -s -DPNG_SKIP_SETJMP_CHECK +CFLAGS = -Wall -Wextra -Werror -std=c11 -O2 -DPNG_SKIP_SETJMP_CHECK LIBS = -lpng -lz diff --git a/tools/mid2agb/Makefile b/tools/mid2agb/Makefile index 4dc2f123f..77f96db5a 100644 --- a/tools/mid2agb/Makefile +++ b/tools/mid2agb/Makefile @@ -1,6 +1,6 @@ CXX := g++ -CXXFLAGS := -std=c++11 -O2 -s -Wall -Wno-switch -Werror +CXXFLAGS := -std=c++11 -O2 -Wall -Wno-switch -Werror SRCS := agb.cpp error.cpp main.cpp midi.cpp tables.cpp