Commit Graph
4433 Commits
Author SHA1 Message Date
Henrik Rydgård 2c5adc96cf Rip out the support for the Atrac3+ plugin. It is gone, to never return. 2013-10-19 23:09:26 +02: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 51196742ee Clear symbol map in AttemptLoadSymbolmap on non-windows 2013-10-18 18:23:17 +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 f85b4a4252 Buildfix 2013-10-18 15:07:04 +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 07c818251c Some formatting cleanup.
Yeah, I said we shouldn't do big overhauls..
2013-10-18 14:39:04 +02:00
Unknown W. Brackets 9a707f6c00 Fix typo, ARM build. 2013-10-17 15:28:50 -07:00
Unknown W. Brackets 2e8ef3027f Write the retaddr to rd, not always ra, in jalr.
Thanks go entirely to @Kingcom for pointing this out.

Don't know of any games not using RA as the rd.
2013-10-17 07:39:33 -07:00
Henrik Rydgård 99fec75f06 Delete OMAConvert, entirely unused 2013-10-17 12:33:57 +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 Rydgard aa3cf34fc1 Jit: Fix valgrind warnings.
The first time PrefixStart was entered with startDefaultPrefix = true, it would
call EatPrefix, which checks the so far entirely uninitialized prefixXFlags.
2013-10-16 22:33:48 +02: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
Henrik Rydgard e88a049e79 Windows: Center window on first start 2013-10-15 13:10:25 +02:00
The Dax fec7dab628 Have CWCheats use it, too. It's useful pretty much anywhere one needs the real path instead of a virtual memory stick path. 2013-10-15 03:41:11 -04:00
The Dax 845a25e897 Whoops. Forgot to push this. 2013-10-15 03:41:11 -04:00
The Dax b549a4e6e5 Assume g_Config.memCardDirectory will have a trailing slash. Make InitSysDirectories for Win32 only. 2013-10-15 03:41:10 -04:00
The Dax 6efd5b33f7 We don't really need DIRECTORY_FLASH0 or DIRECTORY_MEMSTICK. 2013-10-15 03:41:10 -04: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 22e7b64df3 Don't write files before creating the directory in the first place. 2013-10-14 17:28:27 -04:00
The Dax e83ad5feba Remove unused local variable to fix a warning. 2013-10-14 11:44:52 -04:00
Sacha 7927b889b3 Buildfix Qt Linux. 2013-10-15 00:40:46 +10:00
Sacha 18b7503dd5 Fix rounding errors in armjit. 2013-10-14 19:24:13 +10:00
Unknown W. Brackets e4f71ce6e4 Avoid a few expected asserts in headless mode. 2013-10-14 00:51:08 -07:00
Henrik Rydgård 86b312472c Merge pull request #4171 from unknownbrackets/heap
Improve accuracy of sceHeap functions
2013-10-13 23:55:45 -07:00
Henrik Rydgård c13cb78d97 Merge pull request #4172 from thedax/win32Portability
Support UTF-8 paths in installed.txt.
2013-10-13 23:54:41 -07:00
The Dax 45d6ab9d7b Support more than just UTF-8. 2013-10-14 02:46:05 -04:00
The Dax 702c355cb6 Use a C++ version. 2013-10-14 02:24:02 -04:00
The Dax 81e7f1204c Support unicode paths in installed.txt.
The only caveat is it has to be saved as a UTF-8 file or it won't work properly.
Also, make some variables const since they're not changed.
2013-10-14 00:12:17 -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
Unknown W. Brackets a466b5ba32 Also allow restartless cheats after loading state.
At least, an older state.
2013-10-13 18:03:23 -07:00
Unknown W. Brackets bbaacab315 Don't crash if the cheat file is inaccessible. 2013-10-13 17:57:43 -07:00
Unknown W. Brackets f3e3f2e6cd Let's just always use PSP/Cheats/, it's simpler.
No reason people on iOS won't want this.
2013-10-13 17:57:42 -07:00
Unknown W. Brackets 8cd64a9f8a Allow cheats to start and stop in game. 2013-10-13 17:57:42 -07:00
Unknown W. Brackets bbde56398f Create the cheats directory always.
Seems like things break otherwise?  Fixes #4169.
2013-10-13 17:57:35 -07:00
The Dax 54de8739f1 Fix critical bug with GetSysDirectories. 2013-10-13 19:30:07 -04:00