mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-23 03:45:00 +00:00
preparing for drawing
This commit is contained in:
parent
98ccbe7f30
commit
3b853413c7
3 changed files with 9 additions and 0 deletions
|
@ -76,6 +76,12 @@ bool FlipQueue::flip(u32 micros) {
|
|||
auto request = m_requests.at(0); // proceed first request
|
||||
m_mutex.UnlockMutex();
|
||||
|
||||
auto* buffer = request.cfg->buffers[request.index].buffer_render;
|
||||
|
||||
Emulator::DrawBuffer(buffer);
|
||||
|
||||
m_mutex.LockMutex();
|
||||
|
||||
request.cfg->m_mutex.LockMutex();
|
||||
for (auto& flip_eq : request.cfg->m_flip_evtEq) {
|
||||
if (flip_eq != nullptr) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue