<div dir="ltr"><div><div>Ah, whoops.<br><br></div>The way gfx backend options is handled is pretty awkward (there's also extra logic for them in gamecustom_setoption in misc.bas), and the options ought to be also sent to the new backend when switching. (But that should be done by asking the old backend for its state, rather than intercepting commandline options). Also, I'd like to add all of those options (including graphics backend) to gameconfig.ini and editconfig.ini.<br><br></div>So, since the commandline options should override the ini file, but we don't want to separately program every backend to read from the ini, I guess one solution is to read the ini file and send everything to the backend as commandline args, immediately after loading it... OK, that works<br><div class="gmail_extra"><br><div class="gmail_quote">On 29 July 2017 at 02:20, James Paige <span dir="ltr"><<a href="mailto:Bob@hamsterrepublic.com" target="_blank">Bob@hamsterrepublic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Taoki noticed that starting with revision 9078, command line argument handling is partially broken.<br><br></div>I think this was the same revision that introduced the null pointer crash which has already been fixed, but command line arguments like -z 3 are still broken<br><br></div><br></div>
<br>______________________________<wbr>_________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank">ohrrpgce@lists.motherhamster.o<wbr>rg</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.org<wbr>/listinfo.cgi/ohrrpgce-motherh<wbr>amster.org</a><br>
<br></blockquote></div><br></div></div>