From: <chr...@us...> - 2007-09-14 12:32:15
|
Revision: 921 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=921&view=rev Author: chreekar Date: 2007-09-14 05:32:10 -0700 (Fri, 14 Sep 2007) Log Message: ----------- Support for .bat-files as Emulator executable Modified Paths: -------------- trunk/plugins/MyEmulators/myEmulators/Class1.cs trunk/plugins/MyEmulators/output.rar Modified: trunk/plugins/MyEmulators/myEmulators/Class1.cs =================================================================== --- trunk/plugins/MyEmulators/myEmulators/Class1.cs 2007-09-14 10:17:12 UTC (rev 920) +++ trunk/plugins/MyEmulators/myEmulators/Class1.cs 2007-09-14 12:32:10 UTC (rev 921) @@ -286,7 +286,7 @@ String path = selected.getParentItem().getEmulator_path(); String args = ""; //Takes away the switch from path if it exists - if (!path.EndsWith(".exe")) + if (!path.EndsWith(".exe") && !path.EndsWith(".bat")) { args += path.Substring(path.LastIndexOf('.') + 5) + " "; path = path.Remove(path.LastIndexOf('.') + 4); Modified: trunk/plugins/MyEmulators/output.rar =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |