mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-08-16 13:22:41 +00:00
a3d32a18b8
I'm not into millennial humor, personally. Proactively removed as much profanity as I could grep. Signed-off-by: crueter <crueter@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4239 Reviewed-by: MaranBr <maranbr@eden-emu.dev> Reviewed-by: Samuel <lizzie@eden-emu.dev>
49 lines
1.5 KiB
C++
49 lines
1.5 KiB
C++
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <array>
|
|
#include <cstddef>
|
|
#include "common/bit_field.h"
|
|
#include "common/common_funcs.h"
|
|
#include "common/common_types.h"
|
|
#include "common/logging.h"
|
|
#include "video_core/engines/engine_interface.h"
|
|
#include "video_core/engines/engine_upload.h"
|
|
|
|
namespace Core {
|
|
class System;
|
|
}
|
|
|
|
namespace Tegra {
|
|
class MemoryManager;
|
|
}
|
|
|
|
namespace Tegra::Engines {
|
|
class Nv01Timer final : public EngineInterface {
|
|
public:
|
|
explicit Nv01Timer(MemoryManager& memory_manager) noexcept {}
|
|
~Nv01Timer() noexcept override {}
|
|
|
|
/// Write the value to the register identified by method.
|
|
void CallMethod(Core::System& system, u32 method, u32 method_argument, bool is_last_call) override {
|
|
LOG_DEBUG(HW_GPU, "method={}, argument={}, is_last_call={}", method, method_argument, is_last_call);
|
|
}
|
|
|
|
/// Write multiple values to the register identified by method.
|
|
void CallMultiMethod(Core::System& system, u32 method, const u32* base_start, u32 amount, u32 methods_pending) override {
|
|
LOG_DEBUG(HW_GPU, "method={}, base_start={}, amount={}, pending={}", method, fmt::ptr(base_start), amount, methods_pending);
|
|
}
|
|
|
|
struct Regs {
|
|
INSERT_PADDING_BYTES_NOINIT(0x48);
|
|
} regs{};
|
|
private:
|
|
void ConsumeSinkImpl(Core::System& system) override {}
|
|
};
|
|
}
|