/[RomCheater]/trunk/RomCheater/Docking/FloatingMemorySearcher.cs
ViewVC logotype

Diff of /trunk/RomCheater/Docking/FloatingMemorySearcher.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 485 by william, Mon Jun 3 20:03:06 2013 UTC revision 487 by william, Mon Jun 3 20:12:31 2013 UTC
# Line 1816  namespace RomCheater.Docking Line 1816  namespace RomCheater.Docking
1816                      else                      else
1817                      {                      {
1818                          // need to get the address list                          // need to get the address list
1819                          using (SearchResultReader reader = new SearchResultReader(SearchGuid))                          using (SearchResultReader reader = new SearchResultReader(SearchGuid, true)) // delete the file on dispose
1820                          {                          {
1821                              byte[] guid = SearchGuid.ToByteArray();                              byte[] guid = SearchGuid.ToByteArray();
1822                              guid[guid.Length - 1]++; // increment the search guid by 1                              guid[guid.Length - 1]++; // increment the search guid by 1
# Line 1826  namespace RomCheater.Docking Line 1826  namespace RomCheater.Docking
1826                              {                              {
1827                                  var items = reader.GetSearchAddressValueMatches((IAcceptsProcessAndConfig)this, SearchArgs, new Action<int, string>(UpdateProgress));                                  var items = reader.GetSearchAddressValueMatches((IAcceptsProcessAndConfig)this, SearchArgs, new Action<int, string>(UpdateProgress));
1828    
1829                                    reader.Dispose(); // delete the result file, if allowed
1830    
1831                                  foreach (var item in items)                                  foreach (var item in items)
1832                                  {                                  {
1833                                      switch (SearchArgs.DataType)                                      switch (SearchArgs.DataType)

Legend:
Removed from v.485  
changed lines
  Added in v.487

  ViewVC Help
Powered by ViewVC 1.1.22