mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 19:45:20 +00:00
cellGem: fix some data types
This commit is contained in:
parent
3b20db5aec
commit
4960eaa46a
1 changed files with 4 additions and 4 deletions
|
@ -854,7 +854,7 @@ public:
|
|||
{
|
||||
if (g_cfg.io.move != move_handler::real)
|
||||
{
|
||||
return 1; // potentially true if less than 20 pixels have the hue
|
||||
return true; // potentially true if less than 20 pixels have the hue
|
||||
}
|
||||
|
||||
return hue < m_hues.size() && m_hues[hue] < 20; // potentially true if less than 20 pixels have the hue
|
||||
|
@ -1920,9 +1920,9 @@ error_code cellGemGetCameraState(vm::ptr<CellGemCameraState> camera_state)
|
|||
// TODO: use correct camera settings
|
||||
camera_state->exposure = 0;
|
||||
camera_state->exposure_time = 1.0f / 60.0f;
|
||||
camera_state->gain = 1.0;
|
||||
camera_state->pitch_angle = 0.0;
|
||||
camera_state->pitch_angle_estimate = 0.0;
|
||||
camera_state->gain = 1.0f;
|
||||
camera_state->pitch_angle = 0.0f;
|
||||
camera_state->pitch_angle_estimate = 0.0f;
|
||||
|
||||
return CELL_OK;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue