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}