mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-10-16 17:24:14 +00:00
fixed compiler warnings
This commit is contained in:
parent
6e5d8e4e85
commit
71852dae82
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* clip_unix.cpp - Clipboard handling, Unix implementation
|
* clip_unix.cpp - Clipboard handling, Unix implementation
|
||||||
*
|
*
|
||||||
* SheepShaver (C) 1997-2008 Christian Bauer and Marc Hellwig
|
* SheepShaver (C) Christian Bauer and Marc Hellwig
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -496,7 +496,7 @@ static void do_getscrap(void **handle, uint32 type, int32 offset)
|
|||||||
0x2f, 0x3c, 0, 0, 0, 0, // move.l #outbuf,-(sp)
|
0x2f, 0x3c, 0, 0, 0, 0, // move.l #outbuf,-(sp)
|
||||||
0xa9, 0xfe, // PutScrap()
|
0xa9, 0xfe, // PutScrap()
|
||||||
0x58, 0x8f, // addq.l #4,sp
|
0x58, 0x8f, // addq.l #4,sp
|
||||||
M68K_RTS >> 8, M68K_RTS
|
M68K_RTS >> 8, M68K_RTS & 0xff
|
||||||
};
|
};
|
||||||
r.d[0] = sizeof(proc);
|
r.d[0] = sizeof(proc);
|
||||||
Execute68kTrap(0xa71e, &r); // NewPtrSysClear()
|
Execute68kTrap(0xa71e, &r); // NewPtrSysClear()
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* adb.cpp - ADB emulation (mouse/keyboard)
|
* adb.cpp - ADB emulation (mouse/keyboard)
|
||||||
*
|
*
|
||||||
* Basilisk II (C) 1997-2008 Christian Bauer
|
* Basilisk II (C) Christian Bauer
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -387,7 +387,7 @@ void ADBInterrupt(void)
|
|||||||
0x2f, 0x01, // move.l d1,-(sp)
|
0x2f, 0x01, // move.l d1,-(sp)
|
||||||
0x70, 0x01, // moveq #1,d0 (MoveTo)
|
0x70, 0x01, // moveq #1,d0 (MoveTo)
|
||||||
0xaa, 0xdb, // CursorDeviceDispatch
|
0xaa, 0xdb, // CursorDeviceDispatch
|
||||||
M68K_RTS >> 8, M68K_RTS
|
M68K_RTS >> 8, M68K_RTS & 0xff
|
||||||
};
|
};
|
||||||
BUILD_SHEEPSHAVER_PROCEDURE(proc);
|
BUILD_SHEEPSHAVER_PROCEDURE(proc);
|
||||||
r.a[0] = ReadMacInt32(mouse_base + 4);
|
r.a[0] = ReadMacInt32(mouse_base + 4);
|
||||||
|
Loading…
Reference in New Issue
Block a user