From: cuz Date: Fri, 21 Jun 2002 16:26:15 +0000 (+0000) Subject: Changed function prototype X-Git-Tag: V2.12.0~2308 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0ee967fe17d8ff190bf1aa28f3a5518c36eebef8;p=cc65 Changed function prototype git-svn-id: svn://svn.cc65.org/cc65/trunk@1316 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- 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