Commit Graph
18709 Commits
Author SHA1 Message Date
Henrik Rydgård 2aed007250 Merge pull request #6935 from unknownbrackets/atrac-minor
Try to match the initial atrac decode size
2014-09-24 00:13:10 +02:00
beaumanvienna 3db5420beb dual head support for Qt reworked / --fullscreen for Qt / fullscreen top most 2014-09-23 22:33:25 +02:00
beaumanvienna e11f403a8e dual head support for Qt reworked / --fullscreen for Qt / fullscreen top most 2014-09-23 22:30:50 +02:00
beaumanvienna 3a918141ef dual head support for Qt reworked / --fullscreen for Qt / fullscreen top most 2014-09-23 22:29:02 +02:00
beaumanvienna 2bc6864222 dual head support for Qt reworked / --fullscreen for Qt / fullscreen top most 2014-09-23 22:27:18 +02:00
Unknown W. Brackets 0ebe5325d4 Correct the end from sceAtracGetSoundSample().
I think it's meant to be the last *valid* sample.
2014-09-23 11:33:21 -07:00
Unknown W. Brackets e717a87f9f Add extra frames if we run out of atrac data.
We could probably insert frames instead for GHA phase shifting, but this
will solve other bugs too, I think.
2014-09-23 11:33:21 -07:00
Unknown W. Brackets fa42426d21 Clamp the final sample count during decode.
Some games depend on / expect this, or else they'll let important data get
overwritten.
2014-09-23 11:33:20 -07:00
Unknown W. Brackets 68f4a1e7f7 Return the correct next sample at the beginning. 2014-09-23 11:33:20 -07:00
Unknown W. Brackets 0aa7247fea Fix seeking in atrac after the start.
Not sure the very start is right though, arg.
2014-09-23 11:33:19 -07:00
Unknown W. Brackets 4702ae0e41 Add breakpoints to most sceAtrac mem access. 2014-09-23 11:33:18 -07:00
Unknown W. Brackets 6b6bf3f8e6 Correct the dataOff member of atrac context. 2014-09-23 11:33:18 -07:00
Unknown W. Brackets ac1fcdb269 Skip samples in the first chunk of atrac output.
This seems to be what the PSP actually does, although not sure.  The first
result is always smaller by this amount (numerous atrac files tested.)
2014-09-23 11:32:11 -07:00
Unknown W. Brackets 70705d4a9d Remove incorrect atrac decode ptr nullcheck.
Already shown in decode test to be valid.
2014-09-23 08:32:09 -07:00
Unknown W. Brackets 199e6bcd3b Avoid crashing when calling an invalid address.
We already have a check, let's use it properly.
2014-09-23 08:31:29 -07:00
beaumanvienna 66c585e931 dual head support (SDL_VIDEO_FULLSCREEN_HEAD) for Qt and SDL2 2014-09-22 20:08:02 +02:00
beaumanvienna eb0ca946e9 dual head support (SDL_VIDEO_FULLSCREEN_HEAD) for Qt and SDL2 2014-09-22 20:07:03 +02:00
Unknown W. Brackets 9bcffc5b4d Fix divide by zero in memcpy checks.
Happened in Resistance demo.
2014-09-21 21:36:26 -07:00
Henrik Rydgård 9aaaf3a835 Merge pull request #6922 from daniel229/a_few_func_replacement
A few functions replace in some games
2014-09-21 23:13:02 +02:00
Henrik Rydgård b9d3443e1b Merge pull request #6931 from CPkmn/patch-6
D3D9 Get maxAnisotropyLevel from device caps
2014-09-21 22:31:31 +02:00
Henrik Rydgård e20816a223 Merge pull request #6934 from unknownbrackets/d3d9
Update the Direct3D pixel shader to be more like GLES
2014-09-21 22:30:38 +02:00
Unknown W. Brackets dc6c88d147 d3d9: Mask out alpha using KEEP stencil op. 2014-09-21 12:47:39 -07:00
Unknown W. Brackets ae87024a0d d3d9: Enable 9ex, but not slower flip.
But maybe it's not slower?  Needs more testing.
2014-09-21 12:35:33 -07:00
Unknown W. Brackets 6618681d05 d3d9: Oops, can't use shader blending anyway. 2014-09-21 12:17:16 -07:00
Unknown W. Brackets 4e50eed85b d3d9: Specify tex stage for binding framebuf color. 2014-09-21 12:11:17 -07:00
Henrik Rydgard 718d7e291f d3d9: Add BindFramebufferColor(). 2014-09-21 12:05:29 -07:00
Unknown W. Brackets 856154a5f9 d3d9: Replace alpha and premultiply blend.
Unfortunately they are fairly tied together.
2014-09-21 12:01:49 -07:00
Unknown W. Brackets 6e34fe1c4b d3d9: Fix fbo tex clamp (usually shadows.) 2014-09-21 11:07:02 -07:00
Unknown W. Brackets ccb6e99e07 d3d9: Disable color doubling without tex.
As the PSP does.
2014-09-21 10:58:21 -07:00
Unknown W. Brackets 8bf13d4214 d3d9: Add stencil and blend replacement helpers. 2014-09-21 10:56:54 -07:00
Unknown W. Brackets e3d6f19a2e d3d9: Update some not-yet-used ps uniforms. 2014-09-21 10:41:44 -07:00
Unknown W. Brackets 9355322824 d3d9: Fix shader compile error X3014. 2014-09-21 09:05:47 -07:00
Unknown W. Brackets 4210ba44eb Clean up a few more ImmPtr() cases. 2014-09-21 08:34:27 -07:00
Unknown W. Brackets 031a1de139 Add some additional ABI call funcs, cleanup.
ImmPtr is cleaner, let's use it rather than ugly casts.
2014-09-21 08:34:08 -07:00
xsacha 1ab398aafb Merge pull request #6927 from Bigpet/displwnd
comment out display list debug window
2014-09-21 22:47:07 +10:00
Henrik Rydgård 11a87b4a0b Merge pull request #6932 from unknownbrackets/d3d9
d3d9: Try to reduce distance between vertex shaders
2014-09-21 10:26:23 +02:00
Unknown W. Brackets a62f88d1f8 d3d9: Oops, don't need this, no prescale.
Hmm, trying to reduce differences, though...
2014-09-21 00:09:38 -07:00
Unknown W. Brackets 77b2da7345 d3d9: Update some areas of the pix shader.
Will eventually want this to have the clamping etc.
2014-09-21 00:07:07 -07:00
Unknown W. Brackets 6f38c21ccc d3d9: Make the vertex shaders more similar. 2014-09-20 23:55:48 -07:00
CPkmn d0b225df7c D3D9 Get maxAnisotropyLevel from device caps 2014-09-20 22:39:01 -07:00
daniel229 d452d02aba Update replace function for Toaru Majutsu to Kagaku no Ensemble. 2014-09-21 10:58:56 +08:00
Henrik Rydgard dda3ca3d5f D3D9 init error reporting improved. Use "override" properly in Host. 2014-09-20 21:55:58 +02:00
Henrik Rydgard 34f7b90c1d DX9: Don't set mipfilter to aniso, it's enough to set the minfilter.
Remove erroneuos comment.
2014-09-20 21:14:42 +02:00
Henrik Rydgård 0734d86eaa Merge pull request #6930 from unknownbrackets/d3d9
Use a half-pixel offset when drawing textures
2014-09-20 18:04:07 +02:00
Unknown W. Brackets e1a57abcb4 Fix mixed newline style. 2014-09-20 08:30:37 -07:00
Unknown W. Brackets 6d08b363c2 d3d9: Use a half-pixel offset when drawing a tex.
Fixes half pixel offset issues (center of pixels is 0,0 in d3d9, but
texels are at 0.5/w,0.5/h.)
2014-09-20 08:30:30 -07:00
Unknown W. Brackets 8d4a642787 Merge pull request #6925 from hrydgard/d3d9-matrixopt
D3D9 - use 4x3 matrices where possible
2014-09-20 08:26:42 -07:00
Henrik Rydgard 98337c68f3 DX9: fix type in texture filter selection 2014-09-20 14:06:02 +02:00
Henrik Rydgard e04b67dad4 When aniso filtering is enabled, force it on for min filtering but not for mag filtering. 2014-09-20 13:04:32 +02:00
Henrik Rydgard 62054b1e7b Fix PINSRW/PEXTRW emitters.
Fixes crash introduced in 5276487611
(apparently we haven't used PINSRW before)
2014-09-20 11:46:05 +02:00