Skip to content

Commit 3b93e07

Browse files
committed
dsda: fix stack overflow
1 parent d33591b commit 3b93e07

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Assets/dll/dsda.wbx.zst

3.91 MB
Binary file not shown.

waterbox/dsda/BizhawkInterface.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -434,13 +434,13 @@ ECL_EXPORT void dsda_set_random_callback(ECL_ENTRY void (*cb)(int))
434434
}
435435

436436
// showing errors to user
437-
ECL_ENTRY void (*error_callback_cb)(const char *);
438-
void biz_error_callback(const char *s)
437+
ECL_ENTRY void (*error_callback_cb)(char *);
438+
void biz_error_callback(char *s)
439439
{
440440
if (error_callback_cb)
441441
error_callback_cb(s);
442442
}
443-
ECL_EXPORT void dsda_set_error_callback(ECL_ENTRY void (*cb)(const char *))
443+
ECL_EXPORT void dsda_set_error_callback(ECL_ENTRY void (*cb)(char *))
444444
{
445445
error_callback_cb = cb;
446446
}

waterbox/dsda/core

0 commit comments

Comments
 (0)