Commit Graph

113 Commits

Author SHA1 Message Date
Unknown W. Brackets
cc4e7c4b10 Oops, flush from queue before locking.
Added this last and clearly didn't test it carefully.  Fixes #8631.
2016-03-07 20:19:07 -08: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
cef0a6311d ISOFileSystem: Remove the "restrictTree" functionality which is now obsolete with lazy directory loading. 2016-02-29 01:13:57 +01: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
Henrik Rydgard
e51e168e40 It is not a great idea to release locks that have been free'd. 2016-02-15 00:10:22 +01:00
Henrik Rydgard
e1ebc12d7f Improve reliability of "menu background music". Fix issue with mixed navigation mentioned in #8565 2016-02-13 10:55:29 +01:00
Henrik Rydgard
35b6c7341b Fix a bunch of memory leaks, after enabling file+line-number memory leak tracking for the MS Debug CRT.
Few of these were serious, most were on-exit, but good to have a cleaner memory report after running.
2016-02-10 15:36:10 +01:00
Unknown W. Brackets
ae478aad41 UI: Delete screenshots with savestate files.
Fixes #8494.
2016-01-23 23:53:09 -08: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
21a15e4728 UI: Display save state screenshots as icons.
This way the list is not just a bunch of words, if you have a lot of save
states.  Like me.
2016-01-23 11:27:41 -08:00
Unknown W. Brackets
e6b5fbb40a Fix race conditions when reading game title.
Fixes #5030.
2015-12-24 13:18:46 -08:00
Unknown W. Brackets
bc9c3ca649 Simplify VFS icon reading. 2015-12-24 12:45:07 -08:00
Unknown W. Brackets
d7b224cbf1 Clean up gameinfo locking around title/etc update. 2015-12-24 12:37:29 -08:00
Unknown W. Brackets
f3df6b307f Use a FileLoader for PBPs.
Improves consistency, caching, etc.
2015-12-24 12:21:40 -08:00
Unknown W. Brackets
a53f0360f3 Use a less leak prone interface for PBP reading. 2015-12-24 10:20:27 -08:00
Henrik Rydgard
490d8be4df Some cleanup, enable CRT memory tracker in debug builds 2015-10-04 14:11:34 +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
8996f58693 Generate save state IDs for homebrew using the elf or directory name where applicable. 2015-09-25 19:27:40 +02:00
Henrik Rydgard
cf63ec6d3c Delete some duplicate code 2015-09-22 23:02:02 +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
954735bde6 Recursive size calculation for PBP directory games. Other minor updates 2015-06-12 19:48:25 +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
00094e0fcc More work on savedata UI. 2015-06-12 11:40:50 +02:00
Henrik Rydgard
381e0c0fe3 Implement basic savedata UI. Not much actual functionality yet but can browse saves and states. 2015-06-11 23:59:02 +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
4fa529db50 Potentially reuse a cached file loader.
Although right now we always dispose, this just makes it so we could more
easily garbage collect them if we wanted.
2015-06-09 23:19:09 -07:00
Unknown W. Brackets
2d0bc5eeee Limit time GameInfo file loaders are kept open. 2015-06-09 23:16:59 -07:00
Peter Tissen
ba96b7b31c Just save the current config every time the config file is switched
also undo #7473 because it would now introduce redundant writes.
2015-02-14 19:21:26 +01:00
Peter Tissen
aa6985f5c2 Save after changing recent list
regarding #7472 . If this is not done then the config file (the main config,
the per-game config files do not have recent entries) is loaded when a game
with game-specific settings is touched.
2015-02-13 10:27:11 +01:00
TwistedUmbrella
de3975fc55 Revert "Untested attempt at fixing the iOS build (see #6972)"
This reverts commit a84597f266.
2014-12-05 19:46:56 -05:00
Henrik Rydgård
a84597f266 Untested attempt at fixing the iOS build (see #6972) 2014-12-04 07:21:14 +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
Unknown W. Brackets
40950a4b0e Workaround missing unique_ptr on Symbian.
Arg.
2014-11-25 12:00:35 -08:00
Unknown W. Brackets
fd2d7406d1 Make LocalFileLoader essentially private. 2014-11-23 14:02:35 -08:00
Unknown W. Brackets
967b589778 Consistently use FileLoader for standard ISOs. 2014-11-23 13:59:56 -08:00
Unknown W. Brackets
102b7b03fa Add an interface to load files with.
This allows loading from other than raw files.
2014-11-23 13:25:32 -08:00
Henrik Rydgard
e6334dd9d8 Display .7z files in file listings. Can't decompress them though. 2014-10-21 00:09:24 +02:00
Unknown W. Brackets
796bfb1160 Fix a crash when icon data fails to decode. 2014-09-08 07:50:01 -07:00
Henrik Rydgard
0264ff62f0 Update native with GL-lost-management (UI comes back on Android after switching away) 2014-09-06 13:50:50 +02:00
Unknown W. Brackets
de0a914d3b Fix a type conversion warning. 2014-08-30 22:06:38 -07:00
Henrik Rydgard
e539c7009f Hook up DX9 backend. Not really working though, it seems. 2014-08-22 20:55:12 +02:00
Henrik Rydgard
a3563c920d Only show button to delete savedata if there is savedata to delete 2014-07-21 20:59:03 +02:00
Unknown W. Brackets
fa4a50de23 Clear dataLoaded flags after clearing data.
Seems to fix some race for me with background icons showing up black.
Maybe a double load?
2014-06-22 09:56:05 -07: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
a6436d04f5 Support PIC0 in PBP files. 2014-06-21 18:29:54 -07:00
Unknown W. Brackets
a0340debd6 Use flags to specify wanted data in gamecache. 2014-06-21 18:24:21 -07:00