Commit Graph
5775 Commits
Author SHA1 Message Date
kaienfr 4792b6dc3b Avoid type cast issue - pass mpeg context address instead of context pointer in function args. 2014-04-07 05:16:45 +02:00
kaienfr fdf8d5c9f1 Cast issue again on Unix = =, try void* 2014-04-05 00:16:08 +02:00
kaienfr 44ef7f7180 try reinterpret_cast 2014-04-04 23:50:18 +02:00
kaienfr 1f297d82ac fix cast issue for unix 2014-04-04 23:33:33 +02:00
kaienfr de84c51d51 change some warn_log to debug_log 2014-04-04 23:10:33 +02:00
kaienfr 04756b91e0 Do State PMP media, and some other updates to PMP media. 2014-04-04 23:01:25 +02:00
kaienfr 626ad2d678 update for supporting pmp video 2014-04-02 07:20:52 +02:00
kaienfr 03898fd1e6 updates 2014-04-01 04:58:56 +02:00
kaienfr 17174d0d24 fix for AAC audio playing 2014-04-01 00:37:01 +02:00
kaienfr c03e591ecd Cleanup SimpleAudioDec
and remove unused AudioCreate fonction, it can be down in the class constructor.
2014-04-01 00:33:46 +02:00
kaienfr f5d4b7bcb4 PMP Video
Not ready for merge, only for discussion about the current stage.
The video frame seems been decoded into RGB24 by my decodePmpVideo function, and the dumped ppm output file have also something.
But in ppsspp, we can just see some nonsense noise on the screen, but already hear AAC audio :)
I still have no idea what's wrong. Can somebody help? Thanks!
2014-04-01 00:33:31 +02:00
kaienfr c7cfa7d061 Update sceMpeg.cpp
change to right macro
2014-03-31 17:59:11 +02:00
Unknown W. Brackets 943bc7ee78 Oops, close the dir after listing it in ms0:/.
This was affecting some savedata modes, and showed up on tests.  Not sure
how it might've affected games, probably not much.
2014-03-30 19:34:19 -07:00
Unknown W. Brackets aea26f666c Clean up some atrac/mp3 potential leaks. 2014-03-30 15:08:38 -07:00
Unknown W. Brackets 0ba0dba63d Correctly free a few FFmpeg resources. 2014-03-30 13:44:32 -07:00
Unknown W. Brackets c6f52db194 Fix some scePsmf leaks. 2014-03-30 13:14:17 -07:00
Unknown W. Brackets ea9a6c1b58 Fix leaks in sceMpeg demuxing. 2014-03-30 13:06:42 -07:00
Unknown W. Brackets 917af7b571 Fix some memory leaks in sceFont.
Which were highlighted quite well by tests.
2014-03-30 12:55:40 -07:00
Unknown W. Brackets f55c81f096 Add some basic bounds checking for power freq sets. 2014-03-29 19:56:49 -07:00
Unknown W. Brackets 0af153efb4 Avoid a crash with a huge user memory font size.
Fixes tests.
2014-03-29 19:39:10 -07:00
Unknown W. Brackets 7cde2311e0 Include sceKernelThread.h in less headers. 2014-03-29 17:02:41 -07:00
Unknown W. Brackets a4327702f1 Reduce some includes under GPU/. 2014-03-29 16:51:38 -07:00
Henrik Rydgard 58237d976f Fix performance issue in BlockCache due to an instance of std::vector in every block:
Avoid creating the vector when not necessary.

This was especially noticeable in debug mode.
2014-03-29 22:26:51 +01:00
Henrik Rydgård aac5bab242 Merge pull request #5745 from sum2012/scempegbase-2
Correct sceMpegbase_BEA18F91 parameter
2014-03-29 12:32:31 -04:00
Henrik Rydgård 717c1cd34e Merge pull request #5748 from unknownbrackets/armjit-minor
armjit: Allow R1 in regalloc, use LR as temp
2014-03-29 04:09:58 -04:00
Henrik Rydgård b49f2d50de Merge pull request #5753 from unknownbrackets/vertexjit
Fix some color morph issues
2014-03-29 04:07:18 -04:00
Unknown W. Brackets 600842d9a2 armjit: Use prefixes on vscl's T arg.
Makes it pass one more thing in the prefixes test, but not sure exactly
how it operates.  Better to have it the same as x86 and int anyway.
2014-03-29 01:00:29 -07:00
raven02 7577481d6e Change it to ctx->bufferWrite %= ctx->mp3BufSize; 2014-03-29 12:37:33 +08:00
raven02 790c570e67 Fix crash and wrong mp3 playback in Downstream Panic ULUS10322 2014-03-29 12:16:57 +08:00
Unknown W. Brackets 5a89c17cf0 armjit: Allow R1 in regalloc, use LR as temp.
LR should be safe, although it may make stack traces not work within jit,
they don't really tend to work anyway.
2014-03-28 18:38:38 -07:00
sum2012 1b98db916d Add more logging 2014-03-29 06:43:26 +08:00
sum2012 7caccdb955 Use @kaienfr suggestion 2014-03-29 01:49:32 +08:00
sum2012 20861a6d00 Correct sceMpegbase parameter 2014-03-29 01:17:37 +08:00
Henrik Rydgard c53b8ed8bf Clean up some details in sceAudioCodec. 2014-03-27 22:53:57 +01:00
kaienfr 779d90b8c5 Add DoState for sceAudiocodec 2014-03-27 15:17:54 +01:00
kaienfr d4b9873872 Merge remote-tracking branch 'origin/master' into Support_Audios 2014-03-27 15:16:07 +01:00
sum2012 9b054de4e5 Add scempegbase stuff
Find in homebrew game
2014-03-27 00:51:07 +08:00
Unknown W. Brackets 58c5179d8e Push and pop the callee saved NEON registers. 2014-03-25 22:34:42 -07:00
Unknown W. Brackets 2f5c6a5660 Fix VLDM/VSTM encoding for double/quad regs.
Duh, forgot to check Vd.  Fixes #5723.
2014-03-25 22:08:20 -07:00
Sacha c8ce5d62c5 Timer hack was running too fast. 2014-03-26 00:09:34 +10:00
Henrik Rydgård 382db79307 Merge pull request #5698 from raven02/patch-32
Do it inside inColon
2014-03-25 00:27:28 +01:00
Henrik Rydgard 2240cae3bf Prevent overrunning the debug print overlay buffer 2014-03-24 11:41:18 +01:00
Unknown W. Brackets 893a719c4e Fix a typo.
Not sure how this one happened...
2014-03-24 01:15:37 -07:00
Unknown W. Brackets 3b0924278c Apply the volatile mem thread on the right thread.
Inside __KernelVolatileMemLock(), it applies also when unlocking when
waking another thread.  This was causing the tests to hang and die.
2014-03-24 00:55:47 -07:00
Henrik Rydgård 108ebca595 Merge pull request #5706 from unknownbrackets/win-input
Poll controllers on a separate thread on Windows
2014-03-24 08:46:59 +01:00
Unknown W. Brackets b641ced7e0 Poll controllers on a separate thread on Windows.
This means controllers will sample more than the game fps, and will work
whenever keyboards do.
2014-03-23 23:46:10 -07:00
Unknown W. Brackets fc833adde0 Return an error for invalid savedata sizes.
May fix WALL-E according to:
http://forums.ppsspp.org/showthread.php?tid=434
2014-03-23 23:14:40 -07:00
Unknown W. Brackets c0392e10be Properly fail loading state when fonts don't match.
It should fail later anyway, but this will prevent crashes just in case.
2014-03-23 13:03:33 -07:00
Unknown W. Brackets 3a376a0cd9 Fix exists check in VFSFileSystem::GetFileInfo().
Only matters if it can't map the path / doesn't have the apk mapped (e.g.
as on headless right now.)
2014-03-23 13:01:52 -07:00
kaienfr 4de5e1b72f Update MediaEngine.cpp
auto s = p.Section("MediaEngine", 1, 3);

if (s >= 3){
		p.Do(m_audioType);
	}
	else{
		m_audioType = PSP_CODEC_AT3PLUS;
	}
2014-03-23 20:28:39 +01:00