Chameleon

Chameleon Svn Source Tree

Root/branches/cparm/i386/modules/Resolution/Resolution.c

1/*
2 * Copyright (c) 2009 Evan Lojewski. All rights reserved.
3 *
4 */
5
6#include "libsaio.h"
7#include "915resolution.h"
8#include "modules.h"
9#include "bootstruct.h"
10
11#define kEnableResolution"EnableResolutionModule"
12
13
14void Resolution_start()
15{
16bool enable = true;
17getBoolForKey(kEnableResolution, &enable, &bootInfo->bootConfig) ;
18
19if (enable) {
20register_hook_callback("getResolution_hook", &getResolutionHook);
21patchVideoBios();
22}
23
24}
25
26

Archive Download this file

Revision: 1119