corrected memory info for scripts
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>inv-download
parent
25901a703a
commit
af2bf397b1
|
@ -6309,8 +6309,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
public virtual LSL_Integer llGetFreeMemory()
|
public virtual LSL_Integer llGetFreeMemory()
|
||||||
{
|
{
|
||||||
m_host.AddScriptLPS(1);
|
m_host.AddScriptLPS(1);
|
||||||
// Make scripts designed for LSO happy
|
// Make scripts designed for Mono happy
|
||||||
return 16384;
|
return 65536;
|
||||||
}
|
}
|
||||||
|
|
||||||
public LSL_Integer llGetFreeURLs()
|
public LSL_Integer llGetFreeURLs()
|
||||||
|
@ -12301,15 +12301,15 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
public LSL_Integer llGetSPMaxMemory()
|
public LSL_Integer llGetSPMaxMemory()
|
||||||
{
|
{
|
||||||
m_host.AddScriptLPS(1);
|
m_host.AddScriptLPS(1);
|
||||||
// The value returned for LSO scripts in SL
|
// The value returned for Mono scripts in SL
|
||||||
return 16384;
|
return 65536;
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual LSL_Integer llGetUsedMemory()
|
public virtual LSL_Integer llGetUsedMemory()
|
||||||
{
|
{
|
||||||
m_host.AddScriptLPS(1);
|
m_host.AddScriptLPS(1);
|
||||||
// The value returned for LSO scripts in SL
|
// The value returned for Mono scripts in SL
|
||||||
return 16384;
|
return 65536;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void llScriptProfiler(LSL_Integer flags)
|
public void llScriptProfiler(LSL_Integer flags)
|
||||||
|
|
Loading…
Reference in New Issue