mirror of
https://github.com/open-goal/jak-project
synced 2026-06-05 19:28:31 -04:00
wip
This commit is contained in:
@@ -51,7 +51,8 @@ void read_plain_data_field(const TypedRef& object,
|
||||
}
|
||||
}
|
||||
|
||||
void memcpy_from_plain_data(u8* dest, const Ref& source, int size_bytes) {
|
||||
void memcpy_from_plain_data(void* _dest, const Ref& source, int size_bytes) {
|
||||
u8* dest = (u8*)_dest;
|
||||
const auto& words = source.data->words_by_seg.at(source.seg);
|
||||
for (int byte = 0; byte < size_bytes; byte++) {
|
||||
int byte_in_words = byte + source.byte_offset;
|
||||
|
||||
Reference in New Issue
Block a user