Reverted r6112... The iPhone client was submitted to Cydia with the apropiate patches

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6119 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
dapetcu21 2010-08-23 19:19:10 +00:00
parent bab7721124
commit 430380eac6
2 changed files with 2 additions and 2 deletions

View File

@ -111,7 +111,7 @@ void Nunchuk::GetState(u8* const data, const bool focus)
m_udpWrap->inst->getNunchuckAccel(x,y,z);
accel->x=u8(x*(calib->one_g.x-calib->zero_g.x)+calib->zero_g.x);
accel->y=u8(y*(calib->one_g.y-calib->zero_g.y)+calib->zero_g.y);
accel->z=u8(-z*(calib->one_g.z-calib->zero_g.z)+calib->zero_g.z);
accel->z=u8(z*(calib->one_g.z-calib->zero_g.z)+calib->zero_g.z);
}
}
//End UDPNunchuck

View File

@ -36,7 +36,7 @@ namespace UDPTLayer
m->inst->getAccel(x,y,z);
data->x=u8(x*(calib->one_g.x-calib->zero_g.x)+calib->zero_g.x);
data->y=u8(y*(calib->one_g.y-calib->zero_g.y)+calib->zero_g.y);
data->z=u8(-z*(calib->one_g.z-calib->zero_g.z)+calib->zero_g.z);
data->z=u8(z*(calib->one_g.z-calib->zero_g.z)+calib->zero_g.z);
}
void GetIR( UDPWrapper * m, float * x, float * y, float * z)