Commit Graph
14759 Commits
Author SHA1 Message Date
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
Henrik Rydgård 06b0ac9ccc Merge pull request #4070 from thedax/win32Portability
Win32: Make PPSSPP have a portable mode.
2013-10-13 16:11:47 -07:00
The Dax 823b6ee465 Clean up GetSysDirectories. File::GetExeDirectory is much cleaner. 2013-10-13 19:01:53 -04:00
The Dax 85f6d6bf0e If the custom directory or the current directory is read-only, fall back on the Documents directory.
After that point(if Documents is somehow read-only), we'd be screwed anyway, so there's no need to bother checking it..
2013-10-13 18:22:04 -04:00
Unknown W. Brackets 401400bb52 Fix uninitialized variable, oops. 2013-10-13 15:14:30 -07:00
The Dax d8a0adf50c If installed.txt has a path in it, use that instead of the detected Documents directory. 2013-10-13 17:43:01 -04:00
The Dax b3018eb37f Allow Win32 to store its saves, config files, etc., elsewhere.
If installed.txt exists(or the executable directory is read-only), use the user's My Documents(XP) or Documents(7/8/8.1) directory to search for everything. If it doesn't, or we can't determine the directory for some reason, use the old behaviour.
2013-10-13 16:45:59 -04:00
Unknown W. Brackets 5687fa481b Don't SyncThread while not running, wake more proactively.
Maybe the wait_for() is no longer needed there...
2013-10-13 12:13:11 -07:00
Unknown W. Brackets d43c56ea29 Small warning fix. 2013-10-13 12:12:53 -07:00
The Dax 7000b63082 When using a debug build, always show the debug log/enable logging on start. 2013-10-13 14:31:48 -04:00
The Dax 9c868351de Make Enable Debug Logging checkbox instant as it was intended to be. 2013-10-13 14:18:50 -04:00
The Dax 3d8b68e88e Make Fullscreen checkbox instant. 2013-10-13 13:34:55 -04:00
Unknown W. Brackets 479a9801d4 Shutdown issues: the legend continues.
If the gpu was slow (softgpu for example), it might still be accessing
memory.  Need to let it wake, and ignoring coreState too.
2013-10-13 09:35:02 -07:00
Unknown W. Brackets 8c022d56be Support non-pfat0 savestates, slightly hacky... 2013-10-13 09:34:20 -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 Rydgard 3af5a759b4 Log some save state errors 2013-10-13 13:46:44 +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
Henrik Rydgård 29dd284372 Merge pull request #4156 from Kingcom/rotrfix
Fix rotrv (dis)assembly
2013-10-13 01:42:54 -07:00
Kingcom 480c766776 Fix rotrv (dis)assembly 2013-10-13 10:36:43 +02: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 8a6d36dcb0 Fix 2013-10-13 11:56:47 +08:00
shenweip 326d751945 Partly implemented for NetconfDialog. 2013-10-13 10:43:49 +08:00
shenweip ce50086c81 Add new files to cmake and Android.mk 2013-10-13 10:32:56 +08:00
shenweip 1ff4b9c8ce Add PSPNetconfDialog. 2013-10-13 10:26:51 +08:00