Unknown W. Brackets
048afb6d24
UI: Resolve symlinks when adding things to recent.
...
See #11131 . This also normalizes paths, captialization, etc. as
necessary.
2018-08-12 08:25:10 -07:00
Unknown W. Brackets
3c698a5ddb
Io: Prevent error when file locked for writing.
...
When reopening with file sharing flags fixed it, we shouldn't set error.
That would cause the open to still fail.
2018-05-08 18:25:15 -07:00
Unknown W. Brackets
f4e8e68c44
Io: Cleanup file not found error codes.
...
Replay (#10888 ) caused error to be non zero, which was later translated to
something else, confusingly...
2018-05-06 10:15:05 -07:00
Unknown W. Brackets
224229fc1b
Replay: Skip recording virtual disc reads.
...
Oops.
2018-04-17 07:51:49 -07:00
Unknown W. Brackets
89186d8113
Replay: Initial structure for replay functionality.
2018-04-07 15:36:28 -07:00
Henrik Rydgård
fb798cf6b2
Win32 textdrawer: Fix rare crash affecting Patapon 2 in savedata manager. See 10764.
2018-03-23 10:27:08 +01:00
Henrik Rydgård
f76e5e70a7
Enable FlushInstructionCache on UWP, it's been allowed finally.
...
Minor warning fixes, UWP buildfix
Retarget UWP project to latest SDK.
2018-03-20 20:30:33 +01:00
Unknown W. Brackets
0e2a586c1b
Global: Fix some type comparison/shadow warnings.
2018-02-11 07:03:23 -08:00
Henrik Rydgård
6a1fa728d8
Remove Globals.h
2017-08-31 17:15:22 +02:00
Simonas Kazlauskas
3c3596dbf2
Make the Loader API thread-safe
...
Since the majority of the code is using ReadAt API already, map this to
a `readp` "syscall" which does not mutate any state about the file
descriptor therefore making it fairly safe multi-threading wise.
This allows to get rid of read-time mutexes in RamCachedFileLoader and
therefore fixes #9803
2017-06-23 17:23:43 +03:00
Unknown W. Brackets
3249d81654
GE Debugger: Buildfix for BSD.
...
`tm` was not defined, as per jbeich.
2017-06-18 12:17:48 -07:00
Unknown W. Brackets
a223d4e272
Apply a hack to simulate USB created files.
...
Fixes #9794 . Some homebrew accidentally depend on this PSP firmware bug.
2017-06-12 22:55:50 -07:00
Unknown W. Brackets
7e26c75a27
GE Debugger: Pass filename into dump replay.
2017-06-04 15:11:10 -07:00
Unknown W. Brackets
36069d1446
GE Debugger: Simple framework to load dumps.
...
This tries to execute them within the context of the emulator as much as
possible, so we don't have weird bugs. Going with a file type so we can
easily load the dump by opening the file directly.
2017-06-03 15:29:11 -07:00
Henrik Rydgard
792dd1557c
Improve StorageFileLoader enough to actually kind of work
2017-03-23 10:02:28 +01:00
Henrik Rydgard
ff2b6b3fca
Assorted cleanup, UWP memory map fixes. PSPFlower runs in both 32-bit and 64-bit.
2017-03-23 10:02:28 +01:00
Henrik Rydgård
ad5bf8c6f6
This mutex should not have been made local, thanks @unknownbrackets
2017-03-13 16:14:47 +01:00
Henrik Rydgård
440e72d250
Clean up among the logs. Remove MASTER_LOG.
2017-03-06 13:10:23 +01:00
Henrik Rydgard
d64f367e1d
Assorted warning fixes
2017-03-05 10:52:45 +01:00
Henrik Rydgard
26a2d42731
Big mutex overhaul - remove our custom ones, make them non-recursive where possible
2017-02-28 11:40:29 +01:00
Henrik Rydgard
c219ae9e63
Further UWP fixes
2017-02-25 09:57:24 +01:00
Henrik Rydgard
fcbc20f240
Small changes to make Common and Core build under my preliminary UWP setup.
2017-02-24 18:59:41 +01:00
Henrik Rydgard
b0942cf40f
Implement sceIoCreate flag O_EXCL. Should fix #9322
2017-02-19 10:05:17 +01:00
Florent Castelli
70593d1004
android: Change preprocessor define to standard __ANDROID__
...
ANDROID is only standard to the old Makefile buildsystem, not the platform.
2016-10-12 11:14:09 +02:00
Florent Castelli
4145b60a0e
symbian: Remove!
2016-10-11 18:49:08 +02:00
Unknown W. Brackets
92cdb583aa
virtfs: Log properly on handler load failure.
2016-08-06 20:04:50 -07:00
Unknown W. Brackets
25c320aa4b
virtfs: Avoid crash if handler cannot be loaded.
...
For example, if it was renamed or is for the wrong OS.
2016-08-06 19:23:46 -07:00
Unknown W. Brackets
45218be5e3
Send a CRC hash with compatibility reports.
2016-07-04 12:07:15 -07:00
Unknown W. Brackets
65c7d0bd04
Add uncached flag for file loader reads.
...
This allows us to indicate that a read need not be cached.
2016-07-04 12:07:15 -07:00
Henrik Rydgård
cad7235c86
Merge pull request #8802 from unknownbrackets/file-minor
...
Fix extract file and sharing violation handling
2016-06-05 08:22:48 +02:00
Unknown W. Brackets
5fcf6ee012
Provide clearer errors for invalid ISOs.
2016-06-04 22:10:47 -07:00
Unknown W. Brackets
4826405c26
File: Retry open when a sharing violation is hit.
...
Some editors will lock the file while it's open, and it is convenient if
you can still have things work when that happens.
2016-06-04 18:17:05 -07:00
NCDyson
cc829f31b8
Attempt to fix segfault on VirtualDiscFileSystem::GetFileInfo for files where handler is specified
2016-05-31 06:23:53 -05:00
Unknown W. Brackets
0592f56df5
Oops, this modifies the input string it seems.
...
Not sure if ISOs are actually case insensitive, though?
2016-05-30 00:38:20 -07:00
Unknown W. Brackets
9f668a1d31
VirtFS: Normalize leading slashes in index.
...
Otherwise, we might consider "/x" and "x" to be different files, and fail
to use the handler properly.
2016-05-29 22:13:33 -07:00
Unknown W. Brackets
a1fbcc3d93
Avoid directly calling osm from Core/GPU code.
...
This allows UI to handle the message however it wants to, and reduces
cross linkage issues.
2016-05-27 22:05:30 -07:00
Henrik Rydgard
b94572e3ba
Assorted cleanup
2016-03-13 15:17:31 +01:00
Henrik Rydgård
301571359c
Buildfix
2016-03-06 15:21:16 +01:00
Henrik Rydgard
d4e432dadd
Fix issue with lazy loading directory entries. Fixes #8613 .
2016-03-06 14:28:14 +01:00
Henrik Rydgard
082d839965
Fix minor issues in ISOFileSystem
2016-03-06 14:28:10 +01:00
Henrik Rydgard
cef0a6311d
ISOFileSystem: Remove the "restrictTree" functionality which is now obsolete with lazy directory loading.
2016-02-29 01:13:57 +01:00
Henrik Rydgard
6f9755d498
ISOFileSystem: Lazily load directory information as needed. Should speed up game icon loading a bit.
2016-02-28 12:02:01 +01:00
Henrik Rydgard
0b95c4bbd1
ISOFileSystem: Move the level into the tree nodes
2016-02-28 11:51:15 +01:00
Henrik Rydgard
afc8736b9a
ISOFileSystem: Move the startsector and dirsize information into the tree nodes
2016-02-28 11:46:21 +01:00
Henrik Rydgard
0458c7a590
ISOFileSystem coding style cleanup to reduce future diffs
2016-02-28 11:39:57 +01:00
Henrik Rydgard
35b6c7341b
Fix a bunch of memory leaks, after enabling file+line-number memory leak tracking for the MS Debug CRT.
...
Few of these were serious, most were on-exit, but good to have a cleaner memory report after running.
2016-02-10 15:36:10 +01:00
latot
53ac6d98d8
Little things
...
back 1
other little change, join 2 in 1
2016-01-09 20:44:02 -03:00
Unknown W. Brackets
7b921d3bb7
Avoid crash when savestate is for different ISO.
2015-12-24 14:31:23 -08:00
Unknown W. Brackets
7807598690
Mutex around PBP file access.
...
There's some thread safety issue in there, this makes it so we can read
thumbnails without crashing sometimes - fixes #7330 .
2015-12-20 09:35:50 -08:00
Unknown W. Brackets
dd5c91108c
Use a background thread to load ISO into RAM.
...
This way we don't get slow startup. This will also cache the CSO data,
for example, rather than the raw data, using up less RAM. It might even
be reasonable to enable on 32-bit.
2015-12-19 15:23:25 -08:00