mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 04:45:47 +00:00
structure changes
This commit is contained in:
parent
7cf2b860b4
commit
83ec5869d7
2 changed files with 1 additions and 3 deletions
|
@ -530,9 +530,7 @@ Status BufferQueueProducer::QueueBuffer(s32 slot, const QueueBufferInput& input,
|
|||
item.is_droppable = core->dequeue_buffer_cannot_block || async;
|
||||
item.swap_interval = swap_interval;
|
||||
|
||||
// TODO: .queue_time should be changed to the correct value
|
||||
position = (position + 1) % 8;
|
||||
LOG_WARNING(Service_Nvnflinger, "position={}", position);
|
||||
core->history[position] = {.frame_number = core->frame_counter,
|
||||
.queue_time = timestamp,
|
||||
.state = BufferState::Queued};
|
||||
|
|
|
@ -15,7 +15,7 @@ namespace Service::android {
|
|||
|
||||
class GraphicBuffer;
|
||||
|
||||
enum class BufferState : u32 {
|
||||
enum class BufferState : s32 {
|
||||
Free = 0,
|
||||
Dequeued = 1,
|
||||
Queued = 2,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue