Herman Semenov
0f94ac9189
Cleanup excess redefines and maybe fixed result in HLE sceIo::sceIoGetDevType()
2024-04-02 14:25:26 +03:00
Henrik Rydgård
bd7019eb9d
Protect sceIoOpen against nullptr filenames
2024-01-15 12:02:58 +01:00
Henrik Rydgård
ee4d98339c
Beats: Fix file permissions on FAT so it can see custom MP3s.
...
On FAT file systems, files look like they have executable permission.
For some reason Beats checks for this.
Unfortunately, this doesn't really make custom music playable - while
they now display, they seem to start stuttering after a short while. Or
it's just my files...
2023-12-07 12:10:01 +01:00
sum2012
7092393ed7
Space bug
2023-10-29 12:40:20 +08:00
sum2012
8613c685eb
Change timing in __IoRead
...
Test in Aces of War (Europe) and Sengoku Musou 3 Z Special
2023-10-29 12:38:52 +08:00
sum2012
84d3bff507
Delay smaller
2023-10-24 20:06:30 +08:00
sum2012
6a844dd985
Add more delay as ForceUMDDelay
...
Also add setting in libretro
2023-10-23 20:03:42 +08:00
sum2012
92c1eb4efa
Add it to option
...
Also fix Sengoku Musou 3Z Special DLC
2023-10-23 19:38:09 +08:00
sum2012
60ddac0048
Add UMDReadSpeed in compat.ini
...
Fix #11062
2023-10-19 06:21:05 +08:00
Henrik Rydgård
546f9d7743
Some cleanups and fixes to obscure crashes
2023-09-24 13:05:25 +02:00
Henrik Rydgård
254f19dcfc
Use new log channel for stdout/tty as well.
2023-09-08 08:40:57 +02:00
Henrik Rydgård
7519af8481
Merge pull request #17552 from unknownbrackets/debug-hle-names
...
HLE: Add some assorted detected func names
2023-06-07 09:44:10 +02:00
Unknown W. Brackets
c122ee0a11
HLE: Add some assorted detected func names.
...
These come from here:
https://github.com/SiSTR0/sce_symbols/blob/main/psp_names.txt
2023-06-06 23:50:49 -07:00
Henrik Rydgård
c5e0dafa44
Fix "double delay" error in sceNpDrmEdataSetupKey
2023-05-25 10:02:52 +02:00
Henrik Rydgård
2c35c351f2
Lock around plugin key data, don't set it unless a plugin is enabled
2023-05-01 12:56:27 +02:00
Henrik Rydgård
6945deec01
Replace a LOT of sprintf with snprintf, and a few strcpy with truncate_cpy
2023-04-28 21:04:05 +02:00
Henrik Rydgård
d223d3c316
Rename CenterDisplayOutputRect to CalculateDisplayOutputRect
2023-04-02 22:29:08 +02:00
Unknown W. Brackets
00d84695d8
headless: Rename collectEmuLog for clarity.
...
This is still used when running tests outside headless, so leaving in
CoreParameter.
2023-03-26 10:21:07 -07:00
Unknown W. Brackets
76ef95a841
headless: Remove printfEmuLog, simplify output.
2023-03-26 10:17:34 -07:00
Unknown W. Brackets
4e3ec384fb
headless: Use requests for debug output.
...
At least this is consistent and gets rid of host usage outside headless.
2023-03-25 17:34:29 -07:00
Henrik Rydgård
9cf7870ffa
host nullchecks
2023-03-25 11:06:47 +01:00
Henrik Rydgård
8b431b39ba
Wrap the display globals in a struct ( #16998 )
...
* Wrap the display globals in a struct
Makes it easier to search/replace these, for future refactorings.
* Some renaming
* Qt buildfix, also fix the Qt build on Mac (got broken with battery changes)
* Attempt at buildfixing ios
* UWP buildfix
2023-02-25 13:09:44 +01:00
Sergey P
64f1e5ed61
range checks
2023-02-01 13:26:17 +03:00
Sergey P
91aa6ad608
merge from upstream
2023-01-26 14:50:09 +03:00
Henrik Rydgård
b56eef487c
Strict mode checking - no way to forget detaching now.
...
And if we forget to attach, boom. Hopefully I caught all of them.
2023-01-05 08:38:52 +01:00
Unknown W. Brackets
0496ca32ff
Global: Cleanup some minor includes and typos.
2022-12-27 08:33:07 -08:00
Unknown W. Brackets
9cfcbc46e6
Global: Cleanup initialization/pointer checks.
...
Cleaning up a lot of cases of uninitialized data, unchecked return values
for failures, and similar.
2022-12-10 21:13:36 -08:00
Unknown W. Brackets
a7b7bf7826
Global: Set many read-only params as const.
...
This makes what they do and which args to use clearer, if nothing else.
2022-12-10 21:13:36 -08:00
ThirteenAG
5e5bffc808
remade into GET_AXIS/GET_VKEY apis
2022-12-05 14:46:00 +03:00
ThirteenAG
37dc8c3e49
compilation workaround
2022-12-05 02:10:27 +03:00
ThirteenAG
8eeff4cffe
changed api name to mouse delta
2022-12-05 00:35:48 +03:00
ThirteenAG
0b77babfab
merged triggers api
2022-12-05 00:08:50 +03:00
ThirteenAG
6e03de35cf
more stuff for plugins
2022-12-04 23:46:01 +03:00
Henrik Rydgård
72ec865f7e
Fix for the aspect ratio plugin variable. Disable aspect ratio control in stretch mode.
2022-11-27 21:55:22 +01:00
Henrik Rydgård
bdfde4cbac
Implement the new screen sizing parameters
2022-11-27 16:16:04 +01:00
ThirteenAG
223ca5888e
exposed more emulator things to devctl api
...
added
EMULATOR_DEVCTL__TOGGLE_FASTFORWARD
EMULATOR_DEVCTL__GET_ASPECT_RATIO
EMULATOR_DEVCTL__GET_SCALE
2022-11-27 00:26:57 +03:00
Unknown W. Brackets
8c1acc30e4
Savedata: Combine file info and dir listing calls.
2022-10-09 14:42:31 -07:00
Unknown W. Brackets
4db30e7724
Io: Defer GetFileInfo() until it's needed.
...
We often won't need this, so skip the call until needed.
2022-10-09 14:42:30 -07:00
Unknown W. Brackets
dd0de46ed9
Io: Use PSPPointer instead of struct temps.
2022-09-03 10:44:11 -07:00
Henrik Rydgård
861d66a4d4
Separate logging for GetPointer/GetPointerWrite
2022-07-24 13:39:37 +02:00
Unknown W. Brackets
ad2e380987
Display: Move listeners to separate HW file.
...
Mixing this in with the HLE management funcs was messy.
2022-01-30 09:41:08 -08:00
Unknown W. Brackets
b4eab72015
Common: Fix conversion of 4444 to BGRA.
...
This was affecting tests emitting screenshots in 4444 as well as Direct3D
backends.
2022-01-23 19:22:32 -08:00
Unknown W. Brackets
b592e918b6
Headless: Indicate HAS_DISPLAY=0.
...
This will make tests run as they do on a PSP, with display, outside
headless.
2021-11-03 17:41:07 -07:00
Unknown W. Brackets
25da99a16d
Io: Remove setting to disable I/O on thread.
2021-10-12 20:40:26 -07:00
Henrik Rydgård
07413aa4e3
Feedback
2021-09-11 18:53:46 +02:00
Henrik Rydgård
f7895457ee
Add back the dir listing logging. Add hack to avoid confusing Wipeout :(
2021-09-11 18:12:30 +02:00
Henrik Rydgård
09f65db91c
Cleanup
2021-09-11 15:35:11 +02:00
Henrik Rydgård
b075b79175
Also hide SHADERS directory from games
2021-09-11 15:14:44 +02:00
Henrik Rydgård
1f81876ab1
Cleanup
2021-09-11 15:04:53 +02:00
Henrik Rydgård
04578edf65
Hide directories games should not know about from them.
...
Stops some games from spending lots of time iterating over files they
should not care about. Helps the performance issues in #13847 quite a bit.
2021-09-11 15:02:52 +02:00