Commit Graph

195 Commits

Author SHA1 Message Date
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
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
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
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
Henrik Rydgard
aa31b9ace9 The "fallback" title is already set, don't need to set it again 2014-06-14 00:19:09 +02:00
Unknown W. Brackets
4dcf1d86ed Don't count all files as savedata if id blank. 2014-04-20 20:50:45 -07:00
The Dax
8efd67280d Show unknown.png regardless of PARAM.SFO when an ISO lacks the file.
It's better than showing a black rectangle with nothing in it for broken or homebrew ISOs.
2014-03-06 08:25:40 -05:00
Henrik Rydgard
70174ac405 Warn fix, cleanup, update buttons.svg 2013-12-12 12:08:36 +01:00
Henrik Rydgård
d5b9b224e3 Fall back to unknown.png if ISO is broken 2013-12-11 15:29:41 +01:00
Henrik Rydgård
618e5080ab Add grayscale RAR icon (to sort of indicate that we can't unpack them) 2013-12-11 15:24:29 +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
483bf4c74d Don't leak icon textures when shutting down the graphics system.
Happens on Android task switching for example.

Also update the README (got rid of kitkat fullscreen temporary because
I can't get it to work reliably).
2013-12-09 15:28:47 +01:00
Henrik Rydgård
9e42086e21 Logspam reduction 2013-12-09 13:45:17 +01:00
Henrik Rydgård
6277a95bb8 Minor gamelist polish (fix & signs, avoid double dots for zip files) 2013-12-06 11:44:46 +01:00
Henrik Rydgård
7066c053a2 Fix deleting homebrew from the game screen UI 2013-12-05 12:48:09 +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
shenweip
f772cba43d Make distinction for multiple disc. 2013-11-26 18:23:08 +01:00
Sacha
1ee0fbf94c Qt: Fixes and cleanup to qmake files. 2013-11-24 13:24:16 +10:00
Henrik Rydgard
b64f44c3fc ARM emitter: Implement VMLA and VMUL by scalar, VLD1/VST1 multiple 2013-11-23 01:51:35 +01:00
The Dax
6efd5b33f7 We don't really need DIRECTORY_FLASH0 or DIRECTORY_MEMSTICK. 2013-10-15 03:41:10 -04:00
The Dax
c7bdeb3084 Eliminate GetSysDirectories and instead provide a new function: GetSysDirectory.
On Win32, call InitSysDirectories before the emuthread starts just to be safe.
2013-10-15 03:41:10 -04:00
shenweip
a304e9b420 Make a distinction between savedata and installdata. 2013-10-03 20:44:16 +08:00
The Dax
dda0bfea33 Build fix. 2013-09-30 16:00:41 -04:00
The Dax
e1580bb8ba When a game is deleted via GameScreen, remove it from the recent ISOs list, if applicable. 2013-09-30 15:29:37 -04:00
Henrik Rydgard
8c88dff5a4 More log categories, use them (and existing ones). Improve log config. 2013-09-07 22:02:55 +02:00
Henrik Rydgard
c1d0ed08c4 Fix some file browsing issues 2013-08-20 16:52:36 +02:00
Henrik Rydgard
b186294132 UI tweaks. Change to cleaner background image. 2013-08-20 00:49:25 +02:00
Henrik Rydgard
73990bcc32 UI updates
Touch&hold now goes to game menu and single click goes directly to the game, so I removed bDirectLoad.

There's now a linear game list view for the game browser.

Assorted fixes.
2013-08-16 12:53:35 +02:00
Unknown W. Brackets
256394b2bf Move VirtualDiscFileSystem to its own file. 2013-07-28 12:31:48 -07:00
Kingcom
5ddc9afba0 -save state support
-abstracted file access
-moved to VirtualDiscFileSystem class
2013-07-24 22:49:45 +02:00
Kingcom
f9c5d3766c Display icon in UI 2013-07-23 17:35:43 +02:00
Henrik Rydgard
bf58b32208 Fix bug that caused us to always show UNKNOWN.PNG for PBP files in recent list and new ui 2013-07-15 18:57:42 +02:00
Unknown W. Brackets
9f96ea80b1 Don't crash if GameInfoCache is never inited. 2013-07-10 22:28:01 -07:00
Henrik Rydgard
3216410ac8 Fix unknown.png issues properly this time :P 2013-06-23 17:57:24 +02:00
Henrik Rydgard
6f24514ad5 Fix unknown.png issues. Hopefully fixes #2411. 2013-06-23 16:24:57 +02:00
Henrik Rydgard
9161c1e289 Use unknown.png for missing pbp/elf icons 2013-06-22 23:25:22 +02:00
Henrik Rydgard
df6199d353 Move some stuff to native. Show game icon on newui game screen. Turn it off again (oops) 2013-06-09 13:42:00 +02:00
Henrik Rydgard
645e8a7705 More NewUI, bugfix in ParamSFO where strings were created to include the trailing zero. 2013-06-09 12:41:12 +02:00
Henrik Rydgard
cf2422002c GameInfoCache: Get game and save sizes. 2013-06-09 11:54:03 +02:00
Henrik Rydgard
533541615f Merge branch 'master' of github.com:hrydgard/ppsspp
Conflicts:
	UI/GameInfoCache.h
2013-06-08 23:01:49 +02:00
Henrik Rydgard
bb3c91f8bb Some New-UI work (disabled, it's not really ready yet). 2013-06-08 22:47:06 +02:00
aquanull
2a6b35f3ad Fix missing Pause Screen BG if the game is exited once and then replayed. 2013-06-09 00:41:20 +08:00
Henrik Rydgard
3b07090682 Give GameInfo some new powers, like deleting savedata (no UI yet) and computing file sizes. Recognize directories with EBOOT.PBP in them as "games" in their own right, makes things a little cleaner. 2013-06-08 17:52:51 +02:00
Henrik Rydgard
63d8267bd4 Fix copy-paste fail.. 2013-04-20 21:00:35 +02:00
Henrik Rydgard
e5955782c6 Recent list: Don't try to draw using textures that failed to load. 2013-04-20 20:57:43 +02:00
Henrik Rydgard
1adb52fa03 Fix for gameinfo cache clearing, etc. 2013-04-14 13:01:01 +02:00
Henrik Rydgard
b88f428a67 Clear the gameinfo cache on device lost. 2013-04-14 11:58:28 +02:00
Henrik Rydgard
8a0b766f62 Fix copy/paste fail 2013-04-13 23:42:43 +02:00
Henrik Rydgard
f85a904d5c Fix issue that causes ELFs to not display among recents anymore 2013-04-13 22:39:19 +02:00
Henrik Rydgard
09e58eadd3 Add missing locking in GameInfoCache. Shorten the amount of time the lock is held when reading the ISO. 2013-04-13 22:30:28 +02:00
Henrik Rydgard
e3fb88de68 Background thread for icon loading, show in game list. Switch to GNU STL in Android port. 2013-04-13 21:24:07 +02:00
Henrik Rydgard
8b6eea7df4 Load icon and bg from PBP files. 2013-04-08 21:46:54 +02:00
Unknown W. Brackets
26caed8717 Don't try to analyze prx's either - tests. 2013-04-06 17:41:12 -07:00
Henrik Rydgard
8aee82535b Read both pic0 and pic1 and draw them on the pause screen. 2013-04-01 12:35:02 +02:00
Henrik Rydgård
53cdfbef86 Merge pull request #1145 from unknownbrackets/perf
Speed up ISO reading for the gameinfocache
2013-03-31 23:44:50 -07:00
Unknown W. Brackets
d11a5debcb Add a way to restrict ISO reading to a single path.
This is for GameInfoCache.
2013-03-31 21:36:12 -07:00
Unknown W. Brackets
742f9c4491 Avoid a crash when the recent list contains EBOOTs. 2013-03-31 20:39:04 -07:00
Henrik Rydgard
0eda1a8fe5 Show bg and icon on pause screen. 2013-03-31 01:04:46 +01:00
Henrik Rydgard
c23631a8fc Some experimental (disabled) code to have images in gamelist. Too slow, needs work. 2013-03-30 20:10:32 +01:00
Henrik Rydgard
c1acc02560 Show game icons on recent buttons. Later, we'll have a real game selector with images. 2013-03-30 19:34:15 +01:00
Henrik Rydgard
7425532e99 Move non-Android specific stuff from android/jni to /UI.
Move source_assets one level up, too.
Also, start prototyping GameInfoCache, you'll see what it's for soon...
2013-03-30 15:46:26 +01:00