/[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

--- trunk/RomCheater/Docking/FloatingMemorySearcher.cs	2013/06/04 20:31:03	506
+++ trunk/RomCheater/Docking/FloatingMemorySearcher.cs	2013/06/04 21:16:35	508
@@ -1834,15 +1834,22 @@
                                             throw new ArgumentNullException("sr", string.Format("Unable to cast: '{0}' to '{1}'", reader.GetType().Name, typeof(ISerializedResult).Name));
                                         }
                                         int sr_index = 0;
-                                        if (sr.ContainsAddress(obre_CurrentIndex, obre_unsigned, obre_sdt, new Action<int, string>(this.UpdateProgress), out sr_index))
+                                        try
                                         {
-                                            StructResultType<ulong> result = StructResultType<ulong>.Empty;
-                                            sr.GetResultAtAddress(obre_CurrentIndex, obre_unsigned, obre_sdt, new Action<int, string>(this.UpdateProgress), out result);
-                                            if (Debugger.IsAttached)
+                                            if (sr.ContainsAddress(obre_CurrentIndex, obre_unsigned, obre_sdt, new Action<int, string>(this.UpdateProgress), out sr_index))
                                             {
-                                                Debugger.Break();
-                                            }
+                                                StructResultType<ulong> result = StructResultType<ulong>.Empty;
+                                                sr.GetResultAtAddress(obre_CurrentIndex, obre_unsigned, obre_sdt, new Action<int, string>(this.UpdateProgress), out result);
+                                                if (Debugger.IsAttached)
+                                                {
+                                                    Debugger.Break();
+                                                }
 
+                                            }
+                                        }
+                                        catch (Exception ex)
+                                        {
+                                            throw ex;
                                         }
                                         switch (obre_sdt)
                                         {

 

  ViewVC Help
Powered by ViewVC 1.1.22