diff --git a/loader.cpp b/loader.cpp index a6d9118..cd5e48f 100644 --- a/loader.cpp +++ b/loader.cpp @@ -151,7 +151,7 @@ uint32_t load(const char *file) address = EmulatedNewPtr(a5size); a5 = address + below; - std::memcpy(memory + a5, data, above); + std::memcpy(memory + a5 + jtOffset, data + 16 , jtSize); segments[resID] = std::make_pair(address, a5size);