Henrik Rydgård
0cd3ac06d0
Avoid trying to create a FileLoader for empty filenames
...
Assorted cleanup
2019-02-25 21:35:51 +01:00
Henrik Rydgård
b572dc52a5
Remove usage of deprecated function readdir_r (and ugly Blackberry hack diren_large)
2019-01-08 12:29:59 +01:00
Unknown W. Brackets
340460f01c
Io: Add missing error code on file open.
...
Doesn't affect Windows.
2018-11-06 19:28:22 -08:00
Unknown W. Brackets
ce6cb7e7c9
Core: Report disc read errors to the user.
...
At least when we can detect this, better not to keep silent about it.
2018-09-29 00:45:50 -07:00
Unknown W. Brackets
ac5467ca67
Io: Linux buildfix.
...
Fixes #11300 .
2018-08-13 07:32:53 -07:00
Henrik Rydgård
a495537164
Merge pull request #11297 from unknownbrackets/fs-root
...
Io: Prevent cur/parent dir in listing of root
2018-08-13 07:48:51 +02:00
Unknown W. Brackets
7a058180bb
Io: Prevent cur/parent dir in listing of root.
...
See #9344 . Matches tests.
2018-08-12 19:27:26 -07:00
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