diff --git a/Core/HLE/sceAtrac.cpp b/Core/HLE/sceAtrac.cpp index a8734bcc58..d3fbf8972c 100644 --- a/Core/HLE/sceAtrac.cpp +++ b/Core/HLE/sceAtrac.cpp @@ -484,7 +484,7 @@ u32 sceAtracGetAtracID(int codecType) { Atrac *atrac = new Atrac(); atrac->codeType = codecType; - int atracID = createAtrac(new Atrac, codecType); + int atracID = createAtrac(atrac, codecType); if (atracID < 0) { ERROR_LOG_REPORT(HLE, "sceAtracGetAtracID(%i): no free ID", codecType); delete atrac;