mirror of
https://github.com/bebbo/amiga-gcc.git
synced 2025-12-08 22:38:25 +00:00
The .fd file supplied with the CAMD SDK contains an incorrect function definition for CreateMidiA(), which means that a stub is not generated for the CreateMidi() function. This also causes fd2sfd to emit the warning: Warning: CreateMidiA gets 2 params and 1 regs! Add a patch to fix the warning from fd2sfd and allow sfdc to generate a stub for CreateMidi().
12 lines
330 B
Diff
12 lines
330 B
Diff
--- camd/fd/camd_lib.fd.orig 2020-09-26 20:21:15.315420700 +0100
|
|
+++ camd/fd/camd_lib.fd 2020-09-26 20:21:27.785420700 +0100
|
|
@@ -3,7 +3,7 @@
|
|
##public
|
|
LockCAMD(locktype)(d0)
|
|
UnlockCAMD(lock)(a0)
|
|
-CreateMidiA(name,tags)(a0)
|
|
+CreateMidiA(tags)(a0)
|
|
DeleteMidi(mi)(a0)
|
|
SetMidiAttrsA(mi,tags)(a0,a1)
|
|
GetMidiAttrsA(mi,tags)(a0,a1)
|