review comments; br_ips std=c99

This commit is contained in:
PikalaxALT
2019-10-04 15:45:26 -04:00
parent 136464ce94
commit 7e8bff29bb
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -123,7 +123,7 @@ MAKEFLAGS += --no-print-directory
AUTO_GEN_TARGETS := AUTO_GEN_TARGETS :=
all: rom all: tools rom
rom: $(ROM) rom: $(ROM)
ifeq ($(COMPARE),1) ifeq ($(COMPARE),1)
+2 -2
View File
@@ -11,7 +11,7 @@
struct SeviiDexArea struct SeviiDexArea
{ {
const u16 (* lut)[2]; const u16 (*lut)[2];
s32 count; s32 count;
}; };
@@ -225,7 +225,7 @@ s32 BuildPokedexAreaSubspriteBuffer(u16 species, struct Subsprite * subsprites)
static s32 GetRoamerIndex(u16 species) static s32 GetRoamerIndex(u16 species)
{ {
s32 i; s32 i;
for (i = 0; i < 3u; i++) for (i = 0; i < NELEMS(sRoamerPairs); i++)
{ {
if (sRoamerPairs[i].roamer == species) if (sRoamerPairs[i].roamer == species)
return i; return i;
+1 -1
View File
@@ -1,5 +1,5 @@
CC := gcc CC := gcc
CFLAGS := -O3 CFLAGS := -O3 -std=c99
.PHONY: all .PHONY: all