mirror of
https://github.com/zenith391/OCEmu.git
synced 2025-09-16 16:25:45 -04:00
Revert ocemu and settings
This commit is contained in:
parent
13b763995c
commit
fb8500d2f2
@ -4,7 +4,6 @@
|
|||||||
component.connect("filesystem", gen_uuid(), -1, "customlua/ocemu", "ocemu", true, 5)
|
component.connect("filesystem", gen_uuid(), -1, "customlua/ocemu", "ocemu", true, 5)
|
||||||
|
|
||||||
local components = settings.components
|
local components = settings.components
|
||||||
local profiler = settings.profiler
|
|
||||||
|
|
||||||
local function cleanName(name)
|
local function cleanName(name)
|
||||||
if name:find("/", nil, true) then
|
if name:find("/", nil, true) then
|
||||||
@ -110,11 +109,6 @@ function obj.lootremove(name)
|
|||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
|
||||||
mai.profilerEnabled = {direct = true, doc = "function():boolean -- Return whether or not profiler is enabled"}
|
|
||||||
function obj.profilerEnabled()
|
|
||||||
return profiler
|
|
||||||
end
|
|
||||||
|
|
||||||
mai.lootattached = {direct = true, doc = "function(name:string):boolean or nil, string -- Check if a loot disk is inserted in the computer."}
|
mai.lootattached = {direct = true, doc = "function(name:string):boolean or nil, string -- Check if a loot disk is inserted in the computer."}
|
||||||
function obj.lootattached(name)
|
function obj.lootattached(name)
|
||||||
cprint("ocemu.lootattached", name)
|
cprint("ocemu.lootattached", name)
|
||||||
|
@ -24,7 +24,6 @@ settings = {
|
|||||||
|
|
||||||
maxNetworkPacketSize = config.get("misc.maxNetworkPacketSize",8192),
|
maxNetworkPacketSize = config.get("misc.maxNetworkPacketSize",8192),
|
||||||
maxWirelessRange = config.get("misc.maxWirelessRange",400),
|
maxWirelessRange = config.get("misc.maxWirelessRange",400),
|
||||||
profiler = config.get("emulator.profiler",false),
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if settings.monochromeColor == nil then
|
if settings.monochromeColor == nil then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user