Chameleon

Chameleon Commit Details

Date:2011-07-18 03:38:54 (12 years 9 months ago)
Author:Azimutz
Commit:1168
Parents: 1167
Message:Revert this bs (r1164)!!!
Changes:
M/trunk/i386/libsaio/nvidia.c
M/trunk/i386/libsaio/ati.c

File differences

trunk/i386/libsaio/nvidia.c
865865
866866
867867
868
869868
870869
871870
......
873872
874873
875874
876
877875
878876
879877
......
906904
907905
908906
909
910907
911908
912909
......
920917
921918
922919
923
924920
925921
926922
927923
928924
929925
930
931926
932927
933928
......
13301325
13311326
13321327
1333
13341328
13351329
13361330
{
if (!rom || (rom[0] != 0x55 && rom[1] != 0xaa)) {
printf("False ROM signature: 0x%02x%02x\n", rom[0], rom[1]);
pause();
return PATCH_ROM_FAILED;
}
if (!dcbptr) {
printf("no dcb table found\n");
pause();
return PATCH_ROM_FAILED;
}
//else
if (sig != 0x4edcbdcb)
{
printf("Bad display config block signature (0x%8x)\n", sig); //Azi: issue #48
pause();
return PATCH_ROM_FAILED;
}
}
if (strcmp(sig, "DEV_REC"))
{
printf("Bad Display Configuration Block signature (%s)\n", sig);
pause();
return PATCH_ROM_FAILED;
}
}
else
{
printf("ERROR: dcbtable_version is 0x%X\n", dcbtable_version);
pause();
return PATCH_ROM_FAILED;
}
if ((nvPatch = patch_nvidia_rom(rom)) == PATCH_ROM_FAILED) {
printf("ERROR: nVidia ROM Patching Failed!\n");
pause();
//return false;
}
trunk/i386/libsaio/ati.c
11481148
11491149
11501150
1151
1152
1151
11531152
11541153
11551154
if (!card->info->device_id || !card->info->cfg_name)
{
printf("Unsupported card!\nUse AtiConfig key to specify a framebuffer for your card.\nIf still unsupported, report dev id, subsys id and vendor.");
pause();
printf("Unsupported card!\n");
return false;
}

Archive Download the corresponding diff file

Revision: 1168