/[RomCheater]/trunk/Win32/Sojaner.MemoryScanner/PEReader.cs
ViewVC logotype

Diff of /trunk/Win32/Sojaner.MemoryScanner/PEReader.cs

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

--- trunk/Win32/Sojaner.MemoryScanner/PEReader.cs	2012/06/05 19:18:20	320
+++ trunk/Win32/Sojaner.MemoryScanner/PEReader.cs	2012/06/05 23:12:53	321
@@ -182,12 +182,11 @@
                 int iSecond = 0;
                 iDay = (i16Date & 0x1F);
                 iMonth = ((i16Date & 0x01E0) >> 5);
-                iYear = 1980 + ((i16Date & 0xFE00) >> 9);
+                iYear = 1970 + ((i16Date & 0xFE00) >> 9);
                 iSecond = (i16Time & 0x1F) * 2;
                 iMinute = ((i16Time & 0x07E0) >> 5);
                 iHour = ((i16Time & 0x0F800) >> 11);
                 return new DateTime(iYear, iMonth, iDay, iHour, iMinute, iSecond);
-
             }
 
         }

 

  ViewVC Help
Powered by ViewVC 1.1.22