Commit graph

5079 commits

Author SHA1 Message Date
Anthony
660e6bca1e Fix loading from UNC paths
Remove unexplained slash processing
which breaks UNC paths
2021-07-26 22:36:28 +12:00
ergo720
e37bb218ba Reworded error message displayed when cxbxr fails to launch an xbe 2021-07-21 13:19:28 +02:00
ergo720
cb3330a9e4 Removed stdcall from EmuLog 2021-07-14 15:38:45 +02:00
ergo720
cf8ff008a8 Shorten cxbxr title string 2021-07-14 10:55:45 +02:00
RadWolfie
390466e615 dsound: GetStatus workaround mimic hack. 2021-07-05 11:10:42 -05:00
ergo720
6e68433dbd
Merge pull request #2254 from RadWolfie/cleanup-emufile
Small Clean Up Portion of EmuFile Usage
2021-07-05 11:25:01 +02:00
Anthony
755bb73b1c - Remove old TODO
- Additional comments
- Detect compressed volume texture test case
2021-06-30 21:44:28 +12:00
Anthony
fc430320ac simplify branch and condition 2021-06-30 20:17:07 +12:00
Anthony
516457c89c Tidy texture/mip copy code
- Rename and comment variables for clarity
- Remove unused 'dwSrcSlicePitch'
- Remove 'dwCubeFaceSize' calculations since we can get this from 'dwSlicePitch'
2021-06-30 19:56:32 +12:00
Anthony
2e27e0d4b5 Include face offset in source data offset
Fix just the first face being copied to all faces
Test case: PerPixelLighting, PerPixelLightingVS
2021-06-30 19:50:31 +12:00
RadWolfie
edad809de0 clean up portion of EmuFile usage 2021-06-29 09:15:50 -05:00
ergo720
e6650da541 Review remarks + some code cleanup 2021-06-25 21:58:14 +02:00
ergo720
efd9108279 Properly log device creation/destruction + untangle profile saving from slot connectivity 2021-06-24 13:24:35 +02:00
ergo720
3e60c31d26 Updated kernel file nt functions to support MUs + fixed bugs in xapi functions and input gui related to MUs 2021-06-24 13:24:34 +02:00
ergo720
88a786b700 Implemented MU support to xapi functions 2021-06-24 13:24:34 +02:00
ergo720
4cf90a6170 Updated xinput apis + fixed compiler errors 2021-06-24 13:24:34 +02:00
ergo720
2e9546a20a Added support to MUs to input manager 2021-06-24 13:24:33 +02:00
ergo720
9307f816ba Fixed some bugs in the mu handling of the gui + added XUnmountMU patch 2021-06-24 13:24:33 +02:00
ergo720
1d9dc0df2d Added support to mu to input gui 2021-06-24 13:24:33 +02:00
ergo720
1f404c57da Added support to mu to settings + created mu folders 2021-06-24 13:24:33 +02:00
ergo720
309db8cdae Fixed a crash in Halo 2 on debug builds 2021-06-24 13:08:06 +02:00
Margen67
a69a985651 Raise max resolution scale to 12x 2021-06-21 22:14:43 -10:00
RadWolfie
4d2a59d737 add missing and sort changed values from logging config 2021-06-19 18:46:41 -05:00
RadWolfie
af43500c1a move non-lle work done from chihiro to upstream 2021-06-19 18:46:41 -05:00
literalmente-game
ee9ba1cacb
Typo fixes
Fixing some typos with the "Clear Cache Partitions" error message
2021-06-19 13:34:58 -03:00
PatrickvL
23c1dcf1c9
Merge pull request #2237 from jackchentwkh/3D_mip_map_fix
fixing 3D mip-map conversion with volume texture, fix Halo
2021-06-12 10:21:46 +02:00
ergo720
c4d75368a5 return status_invalid_handle when it cannot find the requested section 2021-06-11 12:17:41 +02:00
ergo720
d847580881 Added support to load dsp images from xbe sections 2021-06-10 19:39:42 +02:00
ergo720
98a44aa47d Removed unused dwBytesRead variable and unused argument from XB_InitializeObjectAttributes macro 2021-06-10 12:22:22 +02:00
jackchentwkh
f003c11260 typo fix 2021-06-10 15:35:56 +08:00
jackchentwkh
55e45e728e using correct 3D mip map dimention sizes in all 3 dimensions, and calculate correct source size.
this fix Halo, get in game.
2021-06-10 11:37:27 +08:00
Luke Usher
ba9ee5fd2f
Merge pull request #2234 from jackchentwkh/DSoundBufferResizeSetSize_fix
Implement ImageDesc, fix vector iterator in DSStream packet, this fixs Otogi1, PGR2.
2021-06-08 07:16:37 +01:00
jackchentwkh
fa1f4d4c50 Make sure packet iterator is validate after DSStream_Packet_Clear() calls erase().
this fixs debug builds with PGR2
2021-06-08 07:14:11 +08:00
jackchentwkh
ea55dfa45d remove extra space in end of line, replace tabs with spaces. 2021-06-08 07:14:11 +08:00
jackchentwkh
6bb0234dc8 Fix DSoundBufferResizeSetSize with DSBuffer creation failure when remained hos buffer bytes is less then DSBSIZE_MIN, also correct a wrongly used argument with call to DSound3DBufferCreate. add more sanity checks. this fixs PGR2, now release build can enter the race. but debug build has different issue with vector/iterator. 2021-06-08 07:14:11 +08:00
Anthony
fa0a114e0c Fix passthru not passing through all components
Previous behaviour aligned with ps_1_3 texcoord, where alpha = 1
but appears to be incorrect.
Note ps_1_4 texcrd leaves alpha undefined
Fixes Metal Arms menu clouds
2021-06-07 10:59:36 +02:00
PatrickvL
a8fae55299 Fix HLSL PS bump environment mapping (most of the research done by medieval, thanks!) 2021-06-07 10:59:35 +02:00
PatrickvL
c03b2ed151 Fix DolphinClassic sample, by not making fogDepth absolute (thanks NZJenkins!)
(This bug was introduced with PR #2163, based on some misleading code in xqemu, to cater for what now appear to be non-supported fog modes on NV2A.)
2021-06-07 10:59:35 +02:00
PatrickvL
061e38af6f HLSL Pixel Shader tweaks;
Fully declare stages, to avoid "error X4000: variable 'stages' used without having been completely initialized"
Add alphakill support to fixed function
Use macro-based alphakill declaration in template (same as in fixed function)
Updated comments to differentiate between texture stage and combiner stage
Rename st into ts (texture stage) where appropriate
Fixed a typo in Brdf macro (was s1, must be ts now)
Updated Reflect to use C0 (uppercase, instead of lowercase host c0)
Initialized stage to zero for use in the C0 macro, now used Reflect
Fixed type of CombinerOutputMapping to actualle be PS_COMBINEROUTPUT_OUTPUTMAPPING
Introduced and used varios PS_*_MASK defines
Added some comments on pixel shader verification and test-case discovery.
2021-06-07 10:59:35 +02:00
Anthony
d46abef9a1 Redefine undefined ALPHAOP behaviour for Crash WoC
To aid debugging add a LOG_TEST_CASE , and include ALPHAARGs when ALPHAOP is disabled
2021-06-07 10:59:34 +02:00
Anthony
3da5b9f5d9 Include debug comment about how the final combiner hlsl was generated
Make hasFinalCombiner correspond to DecodedHasFinalCombiner
2021-06-07 10:59:34 +02:00
Anthony
a29c2f7d62 Force VS to write to oFog.x
Default fog factor to 1 (no fog)
2021-06-07 10:59:33 +02:00
Anthony
d8c18cf268 Mask flags when detecting colorarg1 + missing texture case 2021-06-07 10:59:33 +02:00
Anthony
6bf2a1f44f Reuse colorOp variable
And additional comments
2021-06-07 10:59:32 +02:00
Anthony
ce7a5f6e40 Fix GTA III logos
Depending on ALPHAOP == DISABLE
2021-06-07 10:59:32 +02:00
Anthony
5aaadd026c Implement missing texture behaviour 2021-06-07 10:59:32 +02:00
Anthony
990a24292d Fix reflection equation
Improve BumpDemo
2021-06-07 10:59:31 +02:00
Anthony
85f792d2b2 Fix DOTPRODUCT3 texture op
Improves PerPixelLighting
2021-06-07 10:59:31 +02:00
Anthony
2f9558d307 Use SAMPLE_NONE instead of IsTextureSet 2021-06-07 10:59:30 +02:00
Anthony
814b040ff1 Normalize the values returned by the texture state converter 2021-06-07 10:59:30 +02:00