Chameleon

Chameleon Commit Details

Date:2011-07-16 18:44:34 (12 years 9 months ago)
Author:Azimutz
Commit:1164
Parents: 1163
Message:Add some pauses to nvidia.c and ati.c to help user feedback collection.
Changes:
M/trunk/i386/libsaio/nvidia.c
M/trunk/i386/libsaio/ati.c

File differences

trunk/i386/libsaio/nvidia.c
865865
866866
867867
868
868869
869870
870871
......
872873
873874
874875
876
875877
876878
877879
......
904906
905907
906908
909
907910
908911
909912
......
917920
918921
919922
923
920924
921925
922926
923927
924928
925929
930
926931
927932
928933
......
13251330
13261331
13271332
1333
13281334
13291335
13301336
{
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
1151
1152
11521153
11531154
11541155
if (!card->info->device_id || !card->info->cfg_name)
{
printf("Unsupported card!\n");
printf("Unsupported card!\nUse AtiConfig key to specify a framebuffer for your card.\nIf still unsupported, report dev id, subsys id and vendor.");
pause();
return false;
}

Archive Download the corresponding diff file

Revision: 1164