Henrik Rydgård
1071d0808c
Undo Daxter's rotation of the analog input. See #17015
...
I think this is quite a bit better actually. Appears to be exactly 15 degrees.
2023-02-27 11:10:47 +01:00
Henrik Rydgård
c2c479b217
Remove function InitClear. Was only implemented for DX9, and only barely meaningful in non-buffered.
2023-02-25 16:32:50 +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
Henrik Rydgård
78f3d450ff
Eat some CPU cycles in sceUtilityOskUpdate. Works around timing bug in Ghost Recon Predator.
...
The bug is in the game, it uses the wrong vblank wait, but it only works
because the dialog processing takes so much time that it misses the
vblank period anyway.
Fixes #12044 , and hopefully won't break anything else.
2023-02-14 20:14:49 +01:00
Henrik Rydgård
dc74778dea
Do the last ones too
2023-02-09 10:27:29 +01:00
Henrik Rydgård
c52db636ce
Optimize tag formatting
2023-02-09 10:22:46 +01:00
Unknown W. Brackets
4bc205b7bc
Impose: Log when ignoring requested language.
2023-02-08 19:07:54 -08:00
Henrik Rydgård
9827dd536c
Count listsyncs and drawsyncs in gpu stats. Eat some cycles in listSync
...
Chose a conservative number (same as sceGeContinue)
2023-02-08 00:41:26 +01:00
Unknown W. Brackets
88ba003f46
ThreadManager: Add a simple priority field.
...
Currently, not actually respected.
2023-02-02 17:08:24 -08:00
Sergey P
bf2cabb82c
merge from upstream
2023-02-01 13:33:07 +03:00
Sergey P
64f1e5ed61
range checks
2023-02-01 13:26:17 +03:00
sum2012
aa047233e1
Add font's logging of requestedStyle
2023-01-28 01:58:52 +08:00
Sergey P
91aa6ad608
merge from upstream
2023-01-26 14:50:09 +03:00
Sergey P
2358ae01dd
Merge remote-tracking branch 'upstream/master'
2023-01-26 13:56:14 +03:00
sum2012
ad83a5a201
Add more logging in sceFontFindOptimumFont
...
Will easier to compare real psp's font
2023-01-26 05:30:47 +08:00
Unknown W. Brackets
6af6ccc1cf
Global: Fix some format warnings.
2023-01-18 21:42:19 -08:00
Henrik Rydgård
40abcdb689
Merge pull request #16798 from hrydgard/rockman-dash-2-fix
...
Add workaround for hung music notes in Rockman Dash 2
2023-01-15 11:45:01 +01:00
Unknown W. Brackets
92585403c4
Sas: Make ADSR fields private.
2023-01-14 16:55:40 -08:00
Henrik Rydgård
027edd6f59
Cleanup and warning fix in the new sysclib functions
2023-01-13 10:45:30 +01:00
Henrik Rydgård
97bef89486
Some cleanup when fixing a warning
2023-01-13 10:42:03 +01:00
Henrik Rydgård
d71c6a0e95
Add some quick memory safety to the functions from #16095
2023-01-12 11:21:38 +01:00
Henrik Rydgård
8a66498359
Merge pull request #16095 from sum2012/sysclib_minor
...
Add some Sysclib 's nids
2023-01-12 11:14:53 +01:00
Henrik Rydgård
edaa5246d1
Merge pull request #16771 from hrydgard/more-getpointer-cleanup
...
Core: A bit more GetPointer cleanup.
2023-01-10 14:36:08 +01:00
Henrik Rydgård
384cd91400
Merge pull request #16309 from sum2012/InterruptManagerForKernel-minror
...
Add InterruptManagerForKernel
2023-01-10 14:00:09 +01:00
Henrik Rydgård
e1a48d74c4
A bit more GetPointer cleanup.
...
Probably not worth it for performance reasons, but some semantic cleanup
is good, especially the accidental GetPointer -> writable casts without
using GetPointerWrite.
Using Unchecked on already checked pointers, or when we'd crash anyway
if it returned nullptr, is good for clarity.
2023-01-10 12:13:47 +01:00
sum2012
2d8aaaac5e
Change to if (!heap) first in all function
...
As unknown feedback 2
2023-01-10 10:22:59 +01:00
sum2012
57c474cce7
Add 2 nids of SysMemForKernel
...
Find in #16297
Address unknown feedback 1
2023-01-10 10:18:36 +01:00
Unknown W. Brackets
dea9cac16c
Core: Add range checks to some helpers and similar.
2023-01-09 16:56:18 -08:00
Unknown W. Brackets
e9ce0d0b5e
HLE: Add size checks to replace funcs.
2023-01-09 16:53:25 -08:00
Unknown W. Brackets
c44d787df4
Mpeg: Check memory access range on GetPointer().
2023-01-09 16:53:10 -08:00
sum2012
d02a79400d
Trying to improve sceMpegAvcDecode
...
Close #16727
2023-01-09 21:41:57 +08: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
Henrik Rydgård
97880e32a9
Merge pull request #16707 from unknownbrackets/reporting-homebrew
...
Reporting: Send game ELF crc with reports
2023-01-04 10:25:53 +01:00
Henrik Rydgård
fa22ec575d
Merge pull request #16610 from unknownbrackets/state-fonts
...
Font: Avoid late load on save state
2023-01-04 10:25:40 +01:00
Unknown W. Brackets
6d9d517700
Reporting: Send game ELF crc with reports.
...
Getting a lot of spam from homebrew with different IDs that appear to be
the same actual homebrew, in part from ID generation.
2023-01-02 12:23:05 -08:00
Henrik Rydgård
a4d3e0ead8
Add range checks in replaced memcpy/memset functions. ( #16693 )
...
* Add range checks in replaced memcpy/memset functions.
Keep seeing especially Replace_memcpy as a semi-rare crash in the
reports. Hopefully this will take care of it, though if games hit this,
they're probably on their way to failing somehow anyway.
* Alternate approach, correctly causing memory exceptions if not ignoring
2023-01-01 18:25:40 +00:00
Unknown W. Brackets
7ed238a0b7
Font: Avoid late load on save state.
...
If they weren't loaded yet, we can stay that way.
2023-01-01 10:25:05 -08:00
Unknown W. Brackets
ff3e70be2f
UsbMic: Fix copy on resize shrink.
2022-12-30 21:31:33 -08:00
Unknown W. Brackets
1a85370c0a
UsbMic: Avoid some temp buffers, check range.
2022-12-30 21:29:26 -08:00
Unknown W. Brackets
0496ca32ff
Global: Cleanup some minor includes and typos.
2022-12-27 08:33:07 -08:00
Unknown W. Brackets
ef04c4f55c
Utility: Report YugiohSaveFix usage.
2022-12-19 07:56:23 -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
Unknown W. Brackets
2b58ac7e95
Psmf: Fix pointer check.
2022-12-03 07:17:27 -08:00
Henrik Rydgård
21647cd3c1
Blind workaround for Shining Ark circle button problem
...
Seems the game might not handle the case of confirm button being set to
cross properly, so force it to circle if this game is running.
Fixes #15663 (hopefully..)
2022-11-27 23:32:43 +01:00