mirror of
https://github.com/cc65/cc65.git
synced 2025-01-14 00:32:08 +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
|
||||
** address of the file if "data" is the null pointer (like load"name",8,1
|
||||
** in BASIC).
|
||||
|
@ -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).
|
||||
|
Loading…
x
Reference in New Issue
Block a user