Commit graph

13213 commits

Author SHA1 Message Date
Unknown W. Brackets
0b59cc4c35 Use a std::map in sceAudiocodec. 2014-05-29 08:16:47 -07:00
Unknown W. Brackets
a09f1fd80f Clean up a leak in sceAudiocodec load state. 2014-05-29 08:11:00 -07:00
Henrik Rydgard
d4c7922c25 framebuffer-clut: Fixes to ES 2.0 path, slight simplification to ES 3.0 path 2014-05-29 12:30:07 +02:00
Henrik Rydgård
8b0043ae57 Merge pull request #6176 from unknownbrackets/atrac-fix
Fix lowlevel atrac looping on savestate load
2014-05-29 10:17:10 +02:00
Unknown W. Brackets
77b5cb7629 Reset decodePos in lowlevel decode.
FFmpeg was smart enough to do this for us, but not when we loaded a
savestate.  This is because without a savestate, we returned an initial
small header packet of this size, which gave FFmpeg the idea that seeking
there might help.

But, since we're forcing the decode at a certain position the better thing
is to seek ourselves.
2014-05-29 00:38:20 -07:00
Unknown W. Brackets
f29233386c Initialize some variables. 2014-05-29 00:16:16 -07:00
Unknown W. Brackets
a229593105 Erp, forgot to amend, sorry. 2014-05-28 22:49:49 -07:00
Unknown W. Brackets
63bb52bc42 Use the correct size in sceAudioCodec savestates.
ARRAY_SIZE(ptr) ain't gonna work.  Fixes #6173, thanks Lioncash.
2014-05-28 22:45:51 -07:00
Sacha
f787a1cbe1 Fix Windows build. 2014-05-29 10:33:02 +10:00
Sacha
9b7ab3816f Clean up MemArena and MemMap. Remove Symbian from MemArena (shouldn't have more ifdefs than code) 2014-05-29 03:30:23 +10:00
Unknown W. Brackets
bf5946203d Fix a couple typos, oops.
Framebuffer one probably broke Grand Knights History some, depal one
probably broke some clut stuff.
2014-05-28 00:19:51 -07:00
Sacha
5394eb29c8 Fix #6169. variable was defined in class but treated as local to function in parts. This meant it wasn't being cleared properly when view was recreated (eg. changing language). 2014-05-28 17:05:15 +10:00
Henrik Rydgard
06fda72701 framebuffer-clut fixes for ES2 2014-05-28 08:47:54 +02:00
Unknown W. Brackets
a5e3623742 Skip cpu change when game not running.
Oops, this happened when changing settings.  Fixes #6167.
2014-05-27 23:03:08 -07:00
Unknown W. Brackets
ade92fd37c Merge pull request #6166 from lioncash/cstr
Get rid of unnecessary c_str calls in VirtualDiscFileSystem.cpp
2014-05-27 22:10:05 -07:00
Lioncash
c54b7c1ec4 Get rid of unnecessary c_str calls in VirtualDiscFileSystem.cpp 2014-05-27 21:57:10 -04:00
Henrik Rydgård
1445d5ae31 Merge pull request #5767 from hrydgard/framebuffer-clut
Color-convert framebuffers that are bound as CLUT textures
2014-05-28 00:26:12 +02:00
Henrik Rydgard
44d9af9222 Hopefully fix the Manhunt red/green swap 2014-05-27 22:22:56 +02:00
Unknown W. Brackets
29a9ff369e Make a note when we need to reset the shader.
Hmm, not sure this is the cleanest way.
2014-05-27 22:12:25 +02:00
Unknown W. Brackets
14c081904c 5650 is also simple alpha. 2014-05-27 22:12:24 +02:00
Unknown W. Brackets
5f99f663ef Avoid duplicating an FBO when depaletizing it. 2014-05-27 22:12:23 +02:00
Unknown W. Brackets
126ed25a48 Correct clut depal indexing. 2014-05-27 22:11:20 +02:00
Unknown W. Brackets
5ac6fae8bb Validate framebuffer clut shaders on use.
When their parameters are actually the ones we are going to use.
2014-05-27 22:11:20 +02:00
Unknown W. Brackets
7ee6546609 Cache clut textures based on clut format.
Since we would end up with a different palette (size, interpretation of
bits, etc.)
2014-05-27 22:11:19 +02:00
Unknown W. Brackets
aa32bd6aa4 Also disable the logic op when rendering FB w/clut. 2014-05-27 22:11:18 +02:00
raven02
608d43898d Remove AlphaMaskHack 2014-05-27 22:11:18 +02:00
Henrik Rydgard
d90da45a76 On PC, OpenGL 3.3 is enough for the new path, don't need ES 3 full compat. 2014-05-27 22:10:37 +02:00
raven02
e2a4e13e38 Small one , not a big deal 2014-05-27 22:10:37 +02:00
Henrik Rydgard
7062da0483 Fix some more issues. The snow scene in FF Type 0 now looks B/W instead of broken. 2014-05-27 22:10:36 +02:00
Henrik Rydgard
3f16765f1c Allow 512 entries in 16-bit CLUTs. Also, forgot offset. 2014-05-27 22:09:29 +02:00
Henrik Rydgard
c3524246de Add GLES3 path to depalettization. Doesn't seem to help much though, must be missing something. 2014-05-27 22:09:28 +02:00
Henrik Rydgard
b82de69a2d depal: slightly better error reporting. 2014-05-27 22:09:28 +02:00
Henrik Rydgard
8b3f317bbf Typo fixes, thanks raven02. Fix deinitialization crashes. 2014-05-27 22:09:27 +02:00
Henrik Rydgard
2d31dd5e73 Try to fix Qt build 2014-05-27 22:09:27 +02:00
Henrik Rydgard
634add3a46 Depalettize works at other resolutions than 1x. For some strange reason though if you change resolution in game it breaks. 2014-05-27 22:09:26 +02:00
Henrik Rydgard
d414327da7 Use a small offset to turn NEAREST into floor() when sampling the clut.
Minor fixes and cleanups.
2014-05-27 22:09:25 +02:00
Henrik Rydgard
00c24ad3fc Support aligned 4-bit accesses to 32-bit framebuffers 2014-05-27 22:09:24 +02:00
Henrik Rydgard
ee150fadbb Update CMake and Android build 2014-05-27 22:09:23 +02:00
Henrik Rydgard
f517fa4ac8 Fix typo-bug when setting sampler uniforms, tweak fudge factors. 2014-05-27 22:09:23 +02:00
Henrik Rydgard
d0e65054a4 A bit closer to working. Shadow visible 2014-05-27 22:09:22 +02:00
Henrik Rydgard
8fba7fa98e Initial work on depalettization. 2014-05-27 22:07:24 +02:00
Henrik Rydgård
585050de27 Fix crash in block cache 2014-05-27 22:02:20 +02:00
Henrik Rydgård
ca01313715 Merge pull request #6160 from xsacha/master
Symbian: Over allocate VRAM (x4) in attempt to solve crash
2014-05-27 19:58:25 +02:00
Unknown W. Brackets
2a055baa82 Merge pull request #6161 from lioncash/typo
Fix a typo in GameSettingsScreen
2014-05-27 10:05:31 -07:00
lioncash
ee520d0974 Fix a typo in GameSettingsScreen 2014-05-27 12:41:55 -04:00
Sacha
fd034b25cf Qt Mac: Fix #5835 (update lib for new ffmpeg) 2014-05-28 02:16:53 +10:00
Sacha
f94f28fb4a Symbian: Over allocate VRAM (x4) in attempt to solve crash caused by 0.9.8-601. This brings allocation to the same as before the commit. See #6103 2014-05-28 01:52:38 +10:00
Henrik Rydgård
8d84c912eb Merge pull request #6070 from unknownbrackets/gpu-blend
Apply unsupported blending modes in the shader
2014-05-27 17:45:33 +02:00
Henrik Rydgård
94810e2451 Merge pull request #6159 from sum2012/sceio
sceio:Remove fix Buzz Ultimate Music Quiz Crash Sporadically code
2014-05-27 17:44:00 +02:00
Henrik Rydgård
ac8c3b7892 Merge pull request #6148 from unknownbrackets/gpu-blocktransfer
Support memset and swizzling memcpy on framebuffers
2014-05-27 17:43:22 +02:00