mirror of https://github.com/mgba-emu/mgba.git
PSP2: Fix gyroscope direction
This commit is contained in:
parent
749a9c98c1
commit
68393718eb
1
CHANGES
1
CHANGES
|
@ -19,6 +19,7 @@ Bugfixes:
|
|||
- Qt: Fix bug in software renderer scaling
|
||||
- Debugger: Fix GDB breakpoints
|
||||
- Wii: Fix framelimiting after a slowdown
|
||||
- PSP2: Fix gyroscope direction
|
||||
Misc:
|
||||
- 3DS: Use blip_add_delta_fast for a small speed improvement
|
||||
- OpenGL: Log shader compilation failure
|
||||
|
|
|
@ -112,7 +112,7 @@ static int32_t _readTiltY(struct mRotationSource* source) {
|
|||
|
||||
static int32_t _readGyroZ(struct mRotationSource* source) {
|
||||
struct mSceRotationSource* rotation = (struct mSceRotationSource*) source;
|
||||
return rotation->state.gyro.z * 0x10000000;
|
||||
return rotation->state.gyro.z * -0x10000000;
|
||||
}
|
||||
|
||||
static void _setRumble(struct mRumble* rumble, int enable) {
|
||||
|
|
Loading…
Reference in New Issue