diff options
author | Freaky Tech | 2015-03-02 20:55:04 +0100 |
---|---|---|
committer | BlueWall | 2015-03-03 16:09:41 -0500 |
commit | af2bf397b1873d0c62a082ef0067df0691515c64 (patch) | |
tree | 4d9f81a85a98b1567d5f21069189686c80506e18 /OpenSim/Region | |
parent | corrected llGetStartParameter according to http://wiki.secondlife.com/wiki/Ll... (diff) | |
download | opensim-SC-af2bf397b1873d0c62a082ef0067df0691515c64.zip opensim-SC-af2bf397b1873d0c62a082ef0067df0691515c64.tar.gz opensim-SC-af2bf397b1873d0c62a082ef0067df0691515c64.tar.bz2 opensim-SC-af2bf397b1873d0c62a082ef0067df0691515c64.tar.xz |
corrected memory info for scripts
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 23b74ce..9472636 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -6309,8 +6309,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
6309 | public virtual LSL_Integer llGetFreeMemory() | 6309 | public virtual LSL_Integer llGetFreeMemory() |
6310 | { | 6310 | { |
6311 | m_host.AddScriptLPS(1); | 6311 | m_host.AddScriptLPS(1); |
6312 | // Make scripts designed for LSO happy | 6312 | // Make scripts designed for Mono happy |
6313 | return 16384; | 6313 | return 65536; |
6314 | } | 6314 | } |
6315 | 6315 | ||
6316 | public LSL_Integer llGetFreeURLs() | 6316 | public LSL_Integer llGetFreeURLs() |
@@ -12301,15 +12301,15 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
12301 | public LSL_Integer llGetSPMaxMemory() | 12301 | public LSL_Integer llGetSPMaxMemory() |
12302 | { | 12302 | { |
12303 | m_host.AddScriptLPS(1); | 12303 | m_host.AddScriptLPS(1); |
12304 | // The value returned for LSO scripts in SL | 12304 | // The value returned for Mono scripts in SL |
12305 | return 16384; | 12305 | return 65536; |
12306 | } | 12306 | } |
12307 | 12307 | ||
12308 | public virtual LSL_Integer llGetUsedMemory() | 12308 | public virtual LSL_Integer llGetUsedMemory() |
12309 | { | 12309 | { |
12310 | m_host.AddScriptLPS(1); | 12310 | m_host.AddScriptLPS(1); |
12311 | // The value returned for LSO scripts in SL | 12311 | // The value returned for Mono scripts in SL |
12312 | return 16384; | 12312 | return 65536; |
12313 | } | 12313 | } |
12314 | 12314 | ||
12315 | public void llScriptProfiler(LSL_Integer flags) | 12315 | public void llScriptProfiler(LSL_Integer flags) |