mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-02-09 01:30:42 +00:00
Fix build with SnowLeopard SDK.
This commit is contained in:
parent
005c573148
commit
8376a21804
@ -704,7 +704,7 @@ OSX_monitor::init_screen(video_mode &mode)
|
|||||||
mode.bytes_per_row = CGDisplayBytesPerRow(theDisplay);
|
mode.bytes_per_row = CGDisplayBytesPerRow(theDisplay);
|
||||||
}
|
}
|
||||||
|
|
||||||
HideMenuBar();
|
[NSMenu setMenuBarVisible:NO];
|
||||||
|
|
||||||
if ( singleDisplay )
|
if ( singleDisplay )
|
||||||
{
|
{
|
||||||
@ -883,7 +883,7 @@ OSX_monitor::video_close()
|
|||||||
{
|
{
|
||||||
if ( singleDisplay )
|
if ( singleDisplay )
|
||||||
CGDisplayShowCursor(theDisplay);
|
CGDisplayShowCursor(theDisplay);
|
||||||
ShowMenuBar();
|
[NSMenu setMenuBarVisible:YES];
|
||||||
CGDisplaySwitchToMode(theDisplay, originalMode);
|
CGDisplaySwitchToMode(theDisplay, originalMode);
|
||||||
CGDisplayRelease(theDisplay);
|
CGDisplayRelease(theDisplay);
|
||||||
//[the_win deminiaturize: nil];
|
//[the_win deminiaturize: nil];
|
||||||
|
@ -149,12 +149,18 @@ typedef long int32;
|
|||||||
#error "No 4 byte type, you lose."
|
#error "No 4 byte type, you lose."
|
||||||
#endif
|
#endif
|
||||||
#if SIZEOF_LONG == 8
|
#if SIZEOF_LONG == 8
|
||||||
|
#ifndef _UINT64
|
||||||
typedef unsigned long uint64;
|
typedef unsigned long uint64;
|
||||||
|
#define _UINT64
|
||||||
|
#endif
|
||||||
typedef long int64;
|
typedef long int64;
|
||||||
#define VAL64(a) (a ## l)
|
#define VAL64(a) (a ## l)
|
||||||
#define UVAL64(a) (a ## ul)
|
#define UVAL64(a) (a ## ul)
|
||||||
#elif SIZEOF_LONG_LONG == 8
|
#elif SIZEOF_LONG_LONG == 8
|
||||||
|
#ifndef _UINT64
|
||||||
typedef unsigned long long uint64;
|
typedef unsigned long long uint64;
|
||||||
|
#define _UINT64
|
||||||
|
#endif
|
||||||
typedef long long int64;
|
typedef long long int64;
|
||||||
#define VAL64(a) (a ## LL)
|
#define VAL64(a) (a ## LL)
|
||||||
#define UVAL64(a) (a ## uLL)
|
#define UVAL64(a) (a ## uLL)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user