mirror of
https://github.com/libretro/ppsspp.git
synced 2025-03-03 06:06:35 +00:00
Chane to ATRAC_ERROR_NO_LOOP_INFORMATION
This commit is contained in:
parent
83bac402c4
commit
e5305f655d
@ -47,7 +47,7 @@
|
||||
#define ATRAC_ERROR_INCORRECT_READ_SIZE 0x80630013
|
||||
#define ATRAC_ERROR_BAD_SAMPLE 0x80630015
|
||||
#define ATRAC_ERROR_ADD_DATA_IS_TOO_BIG 0x80630018
|
||||
#define ATRAC_ERROR_UNSET_PARAM 0x80630021
|
||||
#define ATRAC_ERROR_NO_LOOP_INFORMATION 0x80630021
|
||||
#define ATRAC_ERROR_SECOND_BUFFER_NOT_NEEDED 0x80630022
|
||||
#define ATRAC_ERROR_BUFFER_IS_EMPTY 0x80630023
|
||||
#define ATRAC_ERROR_ALL_DATA_DECODED 0x80630024
|
||||
@ -1309,7 +1309,7 @@ u32 sceAtracSetLoopNum(int atracID, int loopNum)
|
||||
Atrac *atrac = getAtrac(atracID);
|
||||
if (atrac) {
|
||||
if (atrac->loopinfoNum == 0)
|
||||
return ATRAC_ERROR_UNSET_PARAM;
|
||||
return ATRAC_ERROR_NO_LOOP_INFORMATION;
|
||||
atrac->loopNum = loopNum;
|
||||
if (loopNum != 0 && atrac->loopinfoNum == 0) {
|
||||
// Just loop the whole audio
|
||||
|
Loading…
x
Reference in New Issue
Block a user