Commit Graph

3893 Commits

Author SHA1 Message Date
CPkmn
47ae4709ba Update sceKernelModule.cpp 2013-08-29 01:26:54 -07:00
Unknown W. Brackets
bbe13f1d74 Avoid a crash when a bad video stream is specified. 2013-08-29 00:41:22 -07:00
Unknown W. Brackets
15a0f39fa1 Return yet more errors while inside interrupts. 2013-08-28 23:15:13 -07:00
Unknown W. Brackets
686d893d5c Return more correct errors inside interrupts. 2013-08-28 22:35:06 -07:00
Unknown W. Brackets
211c2bd955 Refuse a few more waits w/ dispatch/intr disabled. 2013-08-28 22:35:05 -07:00
Unknown W. Brackets
8f25829b06 Change sceAudioOutput* unreseved ch errors.
Tests show it should be this other error code.
2013-08-28 22:35:05 -07:00
The Dax
d113254774 Add an option to restore PPSSPP's settings to default. Does not restore controller bindings to default. 2013-08-28 16:25:58 -04:00
Unknown W. Brackets
17a5a42a14 Disable some common waits inside interrupts. 2013-08-27 23:55:37 -07:00
Unknown W. Brackets
61fae4e920 Return proper errors while dispatch disabled.
In at least the majority of waits.
2013-08-27 23:55:37 -07:00
Unknown W. Brackets
252bf04c64 sceKernelDelaySysClockThread() cleanup.
It doesn't wait either of course.
2013-08-27 23:55:35 -07:00
Unknown W. Brackets
93b461774a Disable common wait funcs while intr disabled.
Per PSP tests.
2013-08-27 23:55:35 -07:00
Unknown W. Brackets
130f664030 Oops, disabling a subintr did not work. 2013-08-27 23:55:34 -07:00
Unknown W. Brackets
9aaad39b46 Disable sceKernelDelayThread() w/intr disabled.
But automatically resume the dispatch thread if only it is disabled.
2013-08-27 23:55:34 -07:00
Unknown W. Brackets
1c51564896 Stop practicing thread necromancy. 2013-08-27 23:55:34 -07:00
Henrik Rydgård
5002979fc6 Merge pull request #3447 from thedax/master
Cleanup: Remove some unused options, and move some out of the "These are broken" section.
2013-08-27 14:42:47 -07:00
The Dax
d583732e0e Remove some unused options, and move one out of the "These are broken" section. 2013-08-27 17:36:04 -04:00
Henrik Rydgard
a530d47fcd Clamp bad audio pitches for safety. 2013-08-27 22:47:45 +02:00
Henrik Rydgard
6360fcb0ae Add some stats to get some idea of much alpha tested drawing we do.
Turns out it's one hell of a lot and we really should fix this by
checking both vertices and textures to deduce when we can just skip
alpha testing safely, probably quite often.

I care about this because alpha testing drawing is very expensive
on some mobile chips.
2013-08-27 21:01:17 +02:00
The Dax
91fe3a8d4c Remove old comment since this now supports wchar/Unicode. 2013-08-27 08:54:41 -04:00
The Dax
d5c4f6673c Switch from u32_le to u32, and truncate the user's input if it's too long(so that they still get something entered. It's probably confusing not to enter something). 2013-08-27 08:46:54 -04:00
The Dax
3c303925c9 Change u32_le to u32. 2013-08-27 08:41:59 -04:00
The Dax
f70faaa0c2 Terminate the loop early if it's going to overflow; there's no reason to keep riding it out. Also fix use of uninitialized variable. 2013-08-27 08:08:06 -04:00
The Dax
2e25f00585 Really prevent the possible buffer overflow. This is getting silly. 2013-08-27 08:02:42 -04:00
The Dax
58ca962d89 Prevent possible buffer overflow. 2013-08-27 07:44:32 -04:00
The Dax
05b860c167 Win32: Update OSK bypass with Unicode/wchar/wstring support. 2013-08-27 07:36:46 -04:00
Henrik Rydgård
454d794f9e Merge pull request #3438 from unknownbrackets/win32-unicode
Fix wide char usage in the debugger (garbage func names) and file handling
2013-08-27 01:06:13 -07:00
Henrik Rydgård
5b553d3c45 Merge pull request #3435 from unknownbrackets/audio-minor
Clear the mixbuffer when all channels empty
2013-08-27 01:05:20 -07:00
Henrik Rydgård
dde75143ac Merge pull request #3430 from unknownbrackets/framebuf-wait
Watch for consistently high flips, not spurts
2013-08-27 01:04:59 -07:00
Unknown W. Brackets
8ccd3773d9 Open files using wide functions on win32.
Fixes #3432.
2013-08-27 00:28:46 -07:00
Unknown W. Brackets
18792f64f9 Fix debugger wstring usage. 2013-08-26 23:54:48 -07:00
Unknown W. Brackets
a0db57a5d3 Clear the mixbuffer when all channels empty. 2013-08-26 21:06:26 -07:00
Unknown W. Brackets
57d057d661 Watch for consistently high flips, not spurts. 2013-08-26 20:12:26 -07:00
Henrik Rydgard
55aa3d13c7 Win32: Switch to a UNICODE build. This took quite a bit of fixing. 2013-08-26 19:00:16 +02:00
the avenger
914392708c iOS buildfix 2013-08-26 06:01:23 -07:00
Unknown W. Brackets
fa57e23305 Implement volatile memory lock waiting. 2013-08-26 01:04:37 -07:00
Unknown W. Brackets
ea2a92a2c8 Seems like these are just aliases. 2013-08-26 01:04:12 -07:00
Henrik Rydgård
3cc28652f9 Merge pull request #3403 from unknownbrackets/fpl
Improve the FPL implementation
2013-08-26 00:25:00 -07:00
Unknown W. Brackets
cf9f92e12f Reschedule after resuming interrupts. 2013-08-25 22:38:45 -07:00
Unknown W. Brackets
354dbfec6c Improve some reporting of options structs. 2013-08-25 16:43:47 -07:00
Unknown W. Brackets
d547d2b391 Implement sceKernelCancelMutex(). 2013-08-25 16:38:49 -07:00
Unknown W. Brackets
18832f3ca7 Wrap sceKernelFreeFpl() and use better errors. 2013-08-25 16:38:49 -07:00
Unknown W. Brackets
6c6aa1b8ee Wrap sceKernelAllocateFpl() and friends. 2013-08-25 16:38:49 -07:00
Unknown W. Brackets
61e240f482 Allocate fpl blocks in a ring, like the PSP. 2013-08-25 16:38:48 -07:00
Unknown W. Brackets
8d750d65e8 Properly remove timed out fpl waits from status. 2013-08-25 16:38:48 -07:00
Unknown W. Brackets
a947c95829 Clean up sceKernelReferFplStatus(). 2013-08-25 16:38:47 -07:00
Unknown W. Brackets
fb95f07c5d Implement cancel and delete for fpls. 2013-08-25 16:38:47 -07:00
Unknown W. Brackets
a2471b810c Implement basic fpl waiting. 2013-08-25 16:38:46 -07:00
Unknown W. Brackets
107b464ace Handle the fpl alignment option as well. 2013-08-25 16:38:46 -07:00
Unknown W. Brackets
0969261e3e Fix error handling in sceKernelCreateFpl(). 2013-08-25 15:14:21 -07:00
Unknown W. Brackets
f48b730828 Wrap sceKernelCreateFpl and fix refer status.
Just initial changes to make it test properly.
2013-08-25 15:14:20 -07:00