Project

General

Profile

Bug #347 » SystemInfo.cpp.patch

psyko_chewbacca, 03/03/2017 01:42 AM

View differences:

xbmc/utils/SystemInfo.cpp (working copy)
CStdString CSysInfo::SmartXXModCHIP()
{
// SmartXX ModChip Detection
unsigned char uSmartXX_ID = ((_inp(0xf701)) & 0xf);
unsigned char uSmartXX_ID = ((_inp(0xf701)));
if( uSmartXX_ID == 0x11 )
return "Aladdin XBlast";
else if( uSmartXX_ID == 0x15 )
return "XBlast Lite V1";
else if( uSmartXX_ID == 0x55 )
return "XBlast Lite V1 Pre-Edition";
uSmartXX_ID &= 0xf;
if ( uSmartXX_ID == 1 ) // SmartXX V1+V2
return "SmartXX V1/V2";
else if ( uSmartXX_ID == 2 ) // SmartXX V1+V2
(2-2/2)