mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-11-22 16:25:40 +01:00
Merge pull request #12753 from liamwhite/why
device_memory_manager: fix ScratchBuffer indexing
This commit is contained in:
commit
8649a80071
@ -31,9 +31,8 @@ public:
|
||||
buffer.resize(0);
|
||||
size_t index = 0;
|
||||
const auto add_value = [&](u32 value) {
|
||||
buffer[index] = value;
|
||||
index++;
|
||||
buffer.resize(index);
|
||||
buffer.resize(index + 1);
|
||||
buffer[index++] = value;
|
||||
};
|
||||
|
||||
u32 iter_entry = start_entry;
|
||||
|
Loading…
Reference in New Issue
Block a user