mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-26 04:32:35 +01:00
Minor warning fixes
This commit is contained in:
parent
3de41bfea7
commit
08e66ab14c
@ -76,7 +76,7 @@ struct lv2_lwmutex final : lv2_obj
|
||||
{
|
||||
if (const auto old = lwcond_waiters.fetch_op([](s32& val)
|
||||
{
|
||||
if (val + 0u <= INT32_MIN + 0u)
|
||||
if (val + 0u <= 1u << 31)
|
||||
{
|
||||
// Value was either positive or INT32_MIN
|
||||
return false;
|
||||
|
@ -2645,7 +2645,7 @@ namespace rsx
|
||||
case frame_limit_type::_50: limit = 50.; break;
|
||||
case frame_limit_type::_60: limit = 60.; break;
|
||||
case frame_limit_type::_30: limit = 30.; break;
|
||||
case frame_limit_type::_auto: limit = g_cfg.video.vblank_rate; break; // TODO
|
||||
case frame_limit_type::_auto: limit = static_cast<double>(g_cfg.video.vblank_rate); break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user