Commit Graph

67 Commits

Author SHA1 Message Date
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
Unknown W. Brackets
53547bd8b9 Refactor a bit to simplify the code. 2014-06-21 13:49:30 -07:00
Unknown W. Brackets
1a44b557e5 Allow loading game info without clearing old.
More seamless when we already have the icon, for example.
2014-06-21 13:44:07 -07:00
Unknown W. Brackets
79864a5ee0 Fix some initialization order warnings. 2014-01-10 22:21:24 -08:00
Henrik Rydgard
70174ac405 Warn fix, cleanup, update buttons.svg 2013-12-12 12:08:36 +01:00
Henrik Rydgård
42f5bcb263 Add ZIP icon in games browser.
This one's from Gnome, license should be OK.
2013-12-11 15:12:03 +01:00
Henrik Rydgård
868a3d6dd5 Load unknown.png for ELFs masquerading as PBP 2013-12-11 14:22:25 +01:00
Henrik Rydgard
fedf7edc2b Guess game region from game ID, display on game screen 2013-12-10 17:23:03 +01:00
Henrik Rydgård
2fb2602387 Initial draft of the Homebrew Store. Lets you install a few homebrew. 2013-12-05 12:48:08 +01:00
Henrik Rydgård
d50233526c Uninitialized variable fix 2013-11-26 18:26:02 +01:00
shenweip
f772cba43d Make distinction for multiple disc. 2013-11-26 18:23:08 +01:00