Call which will be a overlay later

This commit is contained in:
Jaby
2022-11-29 03:28:42 +01:00
parent 2b226d0f9b
commit 351f90da41
2 changed files with 6 additions and 2 deletions

View File

@@ -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();
}
}