Unknown W. Brackets
dde39bd956
Optimize a bit by checking module names.
2013-08-31 17:45:17 -07:00
Unknown W. Brackets
33e001f017
Unexport var symbols when destroying modules.
...
The problem with a global list is that an unloaded module with unresolved
imports will get garbage written in. This should be safer, and hopefully
not slower.
Next up: func imports.
2013-08-31 17:31:30 -07:00
Unknown W. Brackets
9311d405e9
Centralize and track imports/exports.
...
So that we can "unresolve" them.
2013-08-31 17:00:08 -07:00
Henrik Rydgård
42ec8bc3ef
Merge pull request #3537 from unknownbrackets/utility-minor
...
Return wrong dialog type in screenshot/gamesharing
2013-08-31 14:44:35 -07:00
Unknown W. Brackets
08225cad23
Return wrong dialog type in screenshot/gamesharing.
...
Should at least reduce reports of these failing, and give us better info.
May also work more correctly.
2013-08-31 14:42:55 -07:00
Unknown W. Brackets
74a7376604
Add some reporting and fix some duplicates.
2013-08-31 13:55:51 -07:00
kaienfr
a8557ab839
Fix the crash of game "tiger x dragon"
2013-08-31 21:35:24 +02:00
Henrik Rydgard
67edc28aa5
Add reporting for some configurable systemparams that don't seem very interesting to keep
2013-08-30 23:06:21 +02:00
Henrik Rydgard
0d0b43818c
Warning fixes and stuff
2013-08-30 20:14:16 +02:00
Unknown W. Brackets
0d0d036522
Clean up MAC address conversion in HLE.
...
Not planning to implement net, but this fixes a potential crash / buffer
overflow, and implements a commonly reported unimplemented function.
2013-08-29 23:47:03 -07:00
papel
d22e555e4f
Fix volume and name of Latin American languages.
2013-08-29 13:25:29 -03:00
CPkmn
47ae4709ba
Update sceKernelModule.cpp
2013-08-29 01:26:54 -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
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 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
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
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
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
Unknown W. Brackets
8d7eb265be
Log context switch time, shorten logging a bit.
...
This is really useful for seeing why games are slow or hanging.
2013-08-25 10:25:49 -07:00
Unknown W. Brackets
2d806b4820
When fps cap is hit, delay current thread only.
...
Fixes Jeanne d'Arc freezing. Unfortunately, small hit to perf in God of
War, but may improve audio quality anyway...
2013-08-25 09:46:21 -07:00
Henrik Rydgard
4121d5ae62
Fix division by zero in low latency audio mode
2013-08-25 13:03:57 +02:00
sum2012
8679fb4748
ThreadManForKernel_ceadeb47 should equal to sceKernelDelayThread
2013-08-25 14:45:44 +08:00