Commit Graph

76 Commits

Author SHA1 Message Date
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
LunaMoo
296f724ad1 Oops, missed this one:]. 2017-05-30 12:20:35 +02: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
Unknown W. Brackets
6541413021 UI: Improve documentation on pop up use. 2017-04-02 10:56:41 -07:00
Unknown W. Brackets
55908588eb UI: Allow choosing game bgs for all UI. 2017-04-02 10:48:38 -07: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
Unknown W. Brackets
1fdf7c5373 UI: Skip game bg lookup without game.
This avoids trying to identify a file without a name.
2017-03-24 22:15:22 -07:00
Unknown W. Brackets
073e056369 UI: Allow overriding dialog logic on finish.
This seems cleaner.
2017-03-19 17:43:03 -07:00
Unknown W. Brackets
9e390510df Remove legacy InputState. 2017-03-14 22:07:07 -07:00
Henrik Rydgard
fa80cfa4aa Additional UWP preparations 2017-02-25 09:57:14 +01:00
LunaMoo
b15e927807 Fix lag generated by getting savegames on update()
Also clear otherChoices_ vector, fixes crash when moving a window.
2017-02-01 05:14:54 +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
10393f5d4e Move Thin3D into the Draw namespace. 2016-12-27 11:58:03 +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
49f96917c6 UI: Allow title, etc. to wrap on game info screen. 2016-08-07 16:35:58 -07:00
Unknown W. Brackets
838de5b5c0 UI: Asynchronously load the game info screen.
No reason to wait, just need to keep the buttons hidden.

Intentionally hiding even the buttons below the possibly added buttons, so
we don't accidentally play "button keep away" with the user.
2016-08-07 16:35:57 -07:00
LunaMoo
778c518a37 Cheat menu access from gameScreen + minor bugfix +
Invalidate JIT for 0xE/0xD checks
And big thanks to [Unknown] for help:3
2016-06-20 11:33:02 +02: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
862e6fffd5 UI: Keep focus on game after displaying details.
Fixes #8539.
2016-02-07 17:15:19 -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
8ab0a3cf7c Fix bug when deleting game configs from game screen - didn't mark as deleted 2015-10-03 22:57:07 +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
vnctdj
d7eba2061e Consistently use *di for the Dialog i18n category 2015-07-01 23:26:55 +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
Andrey Bondrov
ba9d0b7665 Don't set focus for Play choice 2015-03-01 22:56:57 +10:00
Henrik Rydgard
c9e6938801 UI: Add "overscroll" when keyboard navigating, to show a bit of the next item. Add some shadows. 2015-02-15 11:22:24 +01: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
Peter Tissen
a5fcf9dd5f Make 'load defaults' work for per-game configs. Move 'stop' code into PSP_Shutdown 2014-12-19 14:56:36 +01:00
Peter Tissen
be3389fdef added optional per-game settings
call button 'game settings' only when modifying game-only settings
make the user confirm deleting settings
2014-12-16 00:14:11 +01: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
The Dax
bfab461fc4 Hide various UI options related to recent games when iMaxRecents < 0. 2014-06-28 23:44:24 -04:00
Henrik Rydgard
cefc0bc96f Play the game's SND0.AT3 when a game is selected in the menu and on the "game screen". 2014-06-22 17:02:04 +02:00
Unknown W. Brackets
a0340debd6 Use flags to specify wanted data in gamecache. 2014-06-21 18:24:21 -07:00
Unknown W. Brackets
a22fb9289d Load the icon on the game screen with the bg.
Still looks nicer this way.
2014-06-21 14:03:50 -07:00
Unknown W. Brackets
274160bc22 Centralize game background drawing code.
No need to duplicate it everywhere.
2014-02-09 17:39:15 -08:00
Unknown W. Brackets
ae576f2457 Show the path in the game details screen.
Helps when you have 2+ isos in the same dir with different versions of the
same game, heh.  Like when hacking/translating.
2013-12-14 22:36:41 -08:00
Henrik Rydgard
13dd5f305c Add trivial "Show in Folder" functionality to game screen 2013-12-11 20:19:30 +01:00
Henrik Rydgard
fedf7edc2b Guess game region from game ID, display on game screen 2013-12-10 17:23:03 +01:00
Sacha
f02e88b87e Buildfix. 2013-11-24 03:11:33 +10:00
shenweip
7bd0e0de78 Only do this for windows. 2013-11-19 20:46:33 +08:00
shenweip
09636da4ba Ignore the difference between "\" and "/" in "recent" and "remove from recent". 2013-11-18 23:42:38 +08:00
Henrik Rydgard
805bea5ec8 Cosmetic fix to gamescreen 2013-10-16 22:33:47 +02:00
shenweip
63b54db45e Set saveDataSize and installDataSize to 0 if deleted savedata. 2013-10-09 19:34:36 +08:00
Henrik Rydgård
a63744eda4 Merge pull request #3881 from vnctdj/patch-1
Small translation-related changes
2013-10-05 13:44:40 -07:00