Henrik Rydgård
6a51b6f7bf
Quick attempt to add some thread safety to GameInfo::fileLoader.
2023-05-04 09:20:05 +02:00
Henrik Rydgård
ec6d330ae4
Move AsyncImageFileView to Common, which required some more shuffling around of stuff.
2022-11-21 20:38:20 +01:00
Henrik Rydgård
6de574104c
Avoid creating a fileloader during shutdown.
...
Some silliness I found while investigating using SuperLuminal.
2022-04-12 00:16:13 +02:00
Henrik Rydgård
446c2c027e
Get rid of the PrioritizedWorkQueue. Instead just queue tasks on the ThreadManager.
2021-06-12 13:03:53 +02:00
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
Henrik Rydgård
e2e1c677cb
GameInfoCache: Don't expose the workqueue.
...
Was unused anyway.
2021-04-30 23:04:24 -07:00
Unknown W. Brackets
0081924fc4
UI: Oops, prioritize PIC1, not PIC0.
...
Thought I'd pasted these in the right order... fixes #14350 .
2021-04-04 21:39:16 -07:00
Unknown W. Brackets
f98bafb73d
UI: Centralize BG pic choosing a bit.
...
It's in several places.
2021-04-04 10:57:40 -07: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
iota97
592d6f902e
Show region on game selection screen
2020-02-23 12:00:26 +01:00
Henrik Rydgård
9c4649d3ac
Assorted cleanup
2019-09-27 23:25:30 +02:00
Henrik Rydgård
0cd3ac06d0
Avoid trying to create a FileLoader for empty filenames
...
Assorted cleanup
2019-02-25 21:35:51 +01:00
Unknown W. Brackets
d00dcb4400
UI: Use atomic flags in game info cache.
...
Simpler, no need to lock the entire info when checking these.
2017-12-29 08:55:49 -08:00
Unknown W. Brackets
472ee12391
UI: Add threadsafety to cache item file loaders.
2017-12-09 17:26:26 -08:00
Unknown W. Brackets
2943bbdbfd
UI: Cancel loaders on shutdown.
...
Improves backend switching / locking / etc. performance when the recent
list has games that aren't currently available.
Also, remove unnecessary duplicate gameinfo flush on EGL loop shutdown.
Already happens in NativeShutdownGraphics().
2017-12-09 16:48:38 -08:00
LunaMoo
939b26475d
Fix a bunch of emu features for Homebrew by better identification.
2017-05-30 12:20:29 +02: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
Henrik Rydgård
60378a0dcb
Minor GameInfo memory handling improvements. Still not great.
2017-05-18 12:41:42 +02:00
Unknown W. Brackets
55908588eb
UI: Allow choosing game bgs for all UI.
2017-04-02 10:48:38 -07:00
Henrik Rydgard
576c1b740a
Buildfix non-Windows
2017-03-26 13:07:36 +02:00
Unknown W. Brackets
562288b09c
UI: Refactor game icon/bg loading.
...
This also default-initializes the atomic flags, which seems to fix a race
condition I was sometimes experiencing with missing icons.
2017-03-26 00:00:57 -07:00
Henrik Rydgard
b0bd7e3c6f
Minor changes for compatibility with VS2017
2017-03-12 17:33:00 +01:00
Henrik Rydgard
5b835839fa
Make IdentifiedFileType a proper enum class
2017-03-02 12:29:03 +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
20d9e60a67
Just some renaming. Start moving away from the "thin3d" name
2017-01-30 14:38:31 +01:00
Henrik Rydgård
6a7d3a3910
Break out image file management from DrawContext (thin3d)
2017-01-24 20:58:59 +01:00
Henrik Rydgård
f86b9f7900
Guess what? More renaming
2016-12-27 11:59:06 +01:00
Henrik Rydgård
9b439e4c43
Remove Thin3D prefix on more things
2016-12-27 11:59:06 +01:00
Henrik Rydgård
10393f5d4e
Move Thin3D into the Draw namespace.
2016-12-27 11:58:03 +01:00
Florent Castelli
4145b60a0e
symbian: Remove!
2016-10-11 18:49:08 +02:00
Unknown W. Brackets
f38869141a
UI: Correct a race condition when loading bgs.
2016-03-06 14:49:17 -08:00
Unknown W. Brackets
8a9e30f833
UI: Wait for the specific game info item to finish.
...
In case we have slow-loading ones.
2016-03-06 14:49:16 -08:00
Unknown W. Brackets
955b0fb9db
UI: Minor header cleanup.
2016-03-06 14:49:14 -08:00
Henrik Rydgard
da1a04be8d
Make the workqueue slightly safer. Put g_gameInfoCache on the heap.
...
Cherry-picked from #8592
2016-02-28 12:39:47 +01:00
Unknown W. Brackets
a4a8e8f569
UI: Show savestate titles in manager.
...
Note: this will also show broken savestates with (broken).
2016-01-23 13:06:58 -08:00
Unknown W. Brackets
e6b5fbb40a
Fix race conditions when reading game title.
...
Fixes #5030 .
2015-12-24 13:18:46 -08:00
Henrik Rydgard
50d66f9a19
Workaround for #8020
2015-10-04 00:00:46 +02:00
Henrik Rydgard
682472c5b5
Allow mono atrac3 for "game menu backgrund audio". Fix possible data race.
2015-10-03 23:18:54 +02:00
Henrik Rydgard
05c625ed06
Even less file I/O in menu screens, by caching "hasConfig" flag for game info. See #7807
2015-09-10 17:17:59 +02:00
Henrik Rydgard
b56f21e4f0
More savedata UI polish
2015-06-12 14:46:34 +02:00
Henrik Rydgard
29514408af
Improve savedata UI layout more, fix deletion of save states
2015-06-12 12:39:22 +02:00
Henrik Rydgard
084aad74c3
Make GameInfoCache understand PSP savedata as a "game" type. Use it to create a basic savedata listing screen.
2015-06-11 20:22:16 +02:00
Unknown W. Brackets
2d0bc5eeee
Limit time GameInfo file loaders are kept open.
2015-06-09 23:16:59 -07:00
Henrik Rydgard
6879f05eb0
First attempt at save state UI with screenshot thumbnails in the pause screen
2014-12-31 15:34:51 +01:00
Unknown W. Brackets
c16e5513b0
Make GameInfo use FileLoader for more things.
...
This way it can actually load the assets of a recent http:// entry.
2014-11-30 23:55:03 -08:00
Henrik Rydgard
e539c7009f
Hook up DX9 backend. Not really working though, it seems.
2014-08-22 20:55:12 +02:00
Henrik Rydgard
b1ae00c56f
GameInfoCache: Clear snd together with bg
2014-06-22 09:57:02 +02:00
Unknown W. Brackets
d5ddf4c438
Make it easy to get the SND0.AT3 data.
2014-06-21 18:38:26 -07:00
Unknown W. Brackets
a0340debd6
Use flags to specify wanted data in gamecache.
2014-06-21 18:24:21 -07:00
Unknown W. Brackets
f4f3d280f7
Avoid locking up the UI for gamecache loads.
...
If the icon/bg is not loaded yet, we'd lock and block for it to load
anyway. This uses a separate (or possibly atomic) lock.
2014-06-21 18:03:32 -07:00