Attempt fix for cpuid on x86

Sign extension would be bad.

(couldn't test it right now, adb driver issues :/)
This commit is contained in:
Henrik Rydgard
2014-06-14 00:55:02 +02:00
parent aa31b9ace9
commit af9bfaed9c
+1 -1
View File
@@ -45,7 +45,7 @@
#include <machine/cpufunc.h>
#elif !defined(MIPS)
void __cpuidex(int regs[4], int cpuid_leaf, int ecxval) {
void __cpuidex(u32 regs[4], u32 cpuid_leaf, u32 ecxval) {
#ifdef ANDROID
// Use the /dev/cpu/%i/cpuid interface
int f = open("/dev/cpu/0/cpuid", O_RDONLY);