[maxwell] Refactor execution mask initialization to use fill() instead of reset()

This commit is contained in:
CamilleLaVey
2026-04-01 00:13:41 -04:00
parent d25d460116
commit bdbdfe8e1d
7 changed files with 100 additions and 24 deletions
+3 -4
View File
@@ -21,10 +21,9 @@ namespace Tegra::Engines {
using namespace Texture;
MaxwellDMA::MaxwellDMA(MemoryManager& memory_manager_)
: memory_manager{memory_manager_}
{
execution_mask.reset();
MaxwellDMA::MaxwellDMA(Core::System& system_, MemoryManager& memory_manager_)
: system{system_}, memory_manager{memory_manager_} {
execution_mask.fill(0);
execution_mask[offsetof(Regs, launch_dma) / sizeof(u32)] = true;
}