1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-15 17:30:06 +00:00

Made cbm_load() be a fastcall function.

This commit is contained in:
Greg King 2015-03-13 05:46:40 -04:00
parent 604a5b4447
commit 66d79da3c2
2 changed files with 2 additions and 2 deletions

View File

@ -222,7 +222,7 @@ void cbm_k_unlsn (void);
unsigned int __cdecl__ cbm_load (const char* name, unsigned char device, void* data);
unsigned int __fastcall__ cbm_load (const char* name, unsigned char device, void* data);
/* Loads file "name", from given device, to given address -- or, to the load
** address of the file if "data" is the null pointer (like load"name",8,1
** in BASIC).

View File

@ -11,7 +11,7 @@
/* loads file "name" from given device to given address or to the load address
** of the file if "data" is 0
*/
unsigned int __cdecl__ cbm_load(const char* name, unsigned char device, void* data)
unsigned int __fastcall__ cbm_load(const char* name, unsigned char device, void* data)
{
/* LFN is set to 0; but, it's not needed for loading
** (BASIC V2 sets it to the value of the SA for LOAD).