Commit Graph

2290 Commits

Author SHA1 Message Date
Unknown W. Brackets
edf3faf251 Clear the audio buffer on game reset.
Avoids blips.
2013-10-19 15:11:06 -07:00
Unknown W. Brackets
e95f55a5fe Fix some enum type warnings. 2013-10-19 14:57:45 -07:00
Henrik Rydgård
be40289d6c Use ffmpeg for Atrac3+ decoding during video playback as well. 2013-10-19 23:09:26 +02:00
Henrik Rydgard
3cefa1ad79 Things seem more stable after initializing the AVPacket.
More testing needed though.
2013-10-19 23:09:25 +02:00
Henrik Rydgard
f311901e5e Use ffmpeg for decoding Atrac3+ in sceAtrac. Thanks Maxim. 2013-10-19 23:09:25 +02:00
Henrik Rydgård
2d331cb8c4 Revert "Clear the symbol map in LoadExec. Fixes some hangs on switching games,"
This reverts commit 6c3f2155c7.
2013-10-18 18:08:18 +02:00
Henrik Rydgård
6c3f2155c7 Clear the symbol map in LoadExec. Fixes some hangs on switching games,
unclear why.
2013-10-18 14:40:58 +02:00
Henrik Rydgård
ac2334386a Move BufferQueue out of the at3 plugin header 2013-10-17 12:31:22 +02:00
Sacha
fafe4fc4f2 Fix multi-threading crashes on shutdown with Linux and Blackberry. Fixes issue #3133 -- thanks @unknown 2013-10-17 17:39:04 +10:00
Henrik Rydgård
9caaa86a87 Merge pull request #4206 from bollu/AudioArtefactFix
optional atomic audio locks
2013-10-16 12:11:50 -07:00
Siddharth
06c13926ee made atomic lock optional
fixed an incorrect merge to nativeApp.cpp

made atomic locks init correctly

reintroduced atomic locks in audio as an optional setting

converted global pointers to global objects on stack

moved all mixing code into PSPMixer

internaized all code into __sceAudio.cpp

cleaned up rebase

cleaned up rebase
2013-10-16 23:42:47 +05:30
Henrik Rydgard
1ec0a977e4 Fix too-slow fade in/out of save dialogs and others in 30hz games. 2013-10-16 18:54:40 +02:00
Unknown W. Brackets
f5e0d80ead Pass arguments to root threads same as regular.
Before it would have issues or crash if the args were > 256 bytes.
Fixes Ys 1 & 2 Chronicles.
2013-10-16 01:31:58 -07:00
The Dax
c7bdeb3084 Eliminate GetSysDirectories and instead provide a new function: GetSysDirectory.
On Win32, call InitSysDirectories before the emuthread starts just to be safe.
2013-10-15 03:41:10 -04:00
Unknown W. Brackets
e06889069c Don't use the destructor to free thread stacks.
If we do, kernelObjects.clear() will trash perfectly good memory on
loading a state.  I guess it also makes shutdown slower.

Fixes #4186.
2013-10-14 22:09:16 -07:00
The Dax
e83ad5feba Remove unused local variable to fix a warning. 2013-10-14 11:44:52 -04:00
Unknown W. Brackets
9388dd092f Cleanup errors in sceHeapFreeHeapMemory(). 2013-10-13 19:20:04 -07:00
Unknown W. Brackets
df285cec64 Fix aligned heap allocation semantics. 2013-10-13 19:14:42 -07:00
Unknown W. Brackets
1b5193b13d Cleanup error codes in sceHeapAlloc*(). 2013-10-13 19:08:23 -07:00
Unknown W. Brackets
ba5dd0084b Implement sceHeapIsAllocatedHeapMemory(). 2013-10-13 19:01:16 -07:00
Unknown W. Brackets
8ffcc26f89 Don't create blank entries in heapList. 2013-10-13 18:57:59 -07:00
Unknown W. Brackets
fbffb6fa7f Return an error when deleting a bad heap. 2013-10-13 18:45:49 -07:00
Unknown W. Brackets
134138618d Allocate heaps similar to hardware.
Could matter for alignment, since a game might intentionally request 0x108
bytes to get an aligned address or something.
2013-10-13 18:36:34 -07:00
Unknown W. Brackets
9a9c4cbea6 Allocate from heaps downward by default. 2013-10-13 18:27:53 -07:00
Henrik Rydgard
40ee00bf46 Add pfat0: as another synonym for ms0:
Might fix Fired Up save issues as reported in #1290.
2013-10-13 13:52:48 +02:00
Henrik Rydgård
cdba174ab7 Merge pull request #4148 from unknownbrackets/config-files
Allow config files and fonts to be on the memstick
2013-10-13 04:01:01 -07:00
Henrik Rydgård
2546f236ee Merge pull request #4151 from shenweip/patch-4
Add NetconfDialog and partly implemented for it.
2013-10-13 03:59:34 -07:00
Unknown W. Brackets
b54e557d19 Actually, let's not wait at all in Core_Stop().
It just triggers the action on the other thread.
2013-10-12 23:20:27 -07:00
shenweip
326d751945 Partly implemented for NetconfDialog. 2013-10-13 10:43:49 +08:00
Unknown W. Brackets
87781736c4 Use ms0:/PSP/flash0/font/ as an override for fonts.
This won't work for games that use flash0:/ directly, but if they just use
the default fonts (which is common), it will work fine.
2013-10-12 16:13:11 -07:00
Unknown W. Brackets
585f86c805 Make sure the io thread doesn't revive itself.
Stupid zombies.  Stay dead.
2013-10-12 10:54:57 -07:00
Henrik Rydgård
996e468562 Merge pull request #4079 from unknownbrackets/thread-funcs
Fix crash deleting a never started thread w/ clearstack
2013-10-09 00:47:11 -07:00
Unknown W. Brackets
73d5c42596 Don't allow a new async cmd while one is busy.
Fixes Valhalla Knights 1.  Also some logging tweaks.
2013-10-08 23:49:24 -07:00
Unknown W. Brackets
a194006aad Fix crash deleting a never started thread.
Fixes #4069.
2013-10-08 22:39:49 -07:00
Henrik Rydgård
ef2d188a68 Merge pull request #4035 from shenweip/patch-12
Implemented sceJpegDecodeMJpegYCbCr and sceJpegMJpegCsc.
2013-10-08 02:52:42 -07:00
Henrik Rydgård
0eee21dbc7 Merge pull request #4074 from tpunix/scePauth_support
add scePauth support
2013-10-08 01:32:27 -07:00
tpu
99913b1b08 add scePauth support 2013-10-08 15:54:28 +08:00
Henrik Rydgard
367a1e21b2 Revert "Merge pull request #4021 from bollu/master"
This reverts commit c84a9daa40, reversing
changes made to da5b52ce1f.
2013-10-07 20:26:10 +02:00
Henrik Rydgard
f938b95925 Revert "Merge pull request #4068 from bollu/AudioArtefactFix"
This reverts commit e4c6ba9b01, reversing
changes made to 061efd35db.
2013-10-07 20:25:35 +02:00
Henrik Rydgård
e4c6ba9b01 Merge pull request #4068 from bollu/AudioArtefactFix
Audio artefact fix
2013-10-07 10:05:59 -07:00
Siddharth
e6ae3ef9b1 forgot to add this 2013-10-07 22:06:16 +05:30
Siddharth
1708febac1 sets audio samples to 0 if audio was not mixed. 2013-10-07 22:03:14 +05:30
Unknown W. Brackets
0c8cc25eb4 Always register the cheat event, for savestates.
This way, if you savestate with cheats on or off, it'll load fine.
2013-10-07 07:46:18 -07:00
Unknown W. Brackets
d3e566935a Avoid load state crash if kernel objects fail. 2013-10-06 22:09:50 -07:00
Unknown W. Brackets
5be30fb857 Add support for the clear stack thread attr. 2013-10-06 12:16:58 -07:00
Unknown W. Brackets
f1bfbe6216 Oops, fix a logging typo. 2013-10-06 12:16:42 -07:00
Lioncash
dc9f839583 Fix a null check in sceHeap.cpp 2013-10-05 18:22:13 -04:00
Henrik Rydgård
4bde70f670 Merge pull request #4017 from shenweip/patch-10
Implemented some functions for sceHeap.
2013-10-05 13:34:00 -07:00
Henrik Rydgård
c84a9daa40 Merge pull request #4021 from bollu/master
Audio Processor now uses atomics rather than mutex
2013-10-05 13:33:11 -07:00
Henrik Rydgård
fec5110dfc Merge pull request #4045 from unknownbrackets/warnings
Warning fixes
2013-10-05 13:31:34 -07:00