Jim Westfall
1d37e0004a
speed up populating GameGrid
...
These changes speed up how long it takes to populate the GameGrid after
clicking on a dat in the Tree. MAME 0.155 dat was used for testing.
Before the changes population times were
windows .net = 2.75 seconds
linux mono = 23 seconds
After the changes, both now take 300-400ms.
This was done using 2 main changes.
1. Fully move populating the rows' Values to the CellFormatting function
2. Determine the total number of rows we will need and use
GameGrid.rowCount to set the row count to that. This is much faster
then doing individual Add()'s for each row.
2014-11-08 10:19:27 -08:00
Jim Westfall
e950b00a67
GetFiles() for mono was missing initializing the Length
2014-10-28 17:42:33 -07:00
Jim Westfall
16ae35a8a1
Make drawn text look better in GameGrid's CCorrect
2014-10-26 20:27:10 -07:00
Jim Westfall
bb4b77a6d7
Move (Rom|Game)Grid CellFormatting functions to be in the right #region sections
2014-10-26 19:58:01 -07:00
Jim Westfall
d5fb529b7b
Need cellbounds to be the full wide and not just the visual.
2014-10-26 19:52:29 -07:00
Jim Westfall
bbfa915636
Replace *CellDraw classes with CellFormatting functions.
...
This fixes rendering and crashing issues in (Rom|Game)Grid with mono.
2014-10-26 19:07:05 -07:00
Jim Westfall
47bf98faf0
remove needless Console.ReadLine(), causes ui to stall waiting for input on console/tty
2014-10-23 22:04:01 -07:00
Jim Westfall
f436495aa2
Fix classes to match up with recent file renames
2014-10-23 21:59:09 -07:00
Jim Westfall
9a6bc0a165
Don't attempt to read Length/LastWriteTimeUtc if the file/dir doesn't exist
2014-10-22 17:56:46 -07:00
gjefferyes
be346c3485
Fix bug:
...
DatMaker truncates filenames containing periods
2014-10-22 10:50:41 -05:00
gjefferyes
3c6ca00d4a
re-added .NET File IO support, to try and get closer to RomVault working on Linux/Mono.
2014-10-22 10:37:47 -05:00
Jim Westfall
9121f65a1f
<DefineConstants> should be semi-colon separated list, not comma. Remove
...
unneeded System.Deployment include (mono doesnt support it).
2014-10-18 20:34:06 -07:00
Jim Westfall
891f53ef34
Standardize the case of file names and how they are referenced in
...
ROMVault2.csproj so its possible to compile on a case sensitive
filesystem (ie mono on linux)
2014-10-18 16:36:00 -07:00
gjefferyes
83bfb6eba6
removed outputPath
2014-09-23 12:08:11 -07:00
gjefferyes
5179fafbc0
First Public Release.
2014-09-23 12:06:15 -07:00