mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-03 16:33:47 +00:00
Fix comment.
Signed-off-by: Ricky Zhang <rickyzhang@gmail.com>
This commit is contained in:
parent
342fbbce34
commit
03ebc5375b
@ -1033,9 +1033,9 @@ bool VideoInit(bool classic)
|
||||
else if (default_height > sdl_display_height())
|
||||
default_height = sdl_display_height();
|
||||
|
||||
// for classic Mac, make sure the display width is 8
|
||||
// for classic Mac, make sure the display width is divisible by 8
|
||||
if (classic) {
|
||||
default_width = (default_width << 3) >> 3;
|
||||
default_width = (default_width / 8) * 8;
|
||||
}
|
||||
|
||||
// Mac screen depth follows X depth
|
||||
|
@ -1406,9 +1406,9 @@ bool VideoInit(bool classic)
|
||||
else if (default_height > sdl_display_height())
|
||||
default_height = sdl_display_height();
|
||||
|
||||
// for classic Mac, make sure the display width is 8
|
||||
// for classic Mac, make sure the display width is divisible by 8
|
||||
if (classic) {
|
||||
default_width = (default_width << 3) >> 3;
|
||||
default_width = (default_width / 8) * 8;
|
||||
}
|
||||
// Mac screen depth follows X depth
|
||||
screen_depth = 32;
|
||||
|
@ -1808,9 +1808,9 @@ bool VideoInit(bool classic)
|
||||
else if (default_height > DisplayHeight(x_display, screen))
|
||||
default_height = DisplayHeight(x_display, screen);
|
||||
|
||||
// for classic Mac, make sure the display width is 8
|
||||
// for classic Mac, make sure the display width is divisible by 8
|
||||
if (classic) {
|
||||
default_width = (default_width << 3) >> 3;
|
||||
default_width = (default_width / 8) * 8;
|
||||
}
|
||||
|
||||
// Mac screen depth follows X depth
|
||||
|
Loading…
Reference in New Issue
Block a user