From 8f48e77417568be91f2e4ee8a3318d52abe72f4a Mon Sep 17 00:00:00 2001 From: riwu Date: Sun, 30 Nov 2014 16:26:44 +0800 Subject: [PATCH] Update SmartGraphics.simba fix error: http://i.imgur.com/ON5kpXs.png --- SRL/misc/SmartGraphics.simba | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SRL/misc/SmartGraphics.simba b/SRL/misc/SmartGraphics.simba index d4d13b9..376e690 100644 --- a/SRL/misc/SmartGraphics.simba +++ b/SRL/misc/SmartGraphics.simba @@ -29,7 +29,7 @@ begin {$ENDIF} SMART_Canvas.setSize(765, 503); {$IFDEF LAPE} - SetPersistentMemoryBitmap(SMART_Canvas.getIndex(), SmartDebugArray(smartCurrentTarget), 765, 503); + SMART_Canvas.SetPersistentMemory(SmartDebugArray(smartCurrentTarget), 765, 503); SMART_Canvas.drawClear(0); //clear it in case of previous usage {$ELSE} SetPersistentMemoryBitmap(SMART_Canvas.index, SmartDebugArray(smartCurrentTarget), 765, 503); @@ -537,7 +537,7 @@ begin if (SMART_DebugSetup) then begin {$IFDEF LAPE} - ResetPersistentMemoryBitmap(SMART_Canvas.getIndex()); + SMART_Canvas.ResetPersistentMemory; {$ELSE} ResetPersistentMemoryBitmap(SMART_Canvas.Index); {$ENDIF}