mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
a69c23ad48
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
21 lines
902 B
Diff
21 lines
902 B
Diff
diff -Naur jgrf-1.0.0/src/jgrf.c jgrf-1.0.0.patched/src/jgrf.c
|
|
--- jgrf-1.0.0/src/jgrf.c 2022-12-27 18:23:42.000000000 -0500
|
|
+++ jgrf-1.0.0.patched/src/jgrf.c 2023-01-20 22:48:24.225103350 -0500
|
|
@@ -807,7 +807,8 @@
|
|
else if (!strcasecmp(ext, "lnx"))
|
|
snprintf(gdata.sys, sizeof(gdata.sys), "lynx");
|
|
|
|
- else if (!strcasecmp(ext, "md"))
|
|
+ else if (!strcasecmp(ext, "md") || !strcasecmp(ext, "smd") ||
|
|
+ !strcasecmp(ext, "sra"))
|
|
snprintf(gdata.sys, sizeof(gdata.sys), "md");
|
|
|
|
else if (!strcasecmp(ext, "nds") || !strcasecmp(ext, "dsi"))
|
|
@@ -823,6 +824,7 @@
|
|
snprintf(gdata.sys, sizeof(gdata.sys), "pce");
|
|
|
|
else if (!strcasecmp(ext, "sfc") || !strcasecmp(ext, "smc") ||
|
|
+ !strcasecmp(ext, "fig") || !strcasecmp(ext, "swc") ||
|
|
!strcasecmp(ext, "bs") || !strcasecmp(ext, "st"))
|
|
snprintf(gdata.sys, sizeof(gdata.sys), "snes");
|
|
|