mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-10 22:28:03 -05:00
Kernel: Made SyncRequest not pure virtual, with a default implementation of error (as this is not required for all kernel objects)
This commit is contained in:
@ -53,7 +53,10 @@ public:
|
||||
* @param wait Boolean wait set if current thread should wait as a result of sync operation
|
||||
* @return Result of operation, 0 on success, otherwise error code
|
||||
*/
|
||||
virtual Result SyncRequest(bool* wait) = 0;
|
||||
virtual Result SyncRequest(bool* wait) {
|
||||
ERROR_LOG(KERNEL, "(UNIMPLEMENTED)");
|
||||
return -1;
|
||||
}
|
||||
|
||||
/**
|
||||
* Wait for kernel object to synchronize
|
||||
@ -61,7 +64,6 @@ public:
|
||||
* @return Result of operation, 0 on success, otherwise error code
|
||||
*/
|
||||
virtual Result WaitSynchronization(bool* wait) = 0;
|
||||
|
||||
};
|
||||
|
||||
class ObjectPool : NonCopyable {
|
||||
|
Reference in New Issue
Block a user