snesrev / smw

Smw
https://discord.gg/AJJbJAzNNJ
Other
427 stars 42 forks source link

Update main.c #23

Closed qurious-pixel closed 1 year ago

qurious-pixel commented 1 year ago

fixes https://github.com/snesrev/smw/issues/21 fixes https://github.com/snesrev/smw/issues/19

Description

Will this Pull Request break anything?

Suggested Testing Steps

xcom169 commented 1 year ago

There is another issue after this one:

cc -c -O2 -fno-strict-aliasing -Werror -I/usr/include/SDL2 -D_REENTRANT -DSYSTEM_VOLUME_MIXER_AVAILABLE=0 -I. src/smw_05.c -o src/smw_05.o src/smw_05.c:1169:14: error: type defaults to ‘int’ in declaration of ‘kLevelTileAnimationsAddrs’ [-Werror=implicit-int] 1169 | static const kLevelTileAnimationsAddrs[] = { | ^~~~~~~~~ cc1: all warnings being treated as errors make: *** [Makefile:25: src/smw_05.o] Error 1

qurious-pixel commented 1 year ago

@xcom169 filed it as a separate PR. https://github.com/snesrev/smw/pull/24

snesrev commented 1 year ago

Fixed in main branch