mirror of
https://github.com/cc65/cc65.git
synced 2025-01-12 02:30:44 +00:00
Change calling convention of cbm_save() to __fastcall__.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4709 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
ba0562c9f0
commit
a86d23a63c
@ -219,8 +219,10 @@ unsigned int cbm_load (const char* name, unsigned char device, void* data);
|
||||
* otherwise 0. "_oserror" contains an errorcode then (see table below).
|
||||
*/
|
||||
|
||||
unsigned char cbm_save (const char* name, unsigned char device,
|
||||
const void* data, unsigned int size);
|
||||
unsigned char __fastcall__ cbm_save (const char* name,
|
||||
unsigned char device,
|
||||
const void* data,
|
||||
unsigned int size);
|
||||
/* Saves "size" bytes starting at "data" to a file.
|
||||
* Returns 0 if saving was successful, otherwise an errorcode (see table
|
||||
* below).
|
||||
|
@ -12,8 +12,10 @@
|
||||
|
||||
/* saves a memory area from start to end-1 to a file.
|
||||
*/
|
||||
unsigned char cbm_save(const char* name, unsigned char device,
|
||||
const void* data, unsigned int size)
|
||||
unsigned char __fastcall__ cbm_save (const char* name,
|
||||
unsigned char device,
|
||||
const void* data,
|
||||
unsigned int size)
|
||||
{
|
||||
cbm_k_setlfs(0, device, 0);
|
||||
cbm_k_setnam(name);
|
||||
|
Loading…
x
Reference in New Issue
Block a user