mirror of
https://github.com/touchHLE/touchHLE.git
synced 2026-01-31 01:25:24 +01:00
Fix uname machine to be the same as sysctlbyname 'hw.machine'
Change-Id: Ic4b32dbbda5217d1df0bc923db883e1841e9fdb0
This commit is contained in:
@@ -44,7 +44,7 @@ fn uname(env: &mut Environment, name: MutPtr<utsname>) -> i32 {
|
||||
let version = b"7A341\0";
|
||||
uts_name.version[..version.len()].copy_from_slice(version);
|
||||
// Same as sysctlbyname 'hw.machine'
|
||||
let machine = b"iPhone1\0";
|
||||
let machine = b"iPhone1,1\0";
|
||||
uts_name.machine[..machine.len()].copy_from_slice(machine);
|
||||
|
||||
0 // Success
|
||||
|
||||
Reference in New Issue
Block a user