Commit Graph

51 Commits

Author SHA1 Message Date
Henrik Rydgård
025bcb1673 Introduce Path, start using it all over the place.
Still lots left to convert!

Convert GetSysDirectory to return Path.

More buildfixing

Remove unnecessary Path( constructors
2021-05-13 10:39:16 +02:00
Unknown W. Brackets
30bd0e60c7 UI: Avoid audio locks where possible.
In case of thread contention, avoid locking if not necessary.  See #13469.
2021-02-15 18:21:32 -08:00
Henrik Rydgård
caa58c6907 Remove a completely unnecessary check in BackgroundAudio.cpp that caused glitching at 44.1khz.
Fixes #14096
2021-02-10 00:20:13 +01:00
Henrik Rydgård
886a8b1ac6 Remove Timer.cpp/h. Move various collections into Common/Data/Collections. 2020-10-05 21:05:23 +02:00
Henrik Rydgård
4f43cff5ca Move fileutil, net, image loaders, ui to Common. (#13506)
* Move and rename file_util/fd_util to Common/File/FileUtil and DirListing

Let's also move net while we're at it.

Move the ZIM/PNG loaders over to Common.

Move the UI framework into Common

iOS buildfix

* Buildfix

* Buildfixes

* Apple buildfix

* This typo again..

* UWP buildfix

* Fix build of PPSSPPQt, such as it is (it's not in good condition...)

* Guess what? Another buildfix.
2020-10-04 20:48:47 +02:00
Henrik Rydgård
9e41fafd0d Move math and some file and data conversion files out from native to Common.
Buildfixing

Move some file util files

Buildfix

Move KeyMap.cpp/h to Core where they belong better.

libretro buildfix attempt

Move ini_file

More buildfixes
2020-10-04 09:12:46 +02:00
Henrik Rydgård
054acf768c Don't cache time in a variable.
A little weirdness in the code that has stuck around for a long, long
time. It's really not necessary and mostly just confusing.
2020-09-24 23:52:43 +02:00
Henrik Rydgård
ccc0331279 Move timeutil to Common. (Experiment to see how much work it is to move these). 2020-08-15 20:53:08 +02:00
Henrik Rydgård
c41f875df4 Remove base/logging.h in a whole lot more places. 2020-08-15 19:09:00 +02:00
Henrik Rydgård
b43698a13d Remove most instances of base/logging.h from Common, Core, GPU, more 2020-08-15 19:08:44 +02:00
Henrik Rydgård
14532847c7 Fix some minor issues found by address-sanitizer on Linux 2020-08-11 22:28:36 +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
4c46867230 Audio: Avoid exposing fixed size queue in header. 2020-08-10 08:03:44 +00:00
Henrik Rydgård
434b717ba0 Add a couple of more sounds. Rename some vars. 2020-08-03 12:08:11 +02:00
Henrik Rydgård
55eb2844fd Hook up a couple more sounds. Unfortunately clickable back buttons now play both back and confirm sounds... 2020-08-03 12:08:11 +02:00
Henrik Rydgård
5423f76e25 Hook up the first UI sound, make it play. 2020-08-03 12:08:11 +02:00
Henrik Rydgård
b30be913c0 Read in WAV files for UI sounds 2020-08-03 12:08:11 +02:00
Henrik Rydgård
e13b53e02c BackgroundAudio: Switch to a heap allocated buffer. 2020-08-03 10:43:26 +02:00
Henrik Rydgård
6f02844b5b Consolidate BackgroundAudio.cpp into a class 2020-08-03 10:43:26 +02:00
Henrik Rydgård
22ee875ffc Fix nasty race condition with menu background audio. Fixes #12365 2019-09-27 23:53:31 +02:00
Henrik Rydgård
701d740207 Add a comment. See issue #12365 2019-09-27 23:34:36 +02:00
Unknown W. Brackets
fdc28b16fb UI: Respect loop info for menu music.
A good example for this is Wipeout Pure, which sounds much better when it
loops using the sample looping data.
2019-08-17 13:39:11 -07:00
Henrik Rydgård
b47251dbd4 Even more cleanup of RIFFReader 2017-12-04 17:34:47 +01:00
Henrik Rydgård
1c0a0fefdb Remove write support from chunk_file, rename to RIFFReader 2017-12-04 17:27:47 +01:00
Henrik Rydgård
df6ce90c84 When what we need is a shared_ptr, we should just go ahead and use one.
One of the top crashes reported in the Play Console is a ManagedTexture crash, so seeing if this might help.
2017-05-18 13:28:56 +02:00