Loading Source/Include/XRF.h +8 −7 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ #define CPUID_HW_REV 0x4000000D /* * Console Revisions (REQUIRES UPDATING) * Console Revisions */ #define HW_REV_DURANGO 0x10 Loading @@ -16,6 +16,7 @@ #define HW_REV_CARMEL_BASE 0x30 #define HW_REV_CARMEL_4K 0x31 #define HW_REV_EDMONTON 0x40 #define HW_REV_SCORPIO 0x50 /* * Devkit types Loading Source/Source/XRF.cpp +4 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ void PrintConsoleRevision() int regs[4]; __cpuid(regs, CPUID_HW_REV); int consoleRevId = regs[2] & 0xFF; int consoleRevId = regs[2] & 0xFFFF; char *consoleRev = (char *)calloc(1, 0x100); Loading @@ -30,6 +30,9 @@ void PrintConsoleRevision() case HW_REV_EDMONTON: consoleRev = "Edmonton"; break; case HW_REV_SCORPIO: consoleRev = "Scorpio"; break; default: consoleRev = "Unknown"; } Loading Loading
Source/Include/XRF.h +8 −7 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ #define CPUID_HW_REV 0x4000000D /* * Console Revisions (REQUIRES UPDATING) * Console Revisions */ #define HW_REV_DURANGO 0x10 Loading @@ -16,6 +16,7 @@ #define HW_REV_CARMEL_BASE 0x30 #define HW_REV_CARMEL_4K 0x31 #define HW_REV_EDMONTON 0x40 #define HW_REV_SCORPIO 0x50 /* * Devkit types Loading
Source/Source/XRF.cpp +4 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ void PrintConsoleRevision() int regs[4]; __cpuid(regs, CPUID_HW_REV); int consoleRevId = regs[2] & 0xFF; int consoleRevId = regs[2] & 0xFFFF; char *consoleRev = (char *)calloc(1, 0x100); Loading @@ -30,6 +30,9 @@ void PrintConsoleRevision() case HW_REV_EDMONTON: consoleRev = "Edmonton"; break; case HW_REV_SCORPIO: consoleRev = "Scorpio"; break; default: consoleRev = "Unknown"; } Loading