corrected memory info for scripts

Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
inv-download
Freaky Tech 2015-03-02 20:55:04 +01:00 committed by BlueWall
parent 25901a703a
commit af2bf397b1
1 changed files with 6 additions and 6 deletions

View File

@ -6309,8 +6309,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
public virtual LSL_Integer llGetFreeMemory()
{
m_host.AddScriptLPS(1);
// Make scripts designed for LSO happy
return 16384;
// Make scripts designed for Mono happy
return 65536;
}
public LSL_Integer llGetFreeURLs()
@ -12301,15 +12301,15 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
public LSL_Integer llGetSPMaxMemory()
{
m_host.AddScriptLPS(1);
// The value returned for LSO scripts in SL
return 16384;
// The value returned for Mono scripts in SL
return 65536;
}
public virtual LSL_Integer llGetUsedMemory()
{
m_host.AddScriptLPS(1);
// The value returned for LSO scripts in SL
return 16384;
// The value returned for Mono scripts in SL
return 65536;
}
public void llScriptProfiler(LSL_Integer flags)