Commit Graph

19578 Commits

Author SHA1 Message Date
Unknown W. Brackets
6a5096e546 Save the game title in savestates, if available.
So that the UI can show them.  Old savestates still load fine, just don't
have the title.
2016-01-23 12:56:36 -08:00
Unknown W. Brackets
8d41664bb1 UI: Fix clipping with margins.
Affected text views, like "No screenshot." in save states.
2016-01-23 11:45:55 -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
43218ea953 thin3d: Auto gen mips only once per tex. 2016-01-23 11:22:40 -08:00
Unknown W. Brackets
5827cab6e5 thin3d: Enable linear filter after mipmap gen. 2016-01-23 11:18:18 -08:00
Unknown W. Brackets
68a6f8186d UI: Avoid scroll to top on tab restore.
Oops, missed this case.

Fixes #7975, savedata manager scrolling on delete.
2016-01-23 10:52:16 -08:00
Unknown W. Brackets
c1812ae7d7 UI: Clamp scroll pos on render.
This way we don't clamp wrongly when views don't have sizes yet, and we
also do clamp when we need to.

We can allow a little flex by tracking the down state too.
2016-01-23 10:10:43 -08:00
Unknown W. Brackets
705ab497f2 UI: Oops, use tag for focus too. 2016-01-23 09:20:53 -08:00
Unknown W. Brackets
60f00820f8 UI: Move scrollviews to top on hide.
This seems like a common scrolling decision.
2016-01-23 09:15:50 -08:00
Unknown W. Brackets
2176920d5d UI: Disable scroll-to-top on resize of scrollview. 2016-01-23 09:07:14 -08:00
Unknown W. Brackets
1318f29c8d UI: Update layout on recreate to focus subviews. 2016-01-23 09:07:13 -08:00
Unknown W. Brackets
f26d682e14 UI: Persist the last focused view on resize. 2016-01-23 09:07:13 -08:00
Henrik Rydgard
e866d83547 Temporarily revert "Mpeg: Return errors when no audio is available."
This reverts commit c03f6c23ed.

This caused trouble as seen in #8464, but is probably right - needs other fixes though so
it will have to wait until after 1.2.0.
2016-01-23 17:08:01 +01:00
Henrik Rydgard
82ed16fbfd Make sure we detect ES 3.0 the same way in both vertex and fragment shaders 2016-01-23 16:57:24 +01:00
Henrik Rydgard
4155712113 Improve EGL logging, fallback to a really simple config if the normal one fails. May help #8469, if not may at least give us more info. 2016-01-23 13:17:53 +01:00
Henrik Rydgård
f0d65da082 Merge pull request #8482 from unknownbrackets/ui-tweaks
Persist some UI state when recreating views
2016-01-23 10:34:42 +01:00
Henrik Rydgård
9e4f54f0fd Merge pull request #8484 from daniel229/compat_update_3
Update compat.ini
2016-01-23 10:30:48 +01:00
daniel229
4699569d04 Update compat.ini 2016-01-23 17:14:17 +08:00
Unknown W. Brackets
78aae01cd4 UI: Allow scroll views to persist their position.
It'll be clamped as necessary.
2016-01-22 23:02:44 -08:00
Unknown W. Brackets
c0238de4ee UI: Add tags to all the scroll views. 2016-01-22 22:52:13 -08:00
Unknown W. Brackets
1c2ac798cd UI: Persist selected tab on resize. 2016-01-22 22:40:36 -08:00
Unknown W. Brackets
f6772ec526 UI: Add a simple means of persisting data. 2016-01-22 22:40:16 -08:00
Unknown W. Brackets
84d815768b UI: Set tags on tab views, in the typical case. 2016-01-22 22:39:58 -08:00
Unknown W. Brackets
5a01bb7836 Expand game browser path to fit available space.
Before it just was saying it wanted to be flexible.
2016-01-22 21:58:03 -08:00
Unknown W. Brackets
e30ab95179 d3d9: Fix maxSeenV when not known.
And just make the code reused between both.  Fixes #8478.
2016-01-22 18:48:54 -08:00
Henrik Rydgård
d5539c4831 Merge pull request #8475 from daniel229/compat.ini2
Update PixelDepthRounding list avoid flickering in Phantasy Star games
2016-01-22 13:02:49 +01:00
daniel229
c7666df767 Update compat.ini 2016-01-22 18:22:24 +08:00
Henrik Rydgård
c306312b80 Merge pull request #8473 from unknownbrackets/hashmap
Don't trust symbol map func defines
2016-01-22 10:39:28 +01:00
Unknown W. Brackets
67450f2625 Don't trust symbol map func defines.
Unfortunately, some games dynamically load modules that all have the same
name, but different content.  This tries to detect that situation better,
by at least not using the name if the address is different.

This will also track the right sizes for hashing, making incorrect
identification of functions much less likely.

Fixes #8420.
2016-01-22 00:39:31 -08:00
Henrik Rydgård
2abf848a80 Merge pull request #8472 from unknownbrackets/mpeg-mono
Mpeg: Correctly handle mono audio in videos
2016-01-22 09:24:53 +01:00
Henrik Rydgård
7d1651bfbf Merge pull request #8471 from unknownbrackets/savestates
Fix a savestate issue while a GE list is running
2016-01-22 09:24:06 +01:00
Unknown W. Brackets
0b1102a622 Mpeg: Correctly handle mono audio in videos. 2016-01-21 23:19:03 -08:00
Unknown W. Brackets
bc48509f33 Add a bit more safety to func replacements.
In case somehow the replacement changes.
2016-01-21 22:17:25 -08:00
Unknown W. Brackets
e964e15ed3 Correct savestate of running GE list.
Fixes #8459.
2016-01-21 22:14:47 -08:00
Henrik Rydgård
380bcba4fc Merge pull request #8470 from chaoren/master
Fix CMake build for Android.
2016-01-22 00:48:10 +01:00
Chaoren Lin
1283336034 Fix CMake build for Android.
Seems like some files have been moved.
2016-01-21 15:39:48 -08:00
Henrik Rydgård
cd35684a46 Merge pull request #8454 from unknownbrackets/gpu-depth-round
Add pixel depth rounding to d3d9, gles2 and support forcing via config
2016-01-21 09:41:26 +01:00
Henrik Rydgård
24cad4cab5 Merge pull request #8468 from unknownbrackets/minor
Add a small assert and some warning fixes
2016-01-21 09:40:32 +01:00
Unknown W. Brackets
9354e253bd Fix some warnings in shader cache read.
In case something gets truncated.
2016-01-21 00:24:45 -08:00
Henrik Rydgård
c0954d7218 Merge pull request #8467 from unknownbrackets/gpu-depth
Blit depth when current, not max, size matches
2016-01-21 09:14:06 +01:00
Unknown W. Brackets
597596884e Add a smart C FILE * helper.
When all you want is for it to close by itself on error.
2016-01-20 23:33:56 -08:00
Unknown W. Brackets
8713e532e0 arm64jit: Log if HI is set an an imm. 2016-01-20 23:26:49 -08:00
Unknown W. Brackets
79792a3c38 d3d9: Account for half-pixel z offset. 2016-01-20 22:53:47 -08:00
Unknown W. Brackets
0443fbebd0 Add methods to download depth to PSP RAM. 2016-01-20 22:11:03 -08:00
Unknown W. Brackets
2916298695 gedbg: Add scaled 16-bit z support. 2016-01-20 22:11:02 -08:00
Unknown W. Brackets
f9970dba94 d3d9: Respect per-pixel depth rounding.
Using the 16-bit depth range.
2016-01-20 22:11:01 -08:00
Unknown W. Brackets
27dba51e70 Add fallbacks where low quality depth is required.
Even on GLES2, this should work.  Also check the depth before applying
rounding - we might even already be 24-bit.
2016-01-20 22:11:01 -08:00
Unknown W. Brackets
79750ed1ad Add a config setting to control depth quality.
For those who want 1x PSP like behavior.
2016-01-20 22:11:00 -08:00
Unknown W. Brackets
57aa864c0c Blit depth when current, not max, size matches.
This is really what was implemented originally, this code was just not
updated to match when we started resizing framebuffers.

Fixes #6497.
2016-01-20 21:35:19 -08:00
Henrik Rydgård
4c8384aa09 Merge pull request #8461 from unknownbrackets/gpu-depth
Swap depth range to use minz/maxz
2016-01-20 10:19:51 +01:00