Auto-load gm.dls on Windows if FluidSynth 2.5.0 or later is detected and no soundfont is specified

Windows builds should generally use it or later
This commit is contained in:
Cacodemon345
2026-01-12 16:20:32 +06:00
parent 1be6e241b4
commit 527fb269e2
3 changed files with 26 additions and 0 deletions

View File

@@ -151,6 +151,9 @@ extern void plat_resize_request(int x, int y, int monitor_index);
extern int plat_language_code(char *langcode);
extern void plat_language_code_r(int id, char *outbuf, int len);
extern void plat_get_cpu_string(char *outbuf, uint8_t len);
#ifdef _WIN32
extern void plat_get_system_directory(char *outbuf);
#endif
extern void plat_set_thread_name(void *thread, const char *name);
extern void plat_break(void);
extern void plat_send_to_clipboard(unsigned char *rgb, int width, int height);