Henrik Rydgård
e01ca5b057
Logging API change (refactor) ( #19324 )
...
* Rename LogType to Log
* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.
* Mac/ARM64 buildfix
* Do the same with the hle result log macros
* Rename the log names to mixed case while at it.
* iOS buildfix
* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
Henrik Rydgård
61af237f98
Check v.on for whether to trigger v.playing, like before.
2023-09-06 15:46:07 +02:00
Henrik Rydgård
8b32a1e5e2
Remove the weird ChangedParams thing entirely and do the straightforward thing
2023-09-06 14:52:57 +02:00
Henrik Rydgård
1ee4c63bba
Logging: __sceCore isn't very interesting, log as verbose
2023-09-06 11:25:19 +02:00
Henrik Rydgård
3b6989bff7
Hook up progress bar, minor fixes
2023-06-26 10:01:41 +02:00
Unknown W. Brackets
92585403c4
Sas: Make ADSR fields private.
2023-01-14 16:55:40 -08:00
Henrik Rydgård
f4a6d291e1
Common: Capitalize setCurrentThreadName().
2021-04-30 23:02:36 -07:00
Henrik Rydgård
93fd62f54b
Merge pull request #13832 from unknownbrackets/events
...
SaveState: Make event restoring more obvious
2021-02-15 23:39:42 +01:00
Unknown W. Brackets
c99de6409d
Sas: Minor clenaup.
2021-02-06 18:37:05 -08:00
Unknown W. Brackets
06f8ab5a49
SaveState: Make event restoring more obvious.
...
We still must restore all events, but everything can be taken care of
during the save state load.
2020-12-28 13:29:19 -08:00
Henrik Rydgård
821817e6d4
Move the profiler to Common
2020-10-04 11:42:16 +02:00
Henrik Rydgård
15382d5f94
Move threading utils from native to Common
2020-10-01 09:27:25 +02:00
Henrik Rydgård
3162f30158
Merge base/basictypes.h into Common/Common.h (mostly).
2020-09-29 15:51:51 +02:00
Unknown W. Brackets
b8342fb8ec
SaveState: Rename ChunkFile files to Serialize.
...
Makes more sense and less weird than ChunkFileDoMap, etc.
2020-08-10 08:04:05 +00:00
Unknown W. Brackets
4b4e3432cd
SaveState: Split Do() into a separate header.
2020-08-10 08:03:41 +00:00
Henrik Rydgård
2eaa1db046
Vulkan: Track down another one of those minor resource leaks.
...
Also no need to zero, queue for delete does it already.
2020-03-09 00:48:00 +01:00
Henrik Rydgård
4f1e0de9a9
Add missing includes. Remove some more unnecessary #ifdef _DEBUG checks - the debugger is supposed to work in release mode too.
2017-12-20 11:24:05 +01:00
Henrik Rydgard
26a2d42731
Big mutex overhaul - remove our custom ones, make them non-recursive where possible
2017-02-28 11:40:29 +01:00
Henrik Rydgard
50be4e72b2
Get rid of our own silly reimplementation of std::thread
2017-02-27 20:51:36 +01:00
Florent Castelli
e0ff68b3f6
c++11: Remove compat header base/functional.h
...
We want a proper C++11, not tr1. We don't target those compilers anyway.
2016-10-12 11:32:45 +02:00
Unknown W. Brackets
666f1898c6
Fix crash loading old savestates.
...
Oops. Forgot that this could be saved as -1 when loading an old
savestate, and then resaving it.
Fixes #8531 .
2016-01-30 21:39:25 -08:00
Unknown W. Brackets
f759a2a3fd
Sas: Sync result when mix calling thread returns.
2015-11-25 18:44:43 -08:00
Unknown W. Brackets
546590106f
Sas: Fail to mix when dispatch disabled.
2015-11-25 18:44:42 -08:00
Unknown W. Brackets
23441d12fb
Sas: Estimate time taken for mixing.
...
Tests seem to show it's not affected by mhz.
2015-11-25 18:44:34 -08:00
Unknown W. Brackets
5a6c8b513c
Sas: Drain thread before reading/writing SAS state.
...
This should be the safest option, but I'm pretty sure some operations give
a BUSY operation or have different behavior, actually.
2015-11-25 18:44:32 -08:00
Unknown W. Brackets
fc8acc781e
Sas: Add config for SAS thread.
2015-11-25 18:44:31 -08:00
Unknown W. Brackets
0394319e89
Sas: Drain thread on savestate.
2015-11-25 18:44:30 -08:00
Unknown W. Brackets
6290ac6cbd
Sas: Process SAS on a separate thread.
...
Remaining issues:
* Need a config setting.
* Locking for voices / config?
* Locking for atrac interop?
2015-11-25 18:44:30 -08:00
Unknown W. Brackets
c22c181148
Sas: Automatically unpause voice on unset ATRAC3.
...
Thie fixes voices in Sol Trigger after skipping a cutscene, and matches
tests.
2015-11-09 08:25:35 -08:00
Unknown W. Brackets
5374e6a8fc
Sas: Add validation for ATRAC3 voices.
2015-11-09 08:25:28 -08:00
Unknown W. Brackets
a13683e777
Add some param validation for sas functions.
2015-10-31 09:20:14 -07:00
Henrik Rydgard
22f71f1e9a
Show simple info about currently playing audio in on-screen Debug Statistics
2015-10-28 21:20:20 +01:00
Henrik Rydgard
85c8f7d3c2
Hook up SasReverb. It sounds more like a buzzsaw than a reverb at the moment, needs debugging.
...
Added a bit of code that only enables it when a reverbed sound is active. This will need to be turned off later but useful right now for hearing when it's used..
2015-10-27 12:36:30 +01:00
Henrik Rydgard
488aec1df4
Typo fix
2015-10-25 00:54:00 +02:00
Unknown W. Brackets
f725453ae6
Sas: Report when revert is enabled.
2015-10-24 13:53:57 -07:00
Henrik Rydgard
b9090a25b2
Reduce logspam in Burnout
2015-07-05 23:50:06 +02:00
Unknown W. Brackets
fcf0518223
Update all the HLE tables with arg and ret info.
2015-03-22 20:51:55 -07:00
Lioncash
4ccb838306
Core: Mark some module functions as static
2014-12-08 04:40:08 -05:00
Unknown W. Brackets
4702ae0e41
Add breakpoints to most sceAtrac mem access.
2014-09-23 11:33:18 -07:00
Unknown W. Brackets
5db79dcf11
Fix some missing semicolons on log statements.
2014-06-29 19:09:37 -07:00
Henrik Rydgard
ae09b521c3
Logging reductions
2014-06-23 20:05:12 +02:00
Henrik Rydgård
98165b599f
Merge pull request #5653 from unknownbrackets/armjit-minor
...
Minor armjit optimizations, fix B/BL encoding
2014-03-22 16:05:59 +01:00
Henrik Rydgard
1a854a5ae6
Improve logging in sceSasSetVoice
2014-03-19 15:34:38 +01:00
Henrik Rydgard
27bcb570c0
Workaround for #5652 : Force size to 0 if negative.
...
Should be fairly safe, and passes tests nicely.
2014-03-19 11:15:01 +01:00
Unknown W. Brackets
05ab192c9c
Reduce includes in Core/HLE/.
...
Especially templates.
2014-03-15 11:22:19 -07:00
Unknown W. Brackets
2432a7d07f
Typo.
2014-03-14 19:15:40 -07:00
lioncash
b9886942a7
Fix some vertical alignments in misc Core source files.
2014-03-03 11:16:53 -05:00
Unknown W. Brackets
9cba543a4b
sceSasCoreWithMix() returns an error in raw mode.
...
And does not reschedule, specifically.
2014-02-22 08:48:55 -08:00
Unknown W. Brackets
10bf116399
Don't report sceSasSetADSRMode(..., 5, 5, 5, 5).
...
It seems common.
2014-02-22 08:39:15 -08:00
Unknown W. Brackets
ff920f6af6
Fix sceSas outputMode = 1 (which is not mono.)
...
May fix games that played audio only on the left side, or something.
2014-02-22 07:52:18 -08:00