dispose ptr

This commit is contained in:
Kelvin Sherlock 2013-02-10 20:19:35 -05:00
parent b2a96d636c
commit 4b31bf22bb

View File

@ -28,6 +28,7 @@ namespace ToolBox {
d0 = MM::BlockMove(trap); d0 = MM::BlockMove(trap);
break; break;
// NewPtr [Sys, Clear] (logicalSize: Size): Ptr; // NewPtr [Sys, Clear] (logicalSize: Size): Ptr;
case 0xa11e: case 0xa11e:
case 0xa31e: case 0xa31e:
@ -37,7 +38,10 @@ namespace ToolBox {
d0 = MM::NewPtr(trap); d0 = MM::NewPtr(trap);
break; break;
// DisposPtr (p: Ptr);
case 0xa01f:
d0 = MM::DisposePtr(trap);
break;
// Get1NamedResource (theType: ResType; name: Str255) : Handle; // Get1NamedResource (theType: ResType; name: Str255) : Handle;
case 0xa820: case 0xa820: