Commit Graph
6340 Commits
Author SHA1 Message Date
ChinandHenrik Rydgard ff5d408c81 Combine two ifs 2015-03-01 16:48:25 +01:00
Henrik Rydgard bfa52e61a3 Some games spam sceAudioGetChannelGetLength, reduce loglevel to VERBOSE to ease debugging 2015-03-01 15:33:35 +01:00
sum2012 b5ee54a653 Fix linux compile 2015-03-01 08:39:48 +08:00
sum2012 cb66412919 Some work in sceMpegGetPcmAu
Fix #6546
2015-03-01 06:52:45 +08:00
Unknown W. Brackets 522f9fabd8 Add some reporting to sceMpeg funcs. 2015-02-28 11:15:02 -08:00
Unknown W. Brackets f200d5df94 Use structs for the lowlevel at3 lookup tables.
More sensible this way.
2015-02-27 21:02:20 -08:00
daniel229 3b59c72280 at3plusHeaderMap 2015-02-27 22:29:14 +08:00
Henrik Rydgård 2cdb5a3f19 Merge pull request #7483 from unknownbrackets/tls
Correct a lot of inaccuracies in the tlspl functions
2015-02-26 21:58:15 +01:00
Unknown W. Brackets a8b59e171b Fix a few type comparison warnings. 2015-02-22 13:31:23 -08:00
Unknown W. Brackets 8a0f854dc6 Fix an iterator corruption on tls thread autofree. 2015-02-21 15:50:20 -08:00
Unknown W. Brackets 8d15cb953a sceKernelGetTlsAddr() should only return a ptr.
So, that means no error codes - only null.
2015-02-21 15:50:19 -08:00
Unknown W. Brackets 1c0d880bc3 Support the alignment option in tlspl objects. 2015-02-21 15:50:19 -08:00
Unknown W. Brackets 3bfe7102e3 Handle the priority attribute for tlspls. 2015-02-21 15:50:18 -08:00
Unknown W. Brackets ccaa75ec53 Don't return an error for double tls free.
Apparently, that's a-okay.
2015-02-21 15:50:17 -08:00
Unknown W. Brackets be1e7cfb37 Fix waiting tlspl result, address not block num. 2015-02-21 15:50:17 -08:00
Unknown W. Brackets 76dfbc7436 Clear tls blocks before alloc and after free.
The PSP actually does both, so let's do it too.
2015-02-21 15:50:16 -08:00
Unknown W. Brackets abd03bd597 Fix size handling in sceKernelReferTlsplStatus(). 2015-02-21 15:50:16 -08:00
Unknown W. Brackets baca1ab901 Handle other threads properly when deleting tlspls. 2015-02-21 15:50:15 -08:00
Unknown W. Brackets f52cb71300 Use an aligned blocksize for TLS. 2015-02-21 15:50:15 -08:00
Unknown W. Brackets dd07a0596b Free TLS on thread end.
PSP does this so we should too.  Not yet cleaning up completely.
2015-02-21 15:50:14 -08:00
Unknown W. Brackets 4c15afa905 Allow multiple replacements on the same func.
Or, more specifically, hooks.  This allows enter and exit on the same
func, which can obviously be useful for debugging.
2015-02-21 15:48:09 -08:00
Henrik Rydgard 879baec692 With this, Jak and Daxter works again (but does warn at startup and has one illegal GetPointer later).
I really don't understand what's going on..
2015-02-21 13:07:13 +01:00
Henrik Rydgard 1ecfd6cebc More replacement function accuracy improvements. Makes J&D happy, "fixing" #7502. 2015-02-20 00:17:47 +01:00
Henrik Rydgard 23492d8d90 Jak and Daxter relies on implementation details of memcpy (scary!), fix our replacement. Fixes #7502 2015-02-19 11:16:16 +01:00
daniel229 f8378d0d7f sceSfmt19937 fix 2015-02-16 23:38:45 +08:00
Henrik Rydgard 7f51cd6003 Cleaner fix for compilation problem in SFMT.h, though had to patch it. 2015-02-15 23:14:54 +01:00
daniel229 aa4822bedb Chang pointers type. 2015-02-15 19:05:34 +08:00
daniel229 763e684bf7 agains 2015-02-15 17:26:54 +08:00
daniel229 f3bd527bf5 build fix 2015-02-15 17:08:19 +08:00
daniel229 21b0c2992b Implement sceSfmt19937 module. 2015-02-15 13:22:20 +08:00
daniel229 aec9e25be9 Another replace frame download in Photo Kano. 2015-02-12 20:36:17 +08:00
Henrik Rydgard d6cf857a06 Make it impossible to set Auto Frameskip and Non-buffered together as they interact in a bad way 2015-02-09 23:11:45 +01:00
daniel229 4d304737d8 Replace frame download in Photo Kano. 2015-02-09 14:08:36 +08:00
daniel229 3c1644066e update validAddresses range 2015-02-08 11:34:35 +08:00
daniel229 851070a6f8 Implement sceAdler32 2015-02-08 09:35:00 +08:00
Henrik Rydgard f18f54fa5a Don't prepare to fetch translations unless we actually are going to use them.. In a couple of places in the code. 2015-02-04 13:41:21 +01:00
sergiobenrocha2 9dbd18e59d Ensure that it will use ffmpeg from ppsspp, not from the system. 2015-02-03 17:46:51 -02:00
Unknown W. Brackets 7a974b364c Cap writable bytes to filesize when streaming.
Otherwise we may ask for more than is possible at the end.
2015-02-01 15:13:52 -08:00
Unknown W. Brackets b36a25f602 Even if we don't get enough data, fill what we can. 2015-02-01 15:13:51 -08:00
Unknown W. Brackets 9a8f61eced Seek forward from 0 as well.
Otherwise we also get incorrect data.
2015-02-01 15:13:51 -08:00
Unknown W. Brackets 97fd19f8cd Seek backwards by force decoding, align seeks.
It seems like we can only (safely) seek to sample boundaries, which makes
sense.  Also, we get wrong data unless we "warm" it by seeking from 0, it
seems like.

This makes looping produce correct data.  Fixes #6970.
2015-02-01 15:13:50 -08:00
Henrik Rydgard 2792602252 Pass the game selection screen audio through the resampler. Fixes #7316 . 2015-01-29 14:58:03 +01:00
Henrik Rydgard 86cee103f3 Add audio debug stats dev tool. Increase audio buffer low watermark a bit, hopefully helping #7370. 2015-01-29 12:56:17 +01:00
Henrik Rydgard 1079c21e38 Update native, and update README with more 1.0 features 2015-01-27 00:18:04 +01:00
Henrik Rydgård 5c80731637 Merge pull request #7358 from unknownbrackets/warnings
A few more static analysis warnings
2015-01-19 18:15:56 +01:00
Unknown W. Brackets 9a26758a13 Fix a savestate loading issue.
Maybe just older savestates.  Sometimes we have block_align already, but
not a valid atracBytesPerFrame, so skip it.
2015-01-19 09:03:53 -08:00
Unknown W. Brackets d4f6b49dc4 Handle an error condition better.
Just in case someone typos a MIPS_MAKE_SYSCALL().
2015-01-19 08:34:12 -08:00
Henrik Rydgård 6cd0cce860 Merge pull request #7344 from unknownbrackets/atrac-parsing
Improve atrac RIFF parsing
2015-01-18 19:49:37 +01:00
Unknown W. Brackets d5c7fb3f0e Avoid an out of bounds mem access. 2015-01-17 18:43:03 -08:00
Unknown W. Brackets e40bef6f17 Fix Mbx callback begin/end funcs.
Oops, bad WAITTYPE.  May help #7345.
2015-01-17 18:15:32 -08:00