fix some git merge conflicts that weren't resolved (#55)

and added -latomic to build flags to fix compile warnings while compiling miniaudio
This commit is contained in:
Isaac0-dev 2024-06-01 13:40:58 +10:00 committed by GitHub
parent b0be6143fb
commit a347f77b3c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 3 deletions

View file

@ -963,6 +963,7 @@ endif
# Prevent a crash with -sopt
export LANG := C
LDFLAGS += -latomic
#==============================================================================#
# Extra CC Flags #

View file

@ -2,7 +2,7 @@
#include "pc/loading.h"
void DynOS_Gfx_GeneratePacks(const char* directory) {
snprintf(gCurrLoadingSegment.str, 256, "Generating DynOS Packs In Path:\n\\#808080\\%s", directory);
REFRESH_MUTEX(snprintf(gCurrLoadingSegment.str, 256, "Generating DynOS Packs In Path:\n\\#808080\\%s", directory));
DIR *modsDir = opendir(directory);
if (!modsDir) { return; }

View file

@ -313,7 +313,7 @@ void* main_game_init(void* isThreaded) {
// load language
if (!djui_language_init(configLanguage)) { snprintf(configLanguage, MAX_CONFIG_STRING, "%s", ""); }
if (gIsThreaded) { REFRESH_MUTEX(loading_screen_set_segment_text("Loading")); }
REFRESH_MUTEX(loading_screen_set_segment_text("Loading"));
dynos_gfx_init();
enable_queued_dynos_packs();
sync_objects_init_system();
@ -322,7 +322,7 @@ void* main_game_init(void* isThreaded) {
// check_for_updates();
// }
if (gIsThreaded) { REFRESH_MUTEX(loading_screen_set_segment_text("Loading ROM Assets")); }
REFRESH_MUTEX(loading_screen_set_segment_text("Loading ROM Assets"));
rom_assets_load();
smlua_text_utils_init();