Commit graph

13437 commits

Author SHA1 Message Date
Unknown W. Brackets
adee76cd62 Add a matching PerformMemoryUpload().
Just so we have both Download and Upload to use later.
2014-06-10 00:45:03 -07:00
Unknown W. Brackets
5bd1d9d009 Avoid corrupting mem if our framebuf size is wrong.
Let the size specify the framebuffer height, which we are most likely to
have gotten wrong.
2014-06-10 00:15:05 -07:00
Unknown W. Brackets
d5aae5a705 Match block transfer address even when uncached.
Rhythm8 for example uses an uncached address for the dest framebuffer.
2014-06-09 23:28:54 -07:00
Sacha
154d5f7c80 Qt: Prevent unexpected bitness override on Mac. 2014-06-10 16:05:53 +10:00
Unknown W. Brackets
ef12694c4b Don't update render tex x/y offset unless matched.
Sometimes we have false matches, they should be skipped.  Fixes some bloom
that is off in some games.
2014-06-09 22:45:14 -07:00
Sacha
9d9d135176 Symbian buildfix, x11 linker order 2014-06-10 15:33:30 +10:00
Sacha
87c7b31e77 Qt: Mac arch detection workaround on Qt4. Fix a conflict. 2014-06-10 15:11:25 +10:00
Henrik Rydgard
56a513e20a Oops, accidentally changed the non-android path in a bad way. 2014-06-10 01:06:22 +02:00
Henrik Rydgard
0b42530fd8 Use low-level I/O on Android for 64-bit offset support
Fixes videos in FF Type-0 on Android. See #6268
2014-06-10 01:00:34 +02:00
Henrik Rydgard
120e4329ba Revert the analog key names (lost mappings) 2014-06-10 00:24:14 +02:00
Henrik Rydgard
c39c36ddea Improve layout of control mapping screen 2014-06-09 22:26:23 +02:00
Henrik Rydgard
e01f8232bd Try the quickfix proposed for 6272 at 1080p, works nicely.
Might want to do something more ambitions, too, allowing minor crops
on more resolutions...
2014-06-09 21:22:12 +02:00
Sacha
5598fe4bde Travis: Fix Blackberry 2014-06-10 04:16:43 +10:00
Henrik Rydgard
d6b51d4dfa Reduce some excessive logging 2014-06-09 19:40:05 +02:00
Henrik Rydgard
339c4d7dc3 Fix a bunch of typos breaking various utility shaders on GLES
Fixes white shadows in FF-Type 0 on Tegra, as mentioned in #6268
2014-06-09 19:15:45 +02:00
Sacha
3e50086d19 Travis: update. Fix screenshots in Qt 2014-06-10 02:51:23 +10:00
Sacha
e75801a9d1 Travis: Use g++ 4.8 on Linux and Blackberry. 2014-06-10 00:35:30 +10:00
Sacha
e57ae29e4a Symbian: Switch to GCC 4.7.3. Blackberry: Switch to GCC 4.8.2 2014-06-09 23:49:30 +10:00
Henrik Rydgård
8bef7c64b1 Merge pull request #6262 from unknownbrackets/framebuf-estimate
Assume 512 tall framebuffers are wrong too
2014-06-09 13:02:57 +02:00
Henrik Rydgård
28da52472a Merge pull request #6269 from xsacha/master
Travis: Update to GCC 4.7.3 for Symbian.
2014-06-09 12:52:35 +02:00
Sacha
fd70cfa149 Travis: Update to GCC 4.7.3 for Symbian. 2014-06-09 20:28:26 +10:00
Unknown W. Brackets
0550b9372a Skip nop padding between functions.
Fixes graphical artifacts in Final Fantasy Tactics, recognizing memset and
memcpy.
2014-06-09 00:16:03 -07:00
Unknown W. Brackets
f801123849 Correct some depal format reporting. 2014-06-08 23:28:55 -07:00
Unknown W. Brackets
1bd44fd4e2 Typo. 2014-06-08 23:21:16 -07:00
Unknown W. Brackets
63e0d47de6 Report unsupported RGB and a/stencil masks. 2014-06-08 22:45:59 -07:00
Unknown W. Brackets
3884550c7b Remove a few TODOs that aren't relevant anymore. 2014-06-08 22:35:48 -07:00
Unknown W. Brackets
375bc34c4b Skip direct blocktransfer draw in buffered.
It isn't needed anymore, and causes glitches in Tales of Phantasia X.
2014-06-08 17:30:51 -07:00
Unknown W. Brackets
125a440e71 Try scissor/region height if viewport is == 512.
Fixes Tales of Phantasia X menu in towns, where it uses a 480 tall
framebuffer but specifies a 512 tall viewport.
2014-06-08 17:30:51 -07:00
Unknown W. Brackets
5fd0adcb6a Fix framebuf blit on resize. 2014-06-08 17:30:50 -07:00
Henrik Rydgård
d3887983ad Merge pull request #6263 from unknownbrackets/gpu-blocktransfer
Fix intra-buffer blit, Tales of Phantasia X save pictures
2014-06-09 01:45:29 +02:00
Unknown W. Brackets
a926b19c03 Hook Tales of Phantasia X save pictures.
Maybe other games will use the same func even.  This makes save pictures
work correctly the first time.
2014-06-08 16:38:43 -07:00
Unknown W. Brackets
38dde1f6b5 Fix a debugger crash on shutdown. 2014-06-08 16:35:39 -07:00
Unknown W. Brackets
fdf15cf05f Fix intra-buffer blit at non-1x resolutions.
Oops.
2014-06-08 16:26:47 -07:00
Henrik Rydgård
019757a2b8 Merge pull request #6260 from unknownbrackets/gpu-blocktransfer
Fix block transfer download with bpp mismatch
2014-06-09 00:15:25 +02:00
Henrik Rydgard
e8433f6fef cheat screen: Add shortcut to launch notepad with the current cheat file 2014-06-09 00:13:59 +02:00
Unknown W. Brackets
3a0cce575c Fix block transfer download with bpp mismatch.
Pretty sure this will take care of #6258.
2014-06-08 15:05:10 -07:00
Henrik Rydgård
89667a870b Merge pull request #6259 from unknownbrackets/fbtex-offset
Apply byte offset when using rendered textures
2014-06-08 23:34:22 +02:00
Unknown W. Brackets
b163ab9203 Use an extra shader id bit to skip offsetting.
Since the vast majority of the time it will be 0.
2014-06-08 14:28:18 -07:00
Unknown W. Brackets
865941a66d Ignore needShaderTexClamp when not texmapping. 2014-06-08 14:27:57 -07:00
Unknown W. Brackets
acab898be0 Keep track of x/y offset for render-to-tex.
Fixes intro in Valkyrie Profile now that we're wrapping correctly.
2014-06-08 14:27:05 -07:00
Henrik Rydgard
9c799b773d Don't use glTexStorage2D, see issue #6075
Probably didn't help much anyway.
2014-06-08 18:36:18 +02:00
Henrik Rydgard
77c85bccdd Don't lose focus after mapping a control.
Makes it a lot less aggravating to remap more than one control using a controller.

Also fixes a race condition.
2014-06-08 15:38:13 +02:00
Henrik Rydgard
a31194a877 Add some sanity checks when looking up syscalls.
This may avoid crashing the emu when it starts executing junk (still not good of course, heh).
2014-06-08 13:03:03 +02:00
Henrik Rydgård
fe58f8daa9 Merge pull request #6254 from unknownbrackets/framebuf-clamp
Correct framebuf clamping, tex projection from framebuf
2014-06-08 11:22:38 +02:00
Henrik Rydgård
be02ea7769 Merge pull request #6255 from unknownbrackets/gpu-blocktransfer
Enable "simulate block transfer" by default
2014-06-08 11:15:22 +02:00
Henrik Rydgard
4b9823c0ea Let's see if there are any remaining fog INF/NAN issues out there 2014-06-08 11:06:34 +02:00
Henrik Rydgård
7b91be5911 Merge pull request #6252 from unknownbrackets/gpu-minor
Allocate tex and buffer names in chunks
2014-06-08 10:43:06 +02:00
Unknown W. Brackets
4effd15fcb Support Grand Knight History's line-by-line xfer.
This is a bit hacky, but what it's doing at least makes sense enough to
heuristically detect.  Still trying to avoid misdetecting God of War.
2014-06-07 23:59:34 -07:00
Unknown W. Brackets
84d69de7a1 Enable "simulate block transfer" by default. 2014-06-07 22:43:40 -07:00
Unknown W. Brackets
3f8ef6dacd Ensure stride in bytes matches FBO up/download.
Even if we should do the copy, we'll currntly use the wrong x/y/w/h.
This fixes incorrect uploads in God of War, which hurt performance a lot.

Unfortunately, in this game there's zero information to tell us the right
size of some small temp framebuffers it uses, so we overestimate their
sizes and the block transfer appears to fall into range.
2014-06-07 22:40:41 -07:00