Ver Fonte

one more go-round

Thomas "elfprince13" Dickerson há 8 anos atrás
pai
commit
0adab54678

+ 8 - 8
Engine/source/platform/profiler.cpp

@@ -114,20 +114,20 @@ U32 endHighResolutionTimer(U32 time[2])
 void startHighResolutionTimer(U32 time[2])
 {
    __asm__ __volatile__(
-                   "rdtsc\n"
-                   : "=a" (time[0]), "=d" (time[1])
-                   );
+      "rdtsc\n"
+      : "=a" (time[0]), "=d" (time[1])
+      );
 }
 
 U32 endHighResolutionTimer(U32 time[2])
 {
    U32 ticks;
    __asm__ __volatile__(
-                   "rdtsc\n"
-                   "sub  0x4(%%ecx),  %%edx\n"
-                   "sbb  (%%ecx),  %%eax\n"
-                   : "=a" (ticks) : "c" (time)
-                   );
+      "rdtsc\n"
+      "sub  0x4(%%ecx),  %%edx\n"
+      "sbb  (%%ecx),  %%eax\n"
+      : "=a" (ticks) : "c" (time)
+      );
    return ticks;
 }
 

+ 1 - 1
Engine/source/platformMac/macFileIO.mm

@@ -994,7 +994,7 @@ bool Platform::fileTimeToString(FileTime * time, char * string, U32 strLen) { re
 #if defined(TORQUE_DEBUG)
 ConsoleFunction(testHasSubdir,void,2,2,"tests platform::hasSubDirectory") {
 	Con::printf("testing %s",(const char*)argv[1]);
-	Platform::addExcludedDirectory(".svn");
+	Platform::addExcludedDirectory(".svn"); 
 	if(Platform::hasSubDirectory(argv[1]))
 		Con::printf(" has subdir");
 	else