src/emu/layout/quadhsxs.lay
| r0 | r12405 | |
| 1 | <?xml version="1.0"?>
|
| 2 | <mamelayout version="2">
|
| 3 | <view name="Screen 0 Standard (4:3)">
|
| 4 | <screen index="0">
|
| 5 | <bounds left="0" top="0" right="4" bottom="3" />
|
| 6 | </screen>
|
| 7 | </view>
|
| 8 | |
| 9 | <view name="Screen 1 Standard (4:3)">
|
| 10 | <screen index="1">
|
| 11 | <bounds left="0" top="0" right="4" bottom="3" />
|
| 12 | </screen>
|
| 13 | </view>
|
| 14 | |
| 15 | <view name="Screen 2 Standard (4:3)">
|
| 16 | <screen index="2">
|
| 17 | <bounds left="0" top="0" right="4" bottom="3" />
|
| 18 | </screen>
|
| 19 | </view>
|
| 20 | |
| 21 | <view name="Screen 3 Standard (4:3)">
|
| 22 | <screen index="3">
|
| 23 | <bounds left="0" top="0" right="4" bottom="3" />
|
| 24 | </screen>
|
| 25 | </view>
|
| 26 | |
| 27 | <view name="Screen 0 Pixel Aspect (~scr0nativexaspect~:~scr0nativeyaspect~)">
|
| 28 | <screen index="0">
|
| 29 | <bounds left="0" top="0" right="~scr0width~" bottom="~scr0height~" />
|
| 30 | </screen>
|
| 31 | </view>
|
| 32 | |
| 33 | <view name="Screen 1 Pixel Aspect (~scr1nativexaspect~:~scr1nativeyaspect~)">
|
| 34 | <screen index="1">
|
| 35 | <bounds left="0" top="0" right="~scr1width~" bottom="~scr1height~" />
|
| 36 | </screen>
|
| 37 | </view>
|
| 38 | |
| 39 | <view name="Screen 2 Pixel Aspect (~scr2nativexaspect~:~scr2nativeyaspect~)">
|
| 40 | <screen index="2">
|
| 41 | <bounds left="0" top="0" right="~scr2width~" bottom="~scr2height~" />
|
| 42 | </screen>
|
| 43 | </view>
|
| 44 | |
| 45 | <view name="Screen 3 Pixel Aspect (~scr3nativexaspect~:~scr3nativeyaspect~)">
|
| 46 | <screen index="3">
|
| 47 | <bounds left="0" top="0" right="~scr3width~" bottom="~scr3height~" />
|
| 48 | </screen>
|
| 49 | </view>
|
| 50 | |
| 51 | <view name="Quad Side-by-Side">
|
| 52 | <screen index="0">
|
| 53 | <bounds x="0" y="0" width="4" height="3" />
|
| 54 | </screen>
|
| 55 | <screen index="1">
|
| 56 | <bounds x="4.03" y="0" width="4" height="3" />
|
| 57 | </screen>
|
| 58 | <screen index="2">
|
| 59 | <bounds x="8.06" y="0" width="4" height="3" />
|
| 60 | </screen>
|
| 61 | <screen index="3">
|
| 62 | <bounds x="12.09" y="0" width="4" height="3" />
|
| 63 | </screen>
|
| 64 | </view>
|
| 65 | |
| 66 | <view name="Quad Side-by-Side (Gapless)">
|
| 67 | <screen index="0">
|
| 68 | <bounds x="0" y="0" width="4" height="3" />
|
| 69 | </screen>
|
| 70 | <screen index="1">
|
| 71 | <bounds x="4" y="0" width="4" height="3" />
|
| 72 | </screen>
|
| 73 | <screen index="2">
|
| 74 | <bounds x="8" y="0" width="4" height="3" />
|
| 75 | </screen>
|
| 76 | <screen index="3">
|
| 77 | <bounds x="12" y="0" width="4" height="3" />
|
| 78 | </screen>
|
| 79 | </view>
|
| 80 | |
| 81 | <view name="Quad 2 by 2">
|
| 82 | <screen index="0">
|
| 83 | <bounds x="0" y="0" width="4" height="3" />
|
| 84 | </screen>
|
| 85 | <screen index="1">
|
| 86 | <bounds x="4.03" y="0" width="4" height="3" />
|
| 87 | </screen>
|
| 88 | <screen index="2">
|
| 89 | <bounds x="0" y="3.03" width="4" height="3" />
|
| 90 | </screen>
|
| 91 | <screen index="3">
|
| 92 | <bounds x="4.03" y="3.03" width="4" height="3" />
|
| 93 | </screen>
|
| 94 | </view>
|
| 95 | |
| 96 | <view name="Quad 2 by 2 (Gapless)">
|
| 97 | <screen index="0">
|
| 98 | <bounds x="0" y="0" width="4" height="3" />
|
| 99 | </screen>
|
| 100 | <screen index="1">
|
| 101 | <bounds x="4" y="0" width="4" height="3" />
|
| 102 | </screen>
|
| 103 | <screen index="2">
|
| 104 | <bounds x="0" y="3" width="4" height="3" />
|
| 105 | </screen>
|
| 106 | <screen index="3">
|
| 107 | <bounds x="4" y="3" width="4" height="3" />
|
| 108 | </screen>
|
| 109 | </view>
|
| 110 | </mamelayout>
|
src/emu/render.c
| r12404 | r12405 | |
| 1674 | 1674 | load_layout_file(NULL, layout_noscreens); |
| 1675 | 1675 | assert_always(m_filelist.count() > 0, "Couldn't parse default layout??"); |
| 1676 | 1676 | } |
| 1677 | else |
| 1677 | 1678 | if (screens == 2) |
| 1678 | 1679 | { |
| 1679 | 1680 | load_layout_file(NULL, layout_dualhsxs); |
| 1680 | 1681 | assert_always(m_filelist.count() > 0, "Couldn't parse default layout??"); |
| 1681 | 1682 | } |
| 1683 | else |
| 1682 | 1684 | if (screens == 3) |
| 1683 | 1685 | { |
| 1684 | 1686 | load_layout_file(NULL, layout_triphsxs); |
| 1685 | 1687 | assert_always(m_filelist.count() > 0, "Couldn't parse default layout??"); |
| 1686 | 1688 | } |
| 1689 | else |
| 1690 | if (screens == 4) |
| 1691 | { |
| 1692 | load_layout_file(NULL, layout_quadhsxs); |
| 1693 | assert_always(m_filelist.count() > 0, "Couldn't parse default layout??"); |
| 1694 | } |
| 1687 | 1695 | } |
| 1688 | 1696 | } |
| 1689 | 1697 | |