Cleaning up apu/ and renaming -private files to _flags.

Part of #296.
This commit is contained in:
Ben Vanik
2015-06-27 11:25:45 -07:00
parent 0d2d07e8e6
commit 8c69a4df09
64 changed files with 249 additions and 541 deletions

View File

@@ -11,7 +11,8 @@
#include <gflags/gflags.h>
#include "xenia/apu/apu.h"
#include "xenia/apu/audio_system.h"
#include "xenia/apu/xma_decoder.h"
#include "xenia/base/assert.h"
#include "xenia/base/clock.h"
#include "xenia/base/string.h"
@@ -113,15 +114,15 @@ X_STATUS Emulator::Setup() {
memory_.get(), export_resolver_.get(), debugger_.get());
// Initialize the APU.
audio_system_ = std::move(xe::apu::Create(this));
audio_system_ = xe::apu::AudioSystem::Create(this);
if (!audio_system_) {
return X_STATUS_NOT_IMPLEMENTED;
}
xma_decoder_ = std::move(std::make_unique<XmaDecoder>(this));
xma_decoder_ = std::make_unique<XmaDecoder>(this);
// Initialize the GPU.
graphics_system_ = std::move(xe::gpu::GraphicsSystem::Create(this));
graphics_system_ = xe::gpu::GraphicsSystem::Create(this);
if (!graphics_system_) {
return X_STATUS_NOT_IMPLEMENTED;
}