Commit da4dbf742d4689313df16c0468f0aeadb6853872

Authored by bellard
1 parent 776f2227

cocoa tiny fixes


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1322 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 2 changed files with 6 additions and 1 deletions
@@ -34,9 +34,11 @@ @@ -34,9 +34,11 @@
34 x simple graphical prompt to demo 34 x simple graphical prompt to demo
35 - better graphical prompt 35 - better graphical prompt
36 */ 36 */
37 -#include "vl.h" 37 +
38 #import <Cocoa/Cocoa.h> 38 #import <Cocoa/Cocoa.h>
39 39
  40 +#include "vl.h"
  41 +
40 NSWindow *window = NULL; 42 NSWindow *window = NULL;
41 NSQuickDrawView *qd_view = NULL; 43 NSQuickDrawView *qd_view = NULL;
42 44
@@ -572,6 +572,9 @@ void isa_cirrus_vga_init(DisplayState *ds, uint8_t *vga_ram_base, @@ -572,6 +572,9 @@ void isa_cirrus_vga_init(DisplayState *ds, uint8_t *vga_ram_base,
572 /* sdl.c */ 572 /* sdl.c */
573 void sdl_display_init(DisplayState *ds, int full_screen); 573 void sdl_display_init(DisplayState *ds, int full_screen);
574 574
  575 +/* cocoa.m */
  576 +void cocoa_display_init(DisplayState *ds, int full_screen);
  577 +
575 /* ide.c */ 578 /* ide.c */
576 #define MAX_DISKS 4 579 #define MAX_DISKS 4
577 580