mirror of
https://github.com/cc65/cc65.git
synced 2024-09-28 10:55:43 +00:00
Made cbm_load() be a fastcall function.
This commit is contained in:
parent
604a5b4447
commit
66d79da3c2
@ -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
|
/* 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
|
** address of the file if "data" is the null pointer (like load"name",8,1
|
||||||
** in BASIC).
|
** in BASIC).
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
/* loads file "name" from given device to given address or to the load address
|
/* loads file "name" from given device to given address or to the load address
|
||||||
** of the file if "data" is 0
|
** 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
|
/* LFN is set to 0; but, it's not needed for loading
|
||||||
** (BASIC V2 sets it to the value of the SA for LOAD).
|
** (BASIC V2 sets it to the value of the SA for LOAD).
|
||||||
|
Loading…
Reference in New Issue
Block a user