MCPcopy Create free account
hub / github.com/N64Recomp/N64Recomp / byteswap_copy

Function byteswap_copy

LiveRecomp/live_recompiler_test.cpp:39–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37std::vector<uint8_t> rdram;
38
39void byteswap_copy(uint8_t* dst, uint8_t* src, size_t count) {
40 for (size_t i = 0; i < count; i++) {
41 dst[i ^ 3] = src[i];
42 }
43}
44
45bool byteswap_compare(uint8_t* a, uint8_t* b, size_t count) {
46 for (size_t i = 0; i < count; i++) {

Callers 1

run_testFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected