Root/
Source at commit 2356 created 10 years 5 months ago. By ifabio, add new feature for Nvidia GraphicsEnabler to show generic name instead of SubVendor+DeviceName: place the key flag into Extra/org.chameleon.Boot.plist NvidiaGeneric=Yes (default to No) | |
---|---|
1 | /*␊ |
2 | * Copyright (c) 2009 Evan Lojewski. All rights reserved.␊ |
3 | *␊ |
4 | */␊ |
5 | ␊ |
6 | #include "915resolution.h"␊ |
7 | #include "gui.h"␊ |
8 | ␊ |
9 | void Resolution_start()␊ |
10 | {␊ |
11 | UInt32 bp = 0;␊ |
12 | UInt32 x, y;␊ |
13 | ␉patchVideoBios();␊ |
14 | getResolution(&x, &y, &bp);␊ |
15 | gui.screen.width = x;␊ |
16 | gui.screen.height = y;␊ |
17 | }␊ |
18 | ␊ |
19 |