diff --git a/src/nvcore/Debug.cpp b/src/nvcore/Debug.cpp index 8c9e622..868f79f 100644 --- a/src/nvcore/Debug.cpp +++ b/src/nvcore/Debug.cpp @@ -186,7 +186,7 @@ namespace mov ctx.Esp, esp } #else - RtlCaptureContext(&ctx); + RtlCaptureContext(&ctx); // Not implemented correctly in x86. #endif return backtraceWithSymbols(&ctx, trace, maxcount, 1); diff --git a/src/nvcore/Debug.h b/src/nvcore/Debug.h index 3599b43..c2a7fc7 100644 --- a/src/nvcore/Debug.h +++ b/src/nvcore/Debug.h @@ -133,10 +133,10 @@ namespace nv if (reinterpret_cast(ptr) < 0x10000ULL) return false; if (reinterpret_cast(ptr) >= 0x000007FFFFFEFFFFULL) return false; #else - if (reinterpret_cast(ptr) == 0xcccccccc) return false; - if (reinterpret_cast(ptr) == 0xcdcdcdcd) return false; - if (reinterpret_cast(ptr) == 0xdddddddd) return false; - if (reinterpret_cast(ptr) == 0xffffffff) return false; + if (reinterpret_cast(ptr) == 0xcccccccc) return false; + if (reinterpret_cast(ptr) == 0xcdcdcdcd) return false; + if (reinterpret_cast(ptr) == 0xdddddddd) return false; + if (reinterpret_cast(ptr) == 0xffffffff) return false; #endif return true; }