From: <chr...@us...> - 2007-10-26 14:59:32
|
Revision: 1006 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=1006&view=rev Author: chreekar Date: 2007-10-26 07:59:29 -0700 (Fri, 26 Oct 2007) Log Message: ----------- in DB.init(): create DB file through File.Create if it doesn't exist Modified Paths: -------------- trunk/plugins/MyEmulators/myEmulators/DB.cs trunk/plugins/MyEmulators/output.rar Modified: trunk/plugins/MyEmulators/myEmulators/DB.cs =================================================================== --- trunk/plugins/MyEmulators/myEmulators/DB.cs 2007-10-22 13:00:37 UTC (rev 1005) +++ trunk/plugins/MyEmulators/myEmulators/DB.cs 2007-10-26 14:59:29 UTC (rev 1006) @@ -38,7 +38,12 @@ public static void launch() { - sqlDB = new SQLiteClient("database\\" + dbName); + String path = "database\\" + dbName; + if (!File.Exists(path)) + { + File.Create(path); + } + sqlDB = new SQLiteClient(path); createDBs(); try { 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. |