mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-12 05:33:15 +00:00
The way to Unity, pt.3 (#1681)
This commit is contained in:
parent
1793fd4df0
commit
fea2593ab4
17 changed files with 256 additions and 50 deletions
|
@ -3,6 +3,7 @@
|
|||
|
||||
#include "common/assert.h"
|
||||
#include "common/logging/log.h"
|
||||
#include "common/thread.h"
|
||||
#include "core/libraries/ajm/ajm.h"
|
||||
#include "core/libraries/ajm/ajm_at9.h"
|
||||
#include "core/libraries/ajm/ajm_context.h"
|
||||
|
@ -53,6 +54,7 @@ s32 AjmContext::ModuleRegister(AjmCodecType type) {
|
|||
}
|
||||
|
||||
void AjmContext::WorkerThread(std::stop_token stop) {
|
||||
Common::SetCurrentThreadName("shadPS4:AjmWorker");
|
||||
while (!stop.stop_requested()) {
|
||||
auto batch = batch_queue.PopWait(stop);
|
||||
if (batch != nullptr) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue