mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-11 10:30:09 +00:00
Debug statements were not in D() macros
This commit is contained in:
parent
3319c41d9d
commit
2880cf6251
@ -309,14 +309,14 @@
|
||||
if ( newbpp == init_depth && newx == init_width &&
|
||||
newy == init_height && newtype == display_type )
|
||||
{
|
||||
NSLog(@"No changed GUI items in ChangeScreen");
|
||||
D(NSLog(@"No changed GUI items in ChangeScreen"));
|
||||
return;
|
||||
}
|
||||
|
||||
// If we are changing type, supply some sensible defaults
|
||||
if ( newtype != display_type )
|
||||
{
|
||||
NSLog(@"Changing disylay type in ChangeScreen");
|
||||
D(NSLog(@"Changing display type in ChangeScreen"));
|
||||
if ( newtype == DISPLAY_SCREEN ) // If changing to full screen
|
||||
{
|
||||
// supply main screen dimensions as a default
|
||||
@ -371,7 +371,8 @@
|
||||
|
||||
if ( display_type != DISPLAY_SCREEN )
|
||||
{
|
||||
NSLog(@"Display type is not SCREEN (%d), resizing window", display_type);
|
||||
D(NSLog(@"Display type is not SCREEN (%d), resizing window",
|
||||
display_type));
|
||||
resizeWinTo(newx, newy);
|
||||
}
|
||||
}
|
||||
@ -533,7 +534,8 @@
|
||||
if ( strcmp(str, path) == 0 )
|
||||
{
|
||||
PrefsRemoveItem("disk", tmp);
|
||||
D(NSLog(@"%s - Deleted prefs entry \"disk\", %d", __PRETTY_FUNCTION__, tmp));
|
||||
D(NSLog(@"%s - Deleted prefs entry \"disk\", %d",
|
||||
__PRETTY_FUNCTION__, tmp));
|
||||
edited = YES;
|
||||
break;
|
||||
}
|
||||
@ -542,7 +544,8 @@
|
||||
|
||||
if ( str == NULL )
|
||||
{
|
||||
NSLog(@"%s - Couldn't find any disk preference to match %s", __PRETTY_FUNCTION__, path);
|
||||
NSLog(@"%s - Couldn't find any disk preference to match %s",
|
||||
__PRETTY_FUNCTION__, path);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user