mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-17 19:38:00 -05:00
state_tracker: Remove type traits with named structures
This commit is contained in:
@ -1291,10 +1291,14 @@ public:
|
||||
u32 gl_end_count{};
|
||||
} mme_draw;
|
||||
|
||||
struct {
|
||||
std::bitset<std::numeric_limits<u8>::max()> flags;
|
||||
std::bitset<std::numeric_limits<u8>::max()> on_write_stores;
|
||||
std::array<std::array<u8, Regs::NUM_REGS>, 2> tables{};
|
||||
struct DirtyState {
|
||||
using Flags = std::bitset<std::numeric_limits<u8>::max()>;
|
||||
using Table = std::array<u8, Regs::NUM_REGS>;
|
||||
using Tables = std::array<Table, 2>;
|
||||
|
||||
Flags flags;
|
||||
Flags on_write_stores;
|
||||
Tables tables{};
|
||||
} dirty;
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user