mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-27 00:00:08 +00:00
Thread: Moved position of * in arguments.
This commit is contained in:
parent
b05ed89f4a
commit
c0fd909258
@ -144,7 +144,7 @@ void ChangeReadyState(Thread* t, bool ready) {
|
|||||||
/// Verify that a thread has not been released from waiting
|
/// Verify that a thread has not been released from waiting
|
||||||
inline bool VerifyWait(const Handle& thread, WaitType type, Handle handle) {
|
inline bool VerifyWait(const Handle& thread, WaitType type, Handle handle) {
|
||||||
Handle wait_id = 0;
|
Handle wait_id = 0;
|
||||||
Thread *t = g_object_pool.GetFast<Thread>(thread);
|
Thread* t = g_object_pool.GetFast<Thread>(thread);
|
||||||
if (t != nullptr && type == t->wait_type && handle == t->wait_handle) {
|
if (t != nullptr && type == t->wait_type && handle == t->wait_handle) {
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
@ -157,7 +157,7 @@ inline bool VerifyWait(const Handle& thread, WaitType type, Handle handle) {
|
|||||||
/// Stops the current thread
|
/// Stops the current thread
|
||||||
void StopThread(Handle thread, const char* reason) {
|
void StopThread(Handle thread, const char* reason) {
|
||||||
u32 error;
|
u32 error;
|
||||||
Thread *t = g_object_pool.Get<Thread>(thread, error);
|
Thread* t = g_object_pool.Get<Thread>(thread, error);
|
||||||
if (t) {
|
if (t) {
|
||||||
ChangeReadyState(t, false);
|
ChangeReadyState(t, false);
|
||||||
t->status = THREADSTATUS_DORMANT;
|
t->status = THREADSTATUS_DORMANT;
|
||||||
|
Loading…
Reference in New Issue
Block a user