2018-02-12 03:34:20 +01: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 03:12:40 +02: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 03:34:20 +01:00
|
|
|
|
|
|
|
} // namespace Engines
|
|
|
|
} // namespace Tegra
|