mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 14:31:24 +12:00
cellGem: fix some data types
This commit is contained in:
parent
ee2ea0cb02
commit
8678402c25
1 changed files with 4 additions and 4 deletions
|
@ -854,7 +854,7 @@ public:
|
||||||
{
|
{
|
||||||
if (g_cfg.io.move != move_handler::real)
|
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
|
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
|
// TODO: use correct camera settings
|
||||||
camera_state->exposure = 0;
|
camera_state->exposure = 0;
|
||||||
camera_state->exposure_time = 1.0f / 60.0f;
|
camera_state->exposure_time = 1.0f / 60.0f;
|
||||||
camera_state->gain = 1.0;
|
camera_state->gain = 1.0f;
|
||||||
camera_state->pitch_angle = 0.0;
|
camera_state->pitch_angle = 0.0f;
|
||||||
camera_state->pitch_angle_estimate = 0.0;
|
camera_state->pitch_angle_estimate = 0.0f;
|
||||||
|
|
||||||
return CELL_OK;
|
return CELL_OK;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue