revision 786:8f6ece92500e
summary |
tree |
shortlog |
changelog |
graph |
changeset |
raw | bz2 | zip | gz changeset | 786:8f6ece92500e |
parent | 785:00235838aaec |
child | 787:6717c02ff81f |
author | nkeynes |
date | Tue Jul 29 08:51:10 2008 +0000 (15 years ago) |
Fix minor warnings
1.1 --- a/src/cocoaui/cocoa_win.c Tue Jul 29 08:50:49 2008 +00001.2 +++ b/src/cocoaui/cocoa_win.c Tue Jul 29 08:51:10 2008 +00001.3 @@ -18,6 +18,7 @@1.5 #include "cocoaui/cocoaui.h"1.6 #include "lxdream.h"1.7 +#include "dreamcast.h"1.8 #include <ApplicationServices/ApplicationServices.h>1.10 @interface NSWindow (OSX10_5_and_later)
2.1 --- a/src/drivers/audio_osx.c Tue Jul 29 08:50:49 2008 +00002.2 +++ b/src/drivers/audio_osx.c Tue Jul 29 08:51:10 2008 +00002.3 @@ -97,8 +97,8 @@2.4 output_buffer = buffer;2.5 output_buffer->posn = 0;2.6 AudioDeviceStart(output_device, audio_osx_callback);2.7 - return FALSE;2.8 }2.9 + return FALSE;2.10 }2.12 void audio_osx_start()
3.1 --- a/src/drivers/cd_osx.c Tue Jul 29 08:50:49 2008 +00003.2 +++ b/src/drivers/cd_osx.c Tue Jul 29 08:51:10 2008 +00003.3 @@ -158,7 +158,7 @@3.4 {3.5 gdrom_image_t image = (gdrom_image_t)disc;3.6 int real_lba = lba - 150;3.7 - int sector_size;3.8 + int sector_size = 2352;3.9 int direct_read = 1;3.10 char data[MAX_SECTOR_SIZE];3.11 osx_cdrom_drive_t drive = OSX_DRIVE(disc);
4.1 --- a/src/drivers/osx_iokit.h Tue Jul 29 08:50:49 2008 +00004.2 +++ b/src/drivers/osx_iokit.h Tue Jul 29 08:51:10 2008 +00004.3 @@ -77,4 +77,14 @@4.4 */4.5 void osx_cdrom_close_drive( osx_cdrom_drive_t drive );4.7 +/**4.8 + * Install the notifications and handlers needed by the IOKit support layer.4.9 + * Must be called before trying to use any of the functions above.4.10 + */4.11 +gboolean osx_register_iokit_notifications();4.12 +/**4.13 + * Uninstall the notifications and handlers in the IOKit support layer4.14 + */4.15 +void osx_unregister_iokit_notifications();4.16 +4.17 #endif /* !lxdream_osx_iokit_H */
5.1 --- a/src/drivers/video_nsgl.h Tue Jul 29 08:50:49 2008 +00005.2 +++ b/src/drivers/video_nsgl.h Tue Jul 29 08:51:10 2008 +00005.3 @@ -42,6 +42,11 @@5.4 */5.5 void video_nsgl_swap_buffers();5.7 +/**5.8 + * Update the NSGL context after a window change5.9 + */5.10 +void video_nsgl_update();5.11 +5.12 #ifdef __cplusplus5.13 }5.14 #endif
.