mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-04 03:35:19 +02:00
Couple more minor warning fixes.
This commit is contained in:
@@ -2709,7 +2709,7 @@ void ActionAfterCallback::run(MipsCall &call) {
|
||||
// Returns true if any callbacks were processed on the current thread.
|
||||
bool __KernelCheckThreadCallbacks(Thread *thread, bool force)
|
||||
{
|
||||
if (!thread->isProcessingCallbacks && !force)
|
||||
if (!thread || (!thread->isProcessingCallbacks && !force))
|
||||
return false;
|
||||
|
||||
for (int i = 0; i < THREAD_CALLBACK_NUM_TYPES; i++) {
|
||||
|
||||
Reference in New Issue
Block a user