mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-07 07:21:18 +12:00
Fix incorrect streamout buffer index in GS + refactor various code (#258)
This commit is contained in:
parent
4a3d02db55
commit
03f5967408
45 changed files with 70 additions and 92 deletions
|
@ -835,8 +835,11 @@ namespace H264
|
|||
auto asyncTask = std::async(std::launch::async, _async_H264DECEnd, executeDoneEvent.GetPointer(), session, ctx, &results);
|
||||
coreinit::OSWaitEvent(executeDoneEvent);
|
||||
_ReleaseDecoderSession(session);
|
||||
for (auto& itr : results)
|
||||
H264DoFrameOutputCallback(ctx, itr);
|
||||
if (!results.empty())
|
||||
{
|
||||
for (auto& itr : results)
|
||||
H264DoFrameOutputCallback(ctx, itr);
|
||||
}
|
||||
return H264DEC_STATUS::SUCCESS;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue