+1.6.1-roc (2026)
+ * Forked noisytoot repository and merged changes in paxed's repo since
+ last merge.
+ * Changed loadbanner() [dgamelaunch.c] -- $INCLUDE() can now be anywhere
+ in a line.
+
1.6.0-hdf (2018-2020)
* Enhanced watchmode - use game's built-in whatch function instead of
ttyplay, when available (FIQ/Tangles)
while (fgets (buf, DGL_BANNER_LINELEN, bannerfile) != NULL) {
char bufnew[DGL_BANNER_LINELEN+1];
int slen;
+ char *inclpos;
memset (bufnew, 0, DGL_BANNER_LINELEN);
buf[slen-1] = '\0';
strncpy(bufnew, buf, DGL_BANNER_LINELEN);
- if (strstr(bufnew, "$INCLUDE(")) {
- char *fn = bufnew + 9;
+ if ( inclpos = strstr(bufnew, "$INCLUDE(") ) {
+ char *fn = inclpos + 9;
char *fn_end = strchr(fn, ')');
if (fn_end) {
*fn_end = '\0';