Commit Graph

7161 Commits

Author SHA1 Message Date
Henrik Rydgård
af4b559038 Merge pull request #7547 from hrydgard/func-stack-clear
Add ability to flag HLE functions to clear a bit of stack.
2015-03-05 10:37:28 +01:00
Henrik Rydgard
3e408047d3 Use unknown's measured stack clearing amounts in sceLibFont 2015-03-05 10:36:03 +01:00
sum2012
4c827d1b3e Add install error translatable 2015-03-04 20:59:09 +08:00
Andrey Bondrov
e898200c19 Free flipbuffer 2015-03-04 03:21:38 +10:00
Andrey Bondrov
f81ec4ce65 Keep Qt UI screenshots in RGB888 format, just convert the buffer properly 2015-03-04 02:53:33 +10:00
Andrey Bondrov
168ab06266 Fix image format for screenshots with Qt UI 2015-03-04 02:16:47 +10:00
Unknown W. Brackets
98d7afae89 Switch to #pragma once in a few places.
Doesn't really affect git history much to change these.
2015-03-02 22:34:51 -08:00
Unknown W. Brackets
22ce464e42 Don't wake a vblank waiting thread within 115us.
Fixes #6966, matches PSP behavior.
2015-03-01 18:31:25 -08:00
Henrik Rydgard
fd1dcb881f Add ability to flag function to clear a bit of stack. See #6374, idea by JPCSP, pointed out by sum2012. 2015-03-02 01:03:12 +01:00
Unknown W. Brackets
179e996b0b jit: Discard unused regs before a syscall.
This is a pretty minor optimization, though.
2015-03-01 11:08:59 -08:00
Henrik Rydgård
238e0ed92e Merge pull request #7544 from unknownbrackets/mpeg-minor
Minor tweaks in sceMpeg, fix color range
2015-03-01 18:32:47 +01:00
Unknown W. Brackets
c16fac6688 Force off full-range color during video decode.
Fixes #6528, so should make colors in videos more correct.
2015-03-01 09:27:38 -08:00
Unknown W. Brackets
d49010832c Make sceMpegChangeGetAuMode() operate more sanely.
I'm pretty sure this is what the intention was before, but it still
doesn't do anything useful (since ignore* are... ignored.)
2015-03-01 09:26:53 -08:00
Unknown W. Brackets
f312925374 Fix a log message. 2015-03-01 09:26:08 -08:00
Unknown W. Brackets
8f7e98f484 Keep Windows devices from sleeping while playing. 2015-03-01 08:29:11 -08:00
Chin
22593cddcc Use pre-increment instead of post-increment for iterators, and use auto for some iterators 2015-03-01 16:55:47 +01:00
Chin
37f50a3792 Change to pass some arguments by reference 2015-03-01 16:49:00 +01:00
Chin
ff5d408c81 Combine two ifs 2015-03-01 16:48:25 +01:00
Henrik Rydgard
cbf8aa41a4 Merge branch 'analog-options' of https://github.com/ShiftyAxel/ppsspp into ShiftyAxel-analog-options 2015-03-01 16:17:41 +01:00
Henrik Rydgard
bfa52e61a3 Some games spam sceAudioGetChannelGetLength, reduce loglevel to VERBOSE to ease debugging 2015-03-01 15:33:35 +01:00
Henrik Rydgård
3773d25b2e Merge pull request #7537 from sum2012/mpeg
Some work in sceMpegGetPcmAu
2015-03-01 12:27:02 +01:00
Unknown W. Brackets
bb09c2d948 Merge pull request #7539 from Kingcom/virtualdisc
Don't read past the end of sce_lbn files on virtual discs
2015-03-01 01:57:16 -08:00
sum2012
b5ee54a653 Fix linux compile 2015-03-01 08:39:48 +08:00
Henrik Rydgård
30ad27f961 Merge pull request #7536 from unknownbrackets/control-minor
Add an option to ignore gamepads when not focused
2015-03-01 01:11:40 +01:00
Kingcom
efa2566192 Don't read past the end of sce_lbn files on virtual discs 2015-03-01 00:45:57 +01:00
Unknown W. Brackets
6cc84ffdbb jit: fix invalidation of blocks with only jr.
We need to expand the range not to the latest exit, but to the size of the
block.
2015-02-28 15:09:41 -08:00
sum2012
cb66412919 Some work in sceMpegGetPcmAu
Fix #6546
2015-03-01 06:52:45 +08:00
Unknown W. Brackets
cf88c7ff67 Add an option to ignore gamepads when not focused. 2015-02-28 14:02:03 -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