(BROKEN) lol

This commit is contained in:
Ben
2018-12-20 23:13:23 +00:00
parent 9c6bb25663
commit 2c79ba5a7a
2 changed files with 4 additions and 14 deletions

View File

@@ -1,13 +1,8 @@
#include "libsys.h"
void initialize_libsys() {
__cpu = new CPU();
__mem = new Memory();
__gpu = new GPU();
__sys = new System();
CPU_Instance = __cpu;
Memory_Instance = __mem;
GPU_Instance = __gpu;
System_Instance = __sys;
CPU_Instance = new CPU();
Memory_Instance = new Memory();
GPU_Instance = new GPU();
System_Instance = new System();
}

View File

@@ -5,8 +5,3 @@
#include "temp.h"
void initialize_libsys();
static CPU* __cpu;
static Memory* __mem;
static GPU* __gpu;
static System* __sys;