Setup SPU
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
#include <PSX/System/IOPorts/SPU_IO.hpp>
|
||||
#include <PSX/System/IOPorts/IOPort.hpp>
|
||||
#include <PSX/System/IOPorts/DMA_IO.hpp>
|
||||
|
||||
namespace SPU {
|
||||
using namespace Port;
|
||||
using namespace DMA;
|
||||
|
||||
static void clear_key() {
|
||||
Key::off.write(UI32_MAX);
|
||||
@@ -79,6 +80,7 @@ namespace SPU {
|
||||
setup_data_transfer_control();
|
||||
setup_control_register();
|
||||
|
||||
//DPCR missing
|
||||
// Enable SPU DMA
|
||||
DPCR.write(DPCR.read() | DMAControlRegister::SPUEnable);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user