mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-24 21:15:12 +00:00
Update win64 coopnet
This commit is contained in:
parent
61b72ae1ee
commit
f35a6621dc
5 changed files with 9 additions and 5 deletions
4
Makefile
4
Makefile
|
@ -976,9 +976,9 @@ COOPNET_LIBS :=
|
|||
ifeq ($(COOPNET),1)
|
||||
ifeq ($(WINDOWS_BUILD),1)
|
||||
ifeq ($(TARGET_BITS), 32)
|
||||
LDFLAGS += -Llib/coopnet/win32 -l:libcoopnet.a -l:libjuice.a -lbcrypt -lws2_32
|
||||
LDFLAGS += -Llib/coopnet/win32 -l:libcoopnet.a -l:libjuice.a -lbcrypt -lws2_32 -liphlpapi
|
||||
else
|
||||
LDFLAGS += -Llib/coopnet/win64 -l:libcoopnet.a -l:libjuice.a -lbcrypt -lws2_32
|
||||
LDFLAGS += -Llib/coopnet/win64 -l:libcoopnet.a -l:libjuice.a -lbcrypt -lws2_32 -liphlpapi
|
||||
endif
|
||||
else ifeq ($(OSX_BUILD),1)
|
||||
LDFLAGS += -Wl,-rpath,@loader_path -L./lib/coopnet/mac/ -l coopnet
|
||||
|
|
Binary file not shown.
|
@ -36,8 +36,12 @@ void discord_fatal(int rc) {
|
|||
}
|
||||
|
||||
if (rc != DiscordResult_Ok) {
|
||||
static sDiscordReported = false;
|
||||
if (!sDiscordReported) {
|
||||
sDiscordReported = true;
|
||||
LOG_ERROR("Discord threw an error. RC: %d", rc);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static void get_oauth2_token_callback(UNUSED void* data, enum EDiscordResult result, struct DiscordOAuth2Token* token) {
|
||||
|
|
|
@ -68,7 +68,7 @@ void gfx_cc_print(struct ColorCombiner *cc) {
|
|||
printf("0x%08x", cm->flags);
|
||||
|
||||
printf(");");
|
||||
printf(" // %016lx", cm->hash);
|
||||
printf(" // %016" PRIx64, cm->hash);
|
||||
printf("\n");
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -100,7 +100,7 @@ void network_receive_chat(struct Packet* p) {
|
|||
// add the message
|
||||
djui_chat_message_create_from(globalIndex, remoteMessage);
|
||||
|
||||
if (gNetworkSystem && gNetworkSystem->get_id_str && np && np->name) {
|
||||
if (gNetworkSystem && gNetworkSystem->get_id_str && np) {
|
||||
LOG_CONSOLE("[%s] %s: %s", gNetworkSystem->get_id_str(np->localIndex), np->name, remoteMessage);
|
||||
}
|
||||
LOG_INFO("rx chat: %s", remoteMessage);
|
||||
|
|
Loading…
Reference in a new issue