mirror of
https://github.com/vivier/EMILE.git
synced 2024-12-21 18:30:20 +00:00
In SCSICmd() count is short, so use move.w
This commit is contained in:
parent
bd1790c47f
commit
5d0c15c516
@ -46,10 +46,9 @@ static inline OSErr SCSICmd(void* buffer, short count)
|
||||
{
|
||||
register OSErr ret asm("%%d0");
|
||||
|
||||
asm("move.l %2, %%d0\n"
|
||||
" clr.w -(%%sp)\n"
|
||||
asm(" clr.w -(%%sp)\n"
|
||||
" move.l %1, -(%%sp)\n"
|
||||
" move.w %d0, -(%%sp)\n"
|
||||
" move.w %2, -(%%sp)\n"
|
||||
SCSIDispatch(_SCSICmd)
|
||||
: "=d" (ret) : "g" (buffer), "g" (count) : UNPRESERVED_REGS );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user