2018-02-12 02:34:20 +00:00
|
|
|
// Copyright 2018 yuzu Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#include "video_core/engines/fermi_2d.h"
|
|
|
|
|
|
|
|
namespace Tegra {
|
|
|
|
namespace Engines {
|
|
|
|
|
2018-04-24 01:12:40 +00:00
|
|
|
Fermi2D::Fermi2D(MemoryManager& memory_manager) : memory_manager(memory_manager) {}
|
|
|
|
|
|
|
|
void Fermi2D::WriteReg(u32 method, u32 value) {
|
|
|
|
ASSERT_MSG(method < Regs::NUM_REGS,
|
|
|
|
"Invalid Fermi2D register, increase the size of the Regs structure");
|
|
|
|
}
|
2018-02-12 02:34:20 +00:00
|
|
|
|
|
|
|
} // namespace Engines
|
|
|
|
} // namespace Tegra
|