From 4b31bf22bb2d6e899e299df1b5b2077b14d82aaf Mon Sep 17 00:00:00 2001 From: Kelvin Sherlock Date: Sun, 10 Feb 2013 20:19:35 -0500 Subject: [PATCH] dispose ptr --- toolbox/toolbox.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/toolbox/toolbox.cpp b/toolbox/toolbox.cpp index d7cb55a..21e6a96 100644 --- a/toolbox/toolbox.cpp +++ b/toolbox/toolbox.cpp @@ -28,6 +28,7 @@ namespace ToolBox { d0 = MM::BlockMove(trap); break; + // NewPtr [Sys, Clear] (logicalSize: Size): Ptr; case 0xa11e: case 0xa31e: @@ -37,7 +38,10 @@ namespace ToolBox { d0 = MM::NewPtr(trap); break; - + // DisposPtr (p: Ptr); + case 0xa01f: + d0 = MM::DisposePtr(trap); + break; // Get1NamedResource (theType: ResType; name: Str255) : Handle; case 0xa820: