Call which will be a overlay later
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
#include <PSX/System/IOPorts/DMA_IO.hpp>
|
||||
#include <stdio.h>
|
||||
|
||||
extern int main();
|
||||
|
||||
namespace JabyEngine {
|
||||
static void enable_DMA() {
|
||||
DMA::DPCR.write(DMA::DPCR.read() | DMA::DMAControlRegister::SPUEnable | DMA::DMAControlRegister::GPUEnable);
|
||||
@@ -19,5 +21,7 @@ namespace JabyEngine {
|
||||
|
||||
SPU::setup();
|
||||
printf("Setup done!\n");
|
||||
|
||||
main();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user