This should make it easier to find files and (in the future) split things up into separate libraries. It also changes around emulator initialization to make it a little more difficult to do things out of order and a little more sensible as to when real init work happens. Also adding a skeleton audio system/driver and reworking CPU register access to be more extensible.
24 lines
726 B
C++
24 lines
726 B
C++
/**
|
|
******************************************************************************
|
|
* Xenia : Xbox 360 Emulator Research Project *
|
|
******************************************************************************
|
|
* Copyright 2013 Ben Vanik. All rights reserved. *
|
|
* Released under the BSD license - see LICENSE in the root for more details. *
|
|
******************************************************************************
|
|
*/
|
|
|
|
#include <xenia/apu/audio_driver.h>
|
|
|
|
|
|
using namespace xe;
|
|
using namespace xe::apu;
|
|
|
|
|
|
AudioDriver::AudioDriver(xe_memory_ref memory) {
|
|
memory_ = xe_memory_retain(memory);
|
|
}
|
|
|
|
AudioDriver::~AudioDriver() {
|
|
xe_memory_release(memory_);
|
|
}
|