Commit Graph
14343 Commits
Author SHA1 Message Date
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 e36f894f66 HLE: Replace Motorstorm pixel read func.
Helps with some lighting, see #12363.
2019-10-05 08:37:18 -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
Unknown W. Brackets f1037248f1 Io: Store sceIoChangeAsyncPriority value.
Also some prep for async threaded IO.
2019-09-01 08:16:05 -07:00
Unknown W. Brackets dd804660c9 Psmf: Use kernel memory for helper thread stack.
Also, thread stacks must be 0x200 or larger.
2019-09-01 08:16:05 -07:00
Henrik Rydgård 25dfc9ea9c sceUsbCam: Fix some bugs my last commits introduced. 2019-08-26 23:25:33 +02:00
Henrik Rydgård a17fe334a1 MJPEG in sceJpeg: Notify the framebuffer manager that there's been a picture written to memory. Fixes part of #8521 2019-08-26 18:26:52 +02:00
Henrik Rydgård 402b6b2457 Improve some logging (%08x for addresses) 2019-08-26 18:26:52 +02:00
Henrik Rydgård 5a68fc29c9 sceUsbCam: Heap-allocate the buffer. 2019-08-26 18:26:52 +02:00
Unknown W. Brackets 0e923bb0d5 Merge pull request #12277 from unknownbrackets/remote-iso
Show remote disc streaming games in same recent order
2019-08-25 14:08:35 -07:00
Unknown W. Brackets 5f7872885d http: Remove web server restart handling.
Now it serves the response dynamically, so it doesn't need to restart.
2019-08-25 13:14:49 -07:00