Adding yaml-cpp for #428, use rando fork until jbeder/yaml-cpp#342 lands.

This commit is contained in:
Ben Vanik
2016-01-01 12:13:36 -08:00
parent 171a10ab9b
commit 8770e6e6cf
8 changed files with 27 additions and 1 deletions

View File

@@ -19,6 +19,7 @@
#include "third_party/capstone/include/x86.h"
#include "third_party/imgui/imgui.h"
#include "third_party/imgui/imgui_internal.h"
#include "third_party/yaml-cpp/include/yaml-cpp/yaml.h"
#include "xenia/base/clock.h"
#include "xenia/base/logging.h"
#include "xenia/base/math.h"

View File

@@ -12,10 +12,12 @@ project("xenia-debug-ui")
"xenia-cpu",
"xenia-debug",
"xenia-ui",
"yaml-cpp",
})
defines({
})
includedirs({
project_root.."/third_party/gflags/src",
project_root.."/third_party/yaml-cpp/include/",
})
local_platform_files()

View File

@@ -289,7 +289,7 @@ dword_result_t NtWriteFile(dword_t file_handle, dword_t event_handle,
size_t bytes_written = 0;
result = file->Write(
buffer, buffer_length,
byte_offset_ptr ? static_cast<uint32_t>(*byte_offset_ptr) : -1u,
byte_offset_ptr ? static_cast<uint32_t>(*byte_offset_ptr) : -1,
&bytes_written, apc_context);
if (XSUCCEEDED(result)) {
info = (int32_t)bytes_written;