mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 05:51:27 +12:00
Compilation fix
This commit is contained in:
parent
7613d749ec
commit
c305949435
2 changed files with 10 additions and 3 deletions
|
@ -302,3 +302,8 @@ void waiter_map_t::notify(u64 signal_id)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool squeue_test_exit(const volatile bool* do_exit)
|
||||||
|
{
|
||||||
|
return Emu.IsStopped() || (do_exit && *do_exit);
|
||||||
|
}
|
||||||
|
|
|
@ -148,6 +148,8 @@ public:
|
||||||
void notify(u64 signal_id);
|
void notify(u64 signal_id);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
bool squeue_test_exit(const volatile bool* do_exit);
|
||||||
|
|
||||||
template<typename T, u32 sq_size = 256>
|
template<typename T, u32 sq_size = 256>
|
||||||
class squeue_t
|
class squeue_t
|
||||||
{
|
{
|
||||||
|
@ -207,7 +209,7 @@ public:
|
||||||
return true;
|
return true;
|
||||||
}))
|
}))
|
||||||
{
|
{
|
||||||
if (Emu.IsStopped() || (do_exit && *do_exit))
|
if (squeue_test_exit(do_exit))
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -258,7 +260,7 @@ public:
|
||||||
return true;
|
return true;
|
||||||
}))
|
}))
|
||||||
{
|
{
|
||||||
if (Emu.IsStopped() || (do_exit && *do_exit))
|
if (squeue_test_exit(do_exit))
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -341,7 +343,7 @@ public:
|
||||||
return true;
|
return true;
|
||||||
}))
|
}))
|
||||||
{
|
{
|
||||||
if (Emu.IsStopped() || (do_exit && *do_exit))
|
if (squeue_test_exit(do_exit))
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue