early-access version 3065

This commit is contained in:
pineappleEA 2022-10-30 16:29:34 +01:00
parent 9f485cf27c
commit 24aa9ff903
2 changed files with 2 additions and 4 deletions

View File

@ -1,7 +1,7 @@
yuzu emulator early access yuzu emulator early access
============= =============
This is the source code for early-access 3064. This is the source code for early-access 3065.
## Legal Notice ## Legal Notice

View File

@ -144,7 +144,6 @@ private:
using FuncType = TypedCommand<T>; using FuncType = TypedCommand<T>;
static_assert(sizeof(FuncType) < sizeof(data), "Lambda is too large"); static_assert(sizeof(FuncType) < sizeof(data), "Lambda is too large");
recorded_counts++;
command_offset = Common::AlignUp(command_offset, alignof(FuncType)); command_offset = Common::AlignUp(command_offset, alignof(FuncType));
if (command_offset > sizeof(data) - sizeof(FuncType)) { if (command_offset > sizeof(data) - sizeof(FuncType)) {
return false; return false;
@ -166,7 +165,7 @@ private:
} }
bool Empty() const { bool Empty() const {
return recorded_counts == 0; return command_offset == 0;
} }
bool HasSubmit() const { bool HasSubmit() const {
@ -177,7 +176,6 @@ private:
Command* first = nullptr; Command* first = nullptr;
Command* last = nullptr; Command* last = nullptr;
size_t recorded_counts = 0;
size_t command_offset = 0; size_t command_offset = 0;
bool submit = false; bool submit = false;
alignas(std::max_align_t) std::array<u8, 0x8000> data{}; alignas(std::max_align_t) std::array<u8, 0x8000> data{};