MCPcopy Create free account
hub / github.com/BernardoGiordano/Checkpoint / writeCommand

Method writeCommand

3ds/source/ntrcard.cpp:172–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170 }
171
172 void writeCommand(const std::array<std::uint8_t, 8>& command) override
173 {
174 auto* const output = reinterpret_cast<volatile std::uint8_t*>(
175 NtrCard::processRegisterBase + static_cast<std::uintptr_t>(NtrCard::RegisterOffset::CommandHigh));
176 for (std::size_t i = 0; i < command.size(); i++) {
177 output[i] = command[i];
178 }
179 }
180
181 std::uint64_t ticks(void) const override
182 {

Callers 2

runPolledCommandFunction · 0.45
runPolledWriteCommandFunction · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected