Commit Graph

7574 Commits

Author SHA1 Message Date
Unknown W. Brackets
60378dd59d Atrac: Hack to make seeking in GTA work. 2015-10-17 16:20:26 -07:00
Unknown W. Brackets
0e8d3d9c56 Fix leak in FFmpeg codec ctx usage.
Turns out we were leaking these here too.
2015-10-17 16:20:25 -07:00
Unknown W. Brackets
7d32876610 Atrac: Cleanup FFmpeg context ptr management. 2015-10-17 16:20:25 -07:00
Unknown W. Brackets
b47458eabb Atrac: fix loading certain savestates.
Some worked with it that high, but others not.
2015-10-17 16:20:24 -07:00
Unknown W. Brackets
5177f16c8d Atrac: Use constants for the states, more clarity. 2015-10-17 16:20:23 -07:00
Unknown W. Brackets
310aa6ed47 Atrac: Remove avio helpers. 2015-10-17 16:20:22 -07:00
Unknown W. Brackets
6420b679d4 Atrac: Split out low-level packet handling.
So we don't have the hack in the other code at all.
2015-10-17 16:20:22 -07:00
Unknown W. Brackets
5174f7df69 Atrac: Read in the jointStereo flag for ATRAC3. 2015-10-17 16:20:21 -07:00
Unknown W. Brackets
27a10bc49f Atrac: Fix AA3 dataOff value.
Note: will still be wrong in savestates...
2015-10-17 16:20:20 -07:00
Unknown W. Brackets
7d0dd0b94a Atrac: Stop using avio/avformat entirely.
Probably breaks AA3 support at this point...
2015-10-17 16:20:20 -07:00
Unknown W. Brackets
2037977292 Revert compatibility flag for GTA Music Hack.
This reverts commit eb4ca0cf81.
2015-10-17 16:20:19 -07:00
Lioncash
fea7428fdb Core: Add missing override specifiers 2015-10-17 02:58:02 -04:00
Henrik Rydgård
27a124dcff Merge pull request #8043 from sum2012/modules---
Allocate memory better  by @unknownbrackets
2015-10-14 21:18:00 +02:00
Henrik Rydgård
953f712e3a Merge pull request #8065 from hrydgard/shader-view
Add new shader viewing tool
2015-10-14 19:05:24 +02:00
Henrik Rydgård
f7b3e5e693 Merge pull request #7922 from hrydgard/fragshader-depth-round
WIP: Alternative to #7920: Round depth in the fragment shader.
2015-10-14 18:36:05 +02:00
Henrik Rydgard
7f4e473e8c Add new shader viewing tool 2015-10-14 18:10:21 +02:00
Unknown W. Brackets
4e7c59daae Fix minor typo. 2015-10-12 22:14:14 -07:00
Unknown W. Brackets
679b64ef5a Atrac: calculate instead of using header value map.
These are knowable values, so there's no real benefit to a static table
except potentially error detection.
2015-10-12 22:10:35 -07:00
Unknown W. Brackets
e3254e05f6 Clean up a bit of logging. 2015-10-13 04:24:44 +08:00
Unknown W. Brackets
4aa8c35950 Removed unused code to return fake module id.
We already allocate modules now.
2015-10-13 04:24:38 +08:00
Henrik Rydgard
65b78b18ea Only enable fragment shader depth rounding for Heroes Phantasia, should reduce flicker.
Doens't fix but helps #6485
2015-10-11 20:52:00 +02:00
Henrik Rydgard
39145252e3 Windows: Add the ability to turn on GL_ARB_debug_output via a hidden config option 2015-10-11 11:52:40 +02:00
Henrik Rydgard
92f7f459dc Not safe to change the rounding mode function pointer in GenerateCode 2015-10-10 16:46:07 +02:00
Henrik Rydgard
65ee3723d3 ARM64: Don't update currentRoundingFunc unless necessary. 2015-10-10 14:33:01 +02:00
Henrik Rydgard
70239f1611 Fix another rounding bug. ARM64 passes the fpu test again. 2015-10-10 13:30:30 +02:00
Henrik Rydgard
a6294f3e2d Now the three backends actually do the same thing with rounding. Fixes a bug in the x86 backend, too. 2015-10-10 13:11:38 +02:00
Henrik Rydgard
1ddb508542 Improve x86 disassembly (a few symbols) 2015-10-10 13:05:17 +02:00
Henrik Rydgard
30555f31ca ARM64 typo fix. Add a couple of worrying comments... 2015-10-10 11:56:59 +02:00
Henrik Rydgard
8914cd9914 ARM64 disassembler improvements (show many kinds of branch targets properly) 2015-10-10 11:27:28 +02:00
Henrik Rydgard
d628b9b57b Minor fixes, mostly comments 2015-10-10 10:03:34 +02:00
sum2012
5f7cbc9603 Crash fix by @hrydgard 2015-10-09 20:10:57 +08:00
Unknown W. Brackets
5b9a506b82 Remove the cheat address hack for Gods Eater Burst.
It's wrong now.  Although the memory is still not being allocated exactly
the same, it's much closer.
2015-10-09 20:08:15 +08:00
Unknown W. Brackets
5fe49b23e9 Reschedule on module load/unload more correctly. 2015-10-09 20:08:11 +08:00
Unknown W. Brackets
cc92d6fb34 Allocate for utility modules, handle dependencies. 2015-10-09 20:08:07 +08:00
Unknown W. Brackets
ecd5062617 Leave free space for alignment "holes" in mem.
This allows other, small allocates to fit in these spaces, which happens
in some games (like Gods Eater Burst.)
2015-10-09 20:08:02 +08:00
Henrik Rydgard
b2b5f3424f Fix for 32-bit ARM 2015-10-08 23:11:57 +02:00
Henrik Rydgard
7fee5abf9f x86/x64: Don't use a separate code block for pregenerated functions, just like on ARM 2015-10-08 22:15:28 +02:00
Henrik Rydgard
c41baab747 Pregenerate code to handle rounding mode switches. This time, for all three cores. 2015-10-08 19:58:37 +02:00
Henrik Rydgard
b7725c4f40 Remove empty header files 2015-10-08 18:54:33 +02:00
Henrik Rydgard
8a3c96a413 ARM64: Don't need to avoid destroying SCRATCH1 in these functions. 2015-10-08 14:54:43 +02:00
Henrik Rydgard
bfed830f91 Remove the ability to disable rounding mode support. It's time. 2015-10-08 14:54:42 +02:00
Henrik Rydgard
6dd86cd843 Get rid of the ForceFlushToZero hidden config option 2015-10-08 14:54:41 +02:00
Henrik Rydgard
42ce836ba5 Some minor renames and cleanups 2015-10-08 14:43:16 +02:00
Henrik Rydgard
5f4145238a Fix #8034. Cannot leave IMMs or REGIMM in statically allocated registers after a FlushAll. 2015-10-08 14:39:21 +02:00
Henrik Rydgård
371e7ab880 Minor #define removal 2015-10-06 19:17:29 +02:00
Henrik Rydgard
490d8be4df Some cleanup, enable CRT memory tracker in debug builds 2015-10-04 14:11:34 +02:00
Henrik Rydgard
68fc776fa7 Work around some crashes I got trying to load a GTA:LCS savestate from 2014.
However, the savestate still loads to a black screen, although background audio is working.
2015-10-04 10:34:15 +02:00
Henrik Rydgard
eb4ca0cf81 Add a compatibility flag to revert sceAtrac to before #6976. Makes audio work in GTA again.
Hopefully we will find a better fix in the future.

Also see issue #7863.
2015-09-27 11:51:46 +02:00
Henrik Rydgard
d6a370a4c4 Add comments to compat.ini, System.cpp 2015-09-27 01:23:21 +02:00
Henrik Rydgard
b07b002040 Introduce "Compatibility Flags".
These should be used very restrictively, see comment in Compatibility.h.

Should help #8004, by disabling depth rounding in Fight Night round 3.
2015-09-27 01:23:20 +02:00