mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-29 18:32:47 +00:00
cellGem: fix fake move calibration status flag
Apparently OCCURRED means that there are flags to be checked, while SUCCEEDED means that everything went smoothly.
This commit is contained in:
parent
1d3f91a1b8
commit
fd29382290
@ -95,7 +95,7 @@ struct gem_config
|
||||
|
||||
CellGemAttribute attribute = {};
|
||||
CellGemVideoConvertAttribute vc_attribute = {};
|
||||
u64 status_flags = CELL_GEM_NOT_CALIBRATED;
|
||||
u64 status_flags = 0;
|
||||
bool enable_pitch_correction = false;
|
||||
u32 inertial_counter = 0;
|
||||
|
||||
@ -414,7 +414,7 @@ error_code cellGemCalibrate(u32 gem_num)
|
||||
gem.controllers[gem_num].calibrated_magnetometer = true;
|
||||
gem.controllers[gem_num].enabled_tracking = true;
|
||||
gem.controllers[gem_num].hue = 1;
|
||||
gem.status_flags = CELL_GEM_FLAG_CALIBRATION_OCCURRED | CELL_GEM_FLAG_CALIBRATION_SUCCEEDED;
|
||||
gem.status_flags = CELL_GEM_FLAG_CALIBRATION_SUCCEEDED;
|
||||
}
|
||||
|
||||
return CELL_OK;
|
||||
|
Loading…
x
Reference in New Issue
Block a user