| .. | .. |
|---|
| 355 | 355 | } |
|---|
| 356 | 356 | break; |
|---|
| 357 | 357 | case 400: |
|---|
| 358 | | - if((!(VBFlags & CRT1_LCDA)) || ((LCDwidth >= 800) && (LCDwidth >= 600))) { |
|---|
| 358 | + if((!(VBFlags & CRT1_LCDA)) || ((LCDwidth >= 800) && (LCDheight >= 600))) { |
|---|
| 359 | 359 | if(VDisplay == 300) ModeIndex = ModeIndex_400x300[Depth]; |
|---|
| 360 | 360 | } |
|---|
| 361 | 361 | break; |
|---|
| 362 | 362 | case 512: |
|---|
| 363 | | - if((!(VBFlags & CRT1_LCDA)) || ((LCDwidth >= 1024) && (LCDwidth >= 768))) { |
|---|
| 363 | + if((!(VBFlags & CRT1_LCDA)) || ((LCDwidth >= 1024) && (LCDheight >= 768))) { |
|---|
| 364 | 364 | if(VDisplay == 384) ModeIndex = ModeIndex_512x384[Depth]; |
|---|
| 365 | 365 | } |
|---|
| 366 | 366 | break; |
|---|