Commit graph

9439 commits

Author SHA1 Message Date
Henrik Rydgård
714205d699 Vulkan: Enable renderpass merging for all games (was introduced in 1.9 for GoW games). A number of other games can also benefit. 2019-11-30 22:44:59 +01:00
Henrik Rydgård
9c40381db0 Remove the I/O on Thread option - treat it as always on. 2019-11-04 22:21:20 +01:00
kotcrab
b7a64750ed Fix vcrs disassembly 2019-10-30 22:35:13 +01:00
Henrik Rydgård
86c781e434 Hack around most of the problems with the save/load dialog. Software stretch gets enabled in non-wide mode, so wallpapers work at a cost of speed. 2019-10-27 20:55:32 +01:00
Henrik Rydgård
9099441973 Darkstalkers: Gross hack to avoid the game's own stretch, and present the raw buffer instead for a sharper image. 2019-10-27 20:54:36 +01:00
Henrik Rydgård
19a1fa8430 Add a compat.ini flag for software rendering, use it to force on in Darkstalkers 2019-10-27 20:54:36 +01:00
Henrik Rydgård
3924e457be Also rename the config setting to make sure it starts out off. 2019-10-25 16:03:00 +02:00
Henrik Rydgård
9b8533c936 Revert "Remove Google Cardboard support. Fixes #11668"
This reverts commit e284d9f00d.
2019-10-25 16:03:00 +02:00
Henrik Rydgård
e09296b9b1
Merge pull request #12433 from unknownbrackets/io-minor
Io: Return error code for write attempt to UMD
2019-10-20 22:38:36 +02:00
Unknown W. Brackets
913121cf2b Io: Consistently use error codes with OpenFile().
This gets rid of OpenWithError(), and just always returns a negative value
on error for OpenFile().  Also fixed the sequence rollover, which could've
returned 0.

0 should be considered a valid handle ideally, but left it never returning
0 to simplify cleanup in some areas.
2019-10-20 11:03:37 -07:00
Unknown W. Brackets
45516783f6 Io: Return error code for write attempt to UMD.
Previously, we were returning file not found (because 0), which was not
correct.  We were also allowing write handles to sce_lbn.
2019-10-20 10:36:13 -07:00
Unknown W. Brackets
f63daf8185 Io: Change async thread priority if running.
Really thought I'd already done this, must've made a mistake...
Fixes #12400.
2019-10-20 10:26:37 -07:00
Unknown W. Brackets
4065fae262 Io: Destroy async threads on reset.
Oops, this left us in a different state on exit.
2019-10-20 10:25:57 -07:00
Henrik Rydgård
29950c0ad5 Update last commit to use IsValidRange instead of IsValidAddress. 2019-10-13 16:21:52 +02:00
Henrik Rydgård
d64f9c44f3 Code analysis: Skip invalid code sections. May help #12414. 2019-10-13 13:25:18 +02:00
Henrik Rydgård
0b17dd04e6
Merge pull request #10393 from hrydgard/compute-upload
Vulkan: Texture upload through compute, experimental texture scaling too
2019-10-08 09:11:25 +02:00
Unknown W. Brackets
a1ee226c39 SDL: Switch audio device when plugged in. 2019-10-07 20:16:20 -07:00
Unknown W. Brackets
8751316051 SDL: Use a configurable output device. 2019-10-07 20:15:25 -07:00
Henrik Rydgård
eb2109a0f1
Merge pull request #12328 from unknownbrackets/io-async
Use PSP threads for async IO
2019-10-07 21:50:57 +02:00
Henrik Rydgård
13f87301cf
Merge pull request #12371 from unknownbrackets/thread-detach
Avoid thread.detach(), join when needed instead
2019-10-07 20:27:42 +02:00
Henrik Rydgård
8e44230d70
Merge pull request #12394 from unknownbrackets/remote-iso
Allow pinning URLs to game browser
2019-10-07 20:04:40 +02:00
Henrik Rydgård
cb8c57f8e3
Merge pull request #12370 from unknownbrackets/switch
Pull some base parts of the Switch PR
2019-10-07 20:01:36 +02:00
Unknown W. Brackets
2d7ce0afa3 UI: Allow remote paths to be pinned.
Currently, the listing request is synchronous, but it works fine
otherwise.
2019-10-06 09:31:06 -07:00
Unknown W. Brackets
41a6831333 Vulkan: Add a setting for hardware scaling. 2019-09-30 00:35:50 -07:00
Unknown W. Brackets
5871ab0538 UI: Stop caching the draw context in coreParam.
This is possibly getting outdated in some paths of graphics reinit, and
then causing crashes.  Let's just always get it from the graphicsContext.
2019-09-28 21:58:15 -07:00
Unknown W. Brackets
c9c34c4ca1 SaveState: Handle compression thread better.
Was leaking before.
2019-09-28 11:43:44 -07:00
Unknown W. Brackets
1307273dd7 UI: Cleanup install threads from UI thread. 2019-09-28 11:39:58 -07:00
Unknown W. Brackets
cc6115d875 Io: Join loading/manager threads more explicitly. 2019-09-28 11:18:42 -07:00
Unknown W. Brackets
e639dc801f http: Ensure webserver shutdown on exit. 2019-09-28 11:12:12 -07:00
Unknown W. Brackets
c8c0cd51c7 Core: Avoid detach for game loading thread. 2019-09-28 11:07:57 -07:00
Unknown W. Brackets
bce25bcaed Reporting: Use a single message posting thread.
This could cause a short delay when quitting a game, because it now waits
for them all to finish posting on exit.  Only when reporting enabled.
2019-09-28 10:45:45 -07:00
M4xw
15a9a0ac8f Switch: Cleanup some includes.
Disable dlopen and tty checks too.
2019-09-28 09:22:38 -07:00
Unknown W. Brackets
2eee84b5ce Switch: Add basic defines for checks/reporting. 2019-09-28 09:00:20 -07:00
Unknown W. Brackets
bdd2029623 Core: Fix memory range guard check.
Was allowing sizes with the high bits set, which could cause all kinds of
weird issues and crashes.
2019-09-28 08:40:41 -07:00
Henrik Rydgård
553ea23c34 Add memory range checks to a few little-used sysclib functions. Might help #12359. 2019-09-27 22:58:18 +02:00
Henrik Rydgård
a461dbeecb Fix crash in Zip UI. Make another crash happen earlier. 2019-09-27 22:56:37 +02:00
Henrik Rydgård
ccf63ef544 Fix crash in zip handling 2019-09-27 22:55:39 +02:00
Unknown W. Brackets
f74e4289ee Debugger: reset step counter on game stop.
This way we ensure that a game reset will retrigger a stepping
notification.
2019-09-25 23:36:01 -07:00
Henrik Rydgård
58da4aa24b Update default adhoc server to one that works 2019-09-23 11:38:39 +02:00
Henrik Rydgård
e3a40e9cd7 Remove an old special case 2019-09-02 21:42:49 +02:00
Henrik Rydgård
e2ecf306fa Android: Be slightly more aggressive at defaulting to Vulkan (from Android 8.1 / 27) 2019-09-02 21:42:07 +02:00
Unknown W. Brackets
c53acfcac9 Io: Correct result on async file not found. 2019-09-01 09:43:01 -07:00
Unknown W. Brackets
c26becb545 Io: Wait async thread on IO completion.
So it doesn't exit early.
2019-09-01 09:32:58 -07:00
Unknown W. Brackets
419ac33dcd Io: Cleanup some logging. 2019-09-01 09:18:27 -07:00
Unknown W. Brackets
8e77db2b72 Io: Check callbacks in sceIoWaitAsyncCB(). 2019-09-01 09:11:09 -07:00
Unknown W. Brackets
e817d79c39 Io: Handle open async in a thread. 2019-09-01 08:16:06 -07:00
Unknown W. Brackets
2bfcba0623 Io: Use async for read/write/seek/ioctl.
This should properly respect the thread priority setting and improve IO
timing.  Improves IO thread timing tests.
2019-09-01 08:16:05 -07:00
Unknown W. Brackets
4578381f7a Io: Prepare HLE thread handling for async. 2019-09-01 08:16:05 -07:00
Unknown W. Brackets
ad274d5b72 Psmf: Cleanup finishThread save state handling. 2019-09-01 08:16:05 -07:00
Unknown W. Brackets
5fec5c90d8 Io: Cleanup some error handling. 2019-09-01 08:16:05 -07:00