mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-06-28 09:45:45 +02:00
fs
This commit is contained in:
parent
4063ce09e2
commit
60c805114c
1 changed files with 2 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ public:
|
|||
buffer.resize(8);
|
||||
const auto add_value = [&buffer](u32 value, size_t index) {
|
||||
if (buffer.size() < index + 1)
|
||||
buffer.resize(index + 1);
|
||||
buffer.resize(index + 8);
|
||||
buffer[index++] = value;
|
||||
return index;
|
||||
};
|
||||
|
|
@ -49,6 +49,7 @@ public:
|
|||
current = &storage[iter_entry - 1];
|
||||
index = add_value(current->value, index);
|
||||
}
|
||||
buffer.resize(index);
|
||||
}
|
||||
|
||||
u32 Register(u32 value) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue