mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-22 12:05:11 +00:00
Extend CoopNet/Discord mod list description length
This commit is contained in:
parent
036e5ad53c
commit
821852ec9a
3 changed files with 4 additions and 4 deletions
|
@ -169,9 +169,9 @@ unsigned int configMenuLevel = 0;
|
|||
bool configMenuSound = false;
|
||||
bool configMenuRandom = false;
|
||||
bool configMenuDemos = false;
|
||||
bool configDynosLocalPlayerModelOnly = false;
|
||||
bool configDisablePopups = false;
|
||||
char configLanguage[MAX_CONFIG_STRING] = "";
|
||||
bool configDynosLocalPlayerModelOnly = false;
|
||||
// CoopNet settings
|
||||
char configCoopNetIp[MAX_CONFIG_STRING] = DEFAULT_COOPNET_IP;
|
||||
unsigned int configCoopNetPort = DEFAULT_COOPNET_PORT;
|
||||
|
|
|
@ -121,8 +121,8 @@ void discord_activity_update(void) {
|
|||
}
|
||||
|
||||
// HACK: give the detail population more space than the Discord details can fit so it gets truncated without cutting off the largest strings
|
||||
char details[256] = { 0 };
|
||||
discord_populate_details(details, 256);
|
||||
char details[512] = { 0 };
|
||||
discord_populate_details(details, 512);
|
||||
|
||||
snprintf(sCurActivity.details, 128, "%s", details);
|
||||
|
||||
|
|
|
@ -176,7 +176,7 @@ bool ns_coopnet_is_connected(void) {
|
|||
|
||||
static void coopnet_populate_description(void) {
|
||||
char* buffer = sCoopNetDescription;
|
||||
int bufferLength = 512;
|
||||
int bufferLength = 1024;
|
||||
// get version
|
||||
const char* version = get_version_online();
|
||||
int versionLength = strlen(version);
|
||||
|
|
Loading…
Reference in a new issue