Fix comment.

Signed-off-by: Ricky Zhang <rickyzhang@gmail.com>
This commit is contained in:
Ricky Zhang
2020-07-15 20:55:34 -04:00
parent 342fbbce34
commit 03ebc5375b
3 changed files with 6 additions and 6 deletions

View File

@@ -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

View File

@@ -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;

View File

@@ -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