From 0ee967fe17d8ff190bf1aa28f3a5518c36eebef8 Mon Sep 17 00:00:00 2001 From: cuz Date: Fri, 21 Jun 2002 16:26:15 +0000 Subject: [PATCH] Changed function prototype git-svn-id: svn://svn.cc65.org/cc65/trunk@1316 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/common/modfree.s | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/libsrc/common/modfree.s b/libsrc/common/modfree.s index cc879ab08..762e0bb94 100644 --- a/libsrc/common/modfree.s +++ b/libsrc/common/modfree.s @@ -32,26 +32,9 @@ ;*****************************************************************************/ - - .include "modload.inc" - + .export _mod_free .import _free - .importzp ptr1 - -;------------------------------------------------------------------------------ -; mod_free: Free a loaded module - -.code -_mod_free: - sta ptr1 - stx ptr1+1 ; Save parameter - - ldy #MODCTRL_MODULE + 1 - lda (ptr1),y - tax - dey - lda (ptr1),y ; Load module pointer - jmp _free ; Free the module memory +_mod_free = _free ; Just free the memory -- 2.39.5