Permalink
Browse files

Another buildfix, sigh. Also extend the safe region a little bit to t…

…he thing from a couple commits ago.
  • Loading branch information...
hrydgard committed Dec 13, 2017
1 parent d2fe5ab commit b4a44c5e022513ac89f019f6eb2b9c2ba098e977
Showing with 2 additions and 3 deletions.
  1. +1 −2 Common/Vulkan/VulkanDebug.cpp
  2. +1 −1 Common/x64Emitter.h
@@ -17,7 +17,6 @@
#include <string>
#include <cassert>
#include <iostream>
#include <sstream>
#include "Common/Vulkan/VulkanContext.h"
@@ -95,7 +94,7 @@ VkBool32 VKAPI_CALL Vulkan_Dbg(VkDebugReportFlagsEXT msgFlags, VkDebugReportObje
}
}
#else
std::cout << message;
ILOG("%s", message.str().c_str());
#endif
// false indicates that layer should not bail-out of an
@@ -1077,7 +1077,7 @@ class XCodeBlock : public CodeBlock<XEmitter> {
return true;
#else
ptrdiff_t diff = GetCodePtr() - (const uint8_t *)ptr;
return diff > -0x7FFFFFF0 && diff < 0x7FFFFFF0;
return diff > -0x7FFFFFE0 && diff < 0x7FFFFFE0;
#endif
}
};

0 comments on commit b4a44c5

Please sign in to comment.