HiddenProccess works + MenoryUtil.getTotalMem() is used

This commit is contained in:
lunarcleint
2023-03-25 20:45:22 -07:00
parent afb3f1cb24
commit d042018dab
4 changed files with 128 additions and 72 deletions
-12
View File
@@ -62,18 +62,6 @@ class WindowsAPI {
#end
}
public static function getTotalRam() {
#if windows
return Windows.getTotalRam();
#elseif mac
return Mac.getTotalRam();
#elseif linux
return Linux.getTotalRam();
#else
return 0;
#end
}
public static function consoleColorToOpenFL(color:ConsoleColor) {
return switch(color) {
case BLACK: 0xFF000000;