added a hopfully temp hack for DCE

This commit is contained in:
Djeeberjr 2023-05-29 21:50:01 +02:00
parent 9b10ff1d14
commit 05a220110d
2 changed files with 23 additions and 0 deletions

21
src/kernel/DCEHack.hx Normal file
View File

@ -0,0 +1,21 @@
package kernel;
@:keep
class DCEHack {
// Dont actually call this
public static function load() {
return [
new bin.Disk(),
new bin.GPS(),
new bin.HelloWorld(),
new bin.KernelLog(),
new bin.LSPS(),
new bin.Net(),
new bin.Redstone(),
new bin.Service(),
new bin.Terminal(),
new bin.Turtle(),
new bin.HelloWorldService(),
];
}
}

View File

@ -15,6 +15,8 @@ import kernel.ui.WindowManager;
import kernel.peripherals.Peripherals.Peripheral;
import kernel.net.Net;
import kernel.DCEHack; // Important for DCE hack
class Init {
@:allow(kernel.KernelEvents)