mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-27 02:49:42 +00:00
fix Issue #18: 512x384 guest display leads to app exit-on-startup
This commit is contained in:
parent
9116cae283
commit
f7fceaf096
@ -1294,8 +1294,6 @@ bool VideoInit(bool classic)
|
|||||||
const int h = video_modes[i].h;
|
const int h = video_modes[i].h;
|
||||||
if (i > 0 && (w >= default_width || h >= default_height))
|
if (i > 0 && (w >= default_width || h >= default_height))
|
||||||
continue;
|
continue;
|
||||||
if (w == 512 && h == 384)
|
|
||||||
continue;
|
|
||||||
for (int d = VIDEO_DEPTH_1BIT; d <= default_depth; d++)
|
for (int d = VIDEO_DEPTH_1BIT; d <= default_depth; d++)
|
||||||
add_mode(display_type, w, h, video_modes[i].resolution_id, TrivialBytesPerRow(w, (video_depth)d), d);
|
add_mode(display_type, w, h, video_modes[i].resolution_id, TrivialBytesPerRow(w, (video_depth)d), d);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user