Commit Graph
23807 Commits
Author SHA1 Message Date
Unknown W. Brackets 5cc13c45f4 Atrac: Try to handle endSample more consistently.
Maybe we should offset currentSample by the firstSampleOffset instead?
2015-10-25 17:04:25 -07:00
Unknown W. Brackets e51891e9cd Atrac: Keep track of PSP-like buffer status.
This isn't correct yet, but tracking this much fixes looping of certain
audio.
2015-10-25 17:04:25 -07:00
Unknown W. Brackets 7e05d0db4b Atrac: Correct decode data when there's an offset. 2015-10-25 17:04:24 -07:00
Unknown W. Brackets e90f88a687 Atrac: Parse size and fact offset more correctly. 2015-10-25 17:04:24 -07:00
Unknown W. Brackets 2e5f8d687f Atrac: Validate loop end and return an error. 2015-10-25 17:04:23 -07:00
Unknown W. Brackets 9ea765a347 Atrac: Calculate total samples based on data chunk.
Not on the entire RIFF size, which will be (slightly) inflated.
2015-10-25 17:04:22 -07:00
Unknown W. Brackets ac56eff31c Atrac: Parse the smpl chunk more correctly.
Returns the same errors as the PSP.
2015-10-25 17:04:22 -07:00
Unknown W. Brackets 596ecdc431 Atrac: Allow data to extend outside RIFF size.
This seems technically incorrect, but it's allowed on the PSP, possibly
intentionally due to data shipped truncated by accident?
2015-10-25 17:04:21 -07:00
Unknown W. Brackets 522a1743f4 Atrac: Return an error if there's no data chunk. 2015-10-25 17:04:20 -07:00
Henrik Rydgård 05687e656a Merge pull request #8107 from joolswills/rpi_fix
fix building for rpi2 by disabling armv7.
2015-10-25 22:46:46 +01:00
Jools Wills e451cade69 fix building for rpi2 by disabling armv7.
added missing rpi include
correct cflags for rpi1/rpi2 (although rpi2 will build for armv6 for now)
only build Common/ColorConvNEON.cpp on armv7
2015-10-25 17:40:04 +00:00
Henrik Rydgård c14d1f7353 Merge pull request #8106 from unknownbrackets/hle-minor
Fix event flag clear on callback wait
2015-10-25 17:21:06 +01:00
Unknown W. Brackets 62629827ea Kernel: Clean up event flag logging, style. 2015-10-25 09:08:38 -07:00
Unknown W. Brackets 043891014d Add a simpler way to force on HLE logging. 2015-10-25 09:05:16 -07:00
Unknown W. Brackets d43247b8b8 Kernel: Act on wait clear for flags after callback. 2015-10-25 08:28:07 -07:00
Henrik Rydgård 437d7b80e3 Fix window resize/fullscreen ingame on Mac and other SDL builds 2015-10-25 11:19:41 +01:00
Unknown W. Brackets c41b981333 Oops, undelete shader bits for alpha test. 2015-10-24 23:05:18 -07:00
Unknown W. Brackets 97c568dca6 Tweak to shader desc. 2015-10-24 23:05:09 -07:00
Unknown W. Brackets 6b905e8e18 d3d9: Remove the old shader id gen. 2015-10-24 21:26:40 -07:00
Unknown W. Brackets 06f2c7f1fe Maintain hasTexcoord even for UV gen. 2015-10-24 21:26:12 -07:00
Unknown W. Brackets 5595d1278d Merge pull request #8103 from hrydgard/d3d-shader-id
D3D: Generate shaders from shader IDs, just like in GL
2015-10-24 21:19:34 -07:00
Henrik Rydgard 838e53f482 Delete disabled code to use built-in alpha test on DX9. 2015-10-25 01:26:38 +02:00
Henrik Rydgard 488aec1df4 Typo fix 2015-10-25 00:54:00 +02:00
Henrik Rydgard 56814ad52d SW skinning (ARM32, x86): Don't convert more bone matrices than necessary
Was already fixed on ARM64.
2015-10-25 00:51:47 +02:00
Henrik Rydgard 85229efef4 D3D9: Generate shaders directly from shader IDs, just like we do in GL. 2015-10-25 00:34:23 +02:00
Henrik Rydgard b86394d0a6 Minor bugfixes in vtx shader gen 2015-10-25 00:08:46 +02:00
Henrik Rydgard edafa9bc17 Centralize the GPU state conversion functions 2015-10-24 23:49:05 +02:00
Henrik Rydgard 92389a4966 Use a common ShaderId class. Start moving shader ID code to GPU/Common 2015-10-24 23:24:06 +02:00
Henrik Rydgard 67cd018aca Rename shader bits to not clash (this is preparation for other changes) 2015-10-24 23:09:28 +02:00
Henrik Rydgard 3c82dc1462 vtxshader: Don't enable full lighting if only shadeMapping is enabled. Should help #8071 2015-10-24 22:59:36 +02:00
Unknown W. Brackets f725453ae6 Sas: Report when revert is enabled. 2015-10-24 13:53:57 -07:00
Henrik Rydgård 4c0868448a Merge pull request #8102 from unknownbrackets/callbacks
Cleanup RETURN() in __KernelWaitCurThread()
2015-10-24 22:14:03 +02:00
Henrik Rydgård 9cffd40b39 Merge pull request #8101 from unknownbrackets/mix-minor
Make the vag block buffer s16
2015-10-24 22:13:23 +02:00
Unknown W. Brackets 9591db2daa Cleanup RETURN() in __KernelWaitCurThread().
This hasn't been needed for a while.
2015-10-24 13:11:07 -07:00
Unknown W. Brackets ec2d88cf17 Make the vag block buffer s16.
The values are clamped already, anyway.
2015-10-24 13:08:10 -07:00
Unknown W. Brackets f7fa0a06d4 Atrac: Reset the fileoffset only when adding data.
Otherwise, it's only a seek.  For example, a seek to 0, as commonly seen.
2015-10-24 10:37:14 -07:00
Unknown W. Brackets 8398ac7f77 Merge pull request #8100 from latot/master
Add missing include files to unittest
2015-10-24 09:40:40 -07:00
latot afeb012d04 Add missing include files to unittest 2015-10-24 13:24:05 -03:00
Henrik Rydgård e69a456713 Merge pull request #8095 from hrydgard/improve-x64-disasm
x64 disasm: properly symbolize rip-relative addresses
2015-10-24 13:29:57 +02:00
Henrik Rydgård 624d9003a3 Merge pull request #8096 from hrydgard/xiushudongfang-Combo-Key
Xiushudongfang's Combo Key, with some updates
2015-10-24 13:24:00 +02:00
xiushu 14e7658bbb Implement on-screen touch combo keys.
Replace A,B,cross1,square1,triangle1 with number images 1-6

Rebuild the atlas, update the code to use combo keys 1-5

Also add psp_display.png from pull request #8082.
2015-10-24 13:22:43 +02:00
Henrik Rydgard aa584d1992 x86 32-bit buildfix 2015-10-24 11:10:14 +02:00
Henrik Rydgård b890a5e573 Merge pull request #8092 from hrydgard/vertex-decoder-viewer
Make it possible to view vertex decoders through the shader viewing mechanism
2015-10-24 10:42:12 +02:00
Henrik Rydgard 6a373fe09a Make it possible to view vertex decoders through the shader viewing mechanism (even though they aren't strictly shaders, they fit the model). 2015-10-24 10:41:31 +02:00
Henrik Rydgard c63ed2f701 Improve vertex shader description 2015-10-24 10:41:14 +02:00
Henrik Rydgard b7db15225f x64 disasm: properly symbolize rip-relative addresses 2015-10-24 10:37:01 +02:00
Henrik Rydgård 5ebd7bf00d Merge pull request #8084 from unknownbrackets/hle-minor
Minor sceAtrac and sceUtility tweaks
2015-10-20 11:28:58 +02:00
Unknown W. Brackets 23c27d61df Improve an error return value. 2015-10-18 13:02:05 -07:00
Unknown W. Brackets cb99c9fc4a Prevent a warning when loading some utility mods. 2015-10-18 12:53:18 -07:00
Unknown W. Brackets d0a9813844 Account for uneven sized chunks by rounding up.
Chunks have an extra pad byte if the size is uneven.  This probably isn't
happening, but just to be safe.
2015-10-18 12:50:40 -07:00