From 3555d656a46cade6e09c89b1feeb968a56ebb416 Mon Sep 17 00:00:00 2001 From: oioitff Date: Fri, 10 May 2013 16:38:06 +0800 Subject: [PATCH] Revert #1731 for sceAtrac It's not working correctly. --- Core/HLE/sceAtrac.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/Core/HLE/sceAtrac.cpp b/Core/HLE/sceAtrac.cpp index 848d9e6a7e..f0ee0585ca 100644 --- a/Core/HLE/sceAtrac.cpp +++ b/Core/HLE/sceAtrac.cpp @@ -429,9 +429,6 @@ u32 sceAtracAddStreamData(int atracID, u32 bytesToAdd) // TODO if (bytesToAdd > atrac->first.writableBytes) return ATRAC_ERROR_ADD_DATA_IS_TOO_BIG; - // only add stream data when it need more atrac data - if (atrac->getRemainFrames() > 0) - return 0; if (atrac->data_buf && (bytesToAdd > 0)) { int addbytes = std::min(bytesToAdd, atrac->first.filesize - atrac->first.fileoffset);