mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 01:25:07 +02: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:
@@ -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