mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-30 19:24:23 +01:00
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:
1 parent
aa31b9ace9
commit
af9bfaed9c
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user