mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-04-10 19:41:30 -06:00
Fix some warnings
This commit is contained in:
parent
ec989781a3
commit
474c1a7838
@ -33,7 +33,7 @@ namespace rsx
|
||||
u32 draw_command_barrier_mask = 0;
|
||||
|
||||
// Draw-time iterator to the draw_command_barriers struct
|
||||
mutable rsx::simple_array<barrier_t>::iterator current_barrier_it;
|
||||
mutable rsx::simple_array<barrier_t>::iterator current_barrier_it {};
|
||||
|
||||
// Subranges memory cache
|
||||
mutable rsx::simple_array<draw_range_t> subranges_store;
|
||||
|
||||
@ -2970,7 +2970,7 @@ namespace rsx
|
||||
|
||||
auto& cfg = g_fxo->get<gcm_config>();
|
||||
|
||||
std::unique_lock<shared_mutex> hle_lock;
|
||||
std::optional<std::unique_lock<shared_mutex>> hle_lock;
|
||||
|
||||
for (u32 i = 0; i < std::size(unmap_status); i++)
|
||||
{
|
||||
@ -3011,7 +3011,7 @@ namespace rsx
|
||||
|
||||
if (hle_lock)
|
||||
{
|
||||
hle_lock.unlock();
|
||||
hle_lock->unlock();
|
||||
}
|
||||
|
||||
// Pause RSX thread momentarily to handle unmapping
|
||||
|
||||
Loading…
Reference in New Issue
Block a user