(04-03-2011, 03:20 PM)Hykem Wrote: Hmm...
Looks like this game attempts to load audio streams using an archive format (.AFS). This format has been starting to show up a lot lately.
I'm guessing the failed attempts to load those files may be one of the causes for the massive consumption of memory, so I'll see if FFMPEG can parse this format properly and look for the right streams only.
Edit: I've checked memory usage via task manager while playing Valkyria Chronicles 2 and it does look like a memory leak (I assume that appears in the log). Jpcsp's memory usage increases up to the point where 1,2GB of memory is used and my PC has no more free memory to allocate. Thankfully combat mode does not increase memory usage all that much and the game allows to save right after the battle.
Good to know the log was actually of some help. I noticed one more bug in emulation. During battle there is a morale system. When player does well the morale increases and when player is having difficulty defeating opponents it drops. This morale tops at some point and if that happens a specific sound is played. The problem is the sound loops infinitely. Well actually it loops till another sound is played at the end of the battle.