mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-16 19:13:40 +01:00
Don't just say 0 for remainFrame in sceAtrac.
Fixes LittleBigPlanet.
This commit is contained in:
1 parent
bbbfa715cd
commit
0d7863138b
1 file changed
+2
-5
@@ -165,11 +165,8 @@ struct Atrac {
|
||||
// require more data
|
||||
remainFrame = PSP_ATRAC_ALLDATA_IS_ON_MEMORY;
|
||||
} else {
|
||||
// This is the correct one
|
||||
//remainFrame = (first.size - decodePos) / atracBytesPerFrame;
|
||||
|
||||
// Try to load all file data immediately
|
||||
remainFrame = 0;
|
||||
// Games expect to be told how many frames need to be read.
|
||||
remainFrame = (first.size - decodePos) / atracBytesPerFrame;
|
||||
}
|
||||
return remainFrame;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user