Fixup 360 support

This commit is contained in:
DrChat
2018-04-03 19:02:49 -05:00
parent 6b8a34c9ba
commit 14abe1a407
7 changed files with 68 additions and 26 deletions

View File

@@ -60,6 +60,15 @@ project("xenia-app")
project_root,
})
filter("platforms:Linux")
links({
"X11",
"xcb",
"X11-xcb",
"GL",
"vulkan",
})
filter("platforms:Windows")
links({
"xenia-apu-xaudio2",

View File

@@ -13,6 +13,7 @@
// NOTE: if you're including this file it means you are explicitly depending
// on Linux headers. Including this file outside of linux platform specific
// source code will break portability
#include <cstddef>
#include "xenia/base/platform.h"

View File

@@ -189,7 +189,7 @@ class TestRunner {
~TestRunner() {
memory::DeallocFixed(memory_, memory_size_,
memory::DeallocationType::kDecommitRelease);
memory::DeallocationType::kRelease);
memory::AlignedFree(context_);
}

View File

@@ -68,6 +68,15 @@ project("xenia-gpu-gl4-trace-viewer")
"../../base/main_"..platform_suffix..".cc",
})
filter("platforms:Linux")
links({
"X11",
"xcb",
"X11-xcb",
"GL",
"vulkan",
})
filter("platforms:Windows")
links({
"xenia-apu-xaudio2",

View File

@@ -71,6 +71,15 @@ project("xenia-gpu-vulkan-trace-viewer")
"../../base/main_"..platform_suffix..".cc",
})
filter("platforms:Linux")
links({
"X11",
"xcb",
"X11-xcb",
"GL",
"vulkan",
})
filter("platforms:Windows")
links({
"xenia-apu-xaudio2",
@@ -131,6 +140,15 @@ project("xenia-gpu-vulkan-trace-dump")
"../../base/main_"..platform_suffix..".cc",
})
filter("platforms:Linux")
links({
"X11",
"xcb",
"X11-xcb",
"GL",
"vulkan",
})
filter("platforms:Windows")
-- Only create the .user file if it doesn't already exist.
local user_file = project_root.."/build/xenia-gpu-vulkan-trace-dump.vcxproj.user"