shenweip
c3a489fa90
Don't ignore SCE_KERNEL_ERROR_NOCWD in many cases.
...
Use a error 1 to mean the uccessful mapping but carry with SCE_KERNEL_ERROR_NOCWD error.
2019-12-13 17:59:55 +08:00
shenweip
fd6b0554d6
IO:Re-grab SCE_KERNEL_ERROR_NOCWD.
...
Fix issue#12492,the issue occur since commit e09296b9b1
2019-12-13 11:15:58 +08:00
shenweip
a6d511d123
IO:Add an extra delay to simulate umd delay in file seek whence.
...
Pangya(KS) seems want to check something base on this delay and system time.Anyhow, the game work now.
2019-12-13 08:19:17 +08:00
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
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
Unknown W. Brackets
b2005f87e6
http: Show recent games in same order.
...
Rather than sorting alphabetically by filename.
2019-08-25 13:08:04 -07:00
Unknown W. Brackets
2e5065a6f5
http: Improve EBOOT.PBP handling.
...
At least when it works, we should use a better filename.
2019-08-25 12:55:10 -07:00
Florin9doi
b114984c88
[Android] Fix code style
2019-08-25 13:04:33 +03:00
Florin9doi
e1164cfe4f
[Android] Updates for camera
...
-rotate camera frames to follow display orientation
-release camera resources when a game is closed
-release camera resources when the activity is paused
2019-08-24 22:54:45 +03:00
Henrik Rydgård
088901324d
Missed this in the last commit, sigh
2019-08-24 09:56:19 +02:00
Henrik Rydgård
31de5a5082
Improve an assert message that AkiraJkr saw. Fix a silly bug in the last commit.
2019-08-23 18:42:10 +02:00
Henrik Rydgård
7196d6ac7e
Default to Vulkan on Android Pie or later. Fixes #12228 .
2019-08-23 17:14:11 +02:00
Henrik Rydgård
3229b93673
SasAudio: Cap the cycle estimate at 1200 to prevent crackling in FFT. Fixes #9956 .
2019-08-22 23:41:20 +02:00
Henrik Rydgård
93412aff3b
Vulkan: Automatically merge render passes to the same target when possible.
...
Should speed things up a bit on mobile in some games that do stupid
things like GoW. Currently only enabled in GoW, but plan to enable this
globally as it should be quite cheap when nothing is detected.
2019-08-21 20:32:23 +02:00
Henrik Rydgård
78e849bff1
Decided to end the practice of #ifdefs in Config.h. Led to bizarre miscompilations when reading config with inconsistent ifdefs set.
2019-08-21 10:17:33 +02:00
Henrik Rydgård
19a443819b
Bugfixes to VK gpu profiling. Properly get the valid bits.
2019-08-21 09:02:40 +02:00
Henrik Rydgård
653afeb7ab
Vulkan: Implement basic integrated GPU profiling.
...
Currently simply measures the total GPU time of the frame. Will later be
extended to get the execution time of individual render passes.
2019-08-21 00:03:00 +02:00
Antx64
1f6e5e463e
removed the sceUsbMic checks
2019-08-20 08:45:08 -04:00
Antx64
c398da48ac
Fixes delete button for downloaded games from homebrew store in UWP
2019-08-19 23:37:14 -04:00
Unknown W. Brackets
66687c2c82
Core: Fix a format type error.
2019-08-17 13:31:16 -07:00
Henrik Rydgård
8643360438
Merge pull request #12231 from unknownbrackets/io-sharing
...
Windows: Allow write-only files to be read later
2019-08-10 18:19:45 +02:00
Unknown W. Brackets
761a9d321f
Windows: Allow write-only files to be read later.
...
Fixes #11939 , at least the hang described in that issue. Seems to match
with how the PSP handles file locking.
2019-08-10 08:34:01 -07:00
Henrik Rydgård
f9ede96344
Address feedback
2019-08-06 16:39:28 +02:00
Henrik Rydgård
8642134419
VFPU-Int: Add a few fast-paths to ReadMatrix/WriteMatrix. Should gain back part of the speed lost in #12217
...
(which fixed #5399 ).
2019-08-06 16:29:58 +02:00
Henrik Rydgård
9b30e5393d
Buildfix (oops)
2019-08-06 16:09:39 +02:00
Henrik Rydgård
641bb72b40
Memchecks: Avoid taking the mutex lock if no memchecks active. Possible minor speedup in GoW and other block-copy-heavy games.
2019-08-06 15:33:11 +02:00
Henrik Rydgård
f65a71d6d8
Compat: Option to use accurate dotprod for VMMUL.
...
Eliminates Tekken 6 leg shaking.
2019-08-05 11:44:52 -07:00
Unknown W. Brackets
c1c869df27
interp: Implement software inverse square root.
2019-08-04 21:24:13 -07:00
Unknown W. Brackets
6028b79895
interp: Oops, fix vdot bug with subnormals.
2019-08-04 21:23:19 -07:00
Unknown W. Brackets
13278dc1f4
interp: Implement software sqrt to match PSP.
...
This matches the PSP's square root better.
Disabled by default using a compile-time flag.
2019-08-04 21:23:04 -07:00
Unknown W. Brackets
ed4f0896db
interp: Use vfpu_dot for vdet as well.
...
Improves test accuracy here too. Also keep neg sign on NAN for vdiv.
Disabled by default via compile-time flag.
2019-08-04 21:21:21 -07:00
Unknown W. Brackets
d2f7594dc5
interp: Use software dot in vcrsp/vqmul.
...
Disabled by default using a compile-time flag.
2019-08-04 21:19:23 -07:00
Unknown W. Brackets
7b84be1479
interp: Fix adding infinity in software dot.
2019-08-04 21:17:34 -07:00
Unknown W. Brackets
c61a24cef0
interp: Handle rounding in software dot.
2019-08-04 21:17:27 -07:00
Unknown W. Brackets
d5e572b82e
interp: Correct INF * 0 during dot.
2019-08-04 21:17:21 -07:00
Unknown W. Brackets
2ba35c6391
interp: Use an integer multiply for dots.
2019-08-04 21:17:09 -07:00
Unknown W. Brackets
08a894abde
interp: Handle NaN better in vfpu_dot.
2019-08-04 21:17:00 -07:00
Unknown W. Brackets
39017ea200
interp: Use vfpu_dot for vavg, vfad, vhdp.
...
Disabled by default.
2019-08-04 21:16:51 -07:00
Unknown W. Brackets
4bff980d34
interp: Use software dot for better accuracy.
...
This gets some vdot/similar tests to give more accurate results compared
to hardware. Also added flushing of zero and NaNs.
Currently disabled, only enabled with a compile-time flag.
2019-08-04 21:14:23 -07:00
Florin9doi
99c4a00dae
sceUsbMic
2019-08-03 21:09:33 +03:00
Henrik Rydgård
4d195ce955
Workaround for DJ Max Portable's clumsy copy protection. Fixes #9477 .
2019-08-01 18:45:28 +02:00
Unknown W. Brackets
fbcfd77402
UI: Support zip files with deep folder structures.
...
This will extract the level that has textures.ini, but it doesn't really
handle skipping other folders properly.
2019-07-27 06:17:56 -07:00
Henrik Rydgård
734658b80c
Merge pull request #12182 from LunaMoo/touchRA
...
Add right analog for touch controls.
2019-07-25 10:58:47 +02:00
Unknown W. Brackets
5e2b4d9f1d
Config: Specify/save game title on load too.
...
Needed when we load and then save, of course.
2019-07-17 21:28:21 -07:00