Simplifying GPU creation.

Part of #296.
This commit is contained in:
Ben Vanik
2015-06-27 09:11:03 -07:00
parent 3439641101
commit 883126d497
13 changed files with 56 additions and 145 deletions

View File

@@ -15,7 +15,7 @@
#include "xenia/base/assert.h"
#include "xenia/base/clock.h"
#include "xenia/base/string.h"
#include "xenia/gpu/gpu.h"
#include "xenia/gpu/graphics_system.h"
#include "xenia/hid/hid.h"
#include "xenia/kernel/kernel.h"
#include "xenia/kernel/kernel_state.h"
@@ -121,7 +121,7 @@ X_STATUS Emulator::Setup() {
xma_decoder_ = std::move(std::make_unique<XmaDecoder>(this));
// Initialize the GPU.
graphics_system_ = std::move(xe::gpu::Create(this));
graphics_system_ = std::move(xe::gpu::GraphicsSystem::Create(this));
if (!graphics_system_) {
return X_STATUS_NOT_IMPLEMENTED;
}