Commit Graph
39166 Commits
Author SHA1 Message Date
Henrik Rydgård 708ea740d2 Merge pull request #11094 from unknownbrackets/ctrl-minor
Ctrl: Always mark non-user buttons released.
2018-06-06 20:15:23 +02:00
Henrik Rydgård 3d12f9acc2 Merge pull request #11132 from unknownbrackets/reporting
Reporting: Provide suggestions on negative compat reports
2018-06-06 20:14:58 +02:00
Henrik Rydgård 67fec95c59 Merge pull request #11145 from unknownbrackets/qt-texreplace
Qt: Load texture replacement images
2018-06-06 20:14:33 +02:00
Henrik Rydgård 347721f200 Merge pull request #10981 from unknownbrackets/flat-shade
Use software transform for flat shading and fix colors
2018-06-06 19:05:54 +02:00
Henrik Rydgård 46683c514c Merge pull request #11097 from unknownbrackets/sas-minor
Sas: Correct delay in playing samples
2018-06-06 18:54:03 +02:00
Henrik Rydgård f7d7aee58e Merge pull request #11130 from unknownbrackets/qt-debugger
Remove Qt debugger
2018-06-06 18:40:48 +02:00
Unknown W. Brackets f0be2d5f88 UI: Quit sorting when done.
This will prevent keeping the gameInfo objects alive unnecessarily.
2018-06-06 18:39:21 +02:00
Unknown W. Brackets 4fb606839c UI: Add option to sort saves by size.
It may be slow with many saves, but it's also very useful.  It doesn't
seem too bad as an option.
2018-06-06 18:39:21 +02:00
Unknown W. Brackets 88c40442e3 Merge pull request #10920 from hrydgard/opengl-default-gpu-amd
OpenGL: Similar to NvOptimusEnablement, use AmdPowerXPressRequestHighPerformance
2018-06-06 09:19:12 -04:00
Unknown W. Brackets 191af89195 Merge pull request #11107 from jbeich/cityhash
Unbreak -march=native build on x86
2018-06-06 09:18:16 -04:00
Unknown W. Brackets 289928a170 Sas: Correct calculation of VAG end.
Not sure why everything is negative one indexed, but this prevents reading
beyond the size of the buffer.

This shouldn't change sound output, but it may fix a crash if VAG is at
the edge of memory (unlikely, though.)
2018-06-06 06:08:31 -07:00
Unknown W. Brackets b56e3e8e94 Sas: Correct delay in playing samples.
We still need to walk during the delay to "use it up."  Need to test more
to see if we can just walk once directly into ATTACK - might depend on
pitch.

This also makes the first play ignore the resampleHist, which matches
samples to tests properly, and ignores linear interp for exact pitch.

These changes fix all the sascore tests that used to work.
2018-06-06 06:04:25 -07:00
Unknown W. Brackets 082ddf5120 json: Switch to gason instead of vjson.
From the same author.  Most importantly, reads numbers as doubles rather
than as signed ints and floats.  This allows us to actually read 32 bit
unsigned int parameters.

Moved all the native customization to a separate json_reader.cpp.
2018-06-06 05:59:35 -07:00
Unknown W. Brackets b56249eec1 json: Avoid encoding inf/nan in JSON.
It doesn't support them.  The common workaround is to use null.
2018-06-06 05:59:34 -07:00
Unknown W. Brackets 2e3021da0c json: Be precise by default. 2018-06-06 05:59:34 -07:00
Unknown W. Brackets b658130924 json: Fix formatting of nested arrays/objects. 2018-06-06 05:59:34 -07:00
Unknown W. Brackets 03cc4eab01 json: Allow formatting read json back to writer. 2018-06-06 05:59:34 -07:00
Unknown W. Brackets fb876e78c0 json: Actually include in build. 2018-06-06 05:59:33 -07:00
Unknown W. Brackets dfef902cdb json: Escape strings in the json writer. 2018-06-06 05:59:33 -07:00
Unknown W. Brackets e21753bc93 Debugger: Add assembler to build. 2018-06-06 05:59:24 -07:00
Unknown W. Brackets 9aad4dc848 GE Debugger: Cleaned repetition in spline preview. 2018-06-06 05:59:14 -07:00
Unknown W. Brackets 1829902171 GE Debugger: Show bezier/spline in preview.
Ignoring some things about normals and colors since they don't matter.
2018-06-06 05:59:14 -07:00
Unknown W. Brackets 5b95de663e net: Listen on ipv6 and ipv4.
Hurray, no longer "part of the problem" for ipv4.
2018-06-06 05:59:07 -07:00
Unknown W. Brackets 30a07c2e8d net: Support local ipv6 formatting.
Let's hope no platform has issues with inet_ntop...
2018-06-06 05:59:07 -07:00
Unknown W. Brackets ca4340b9e0 net: Support ipv6 lookups.
We try to connect() to both, so should still be safe in environments where
ipv6 is broken.
2018-06-06 05:59:07 -07:00
Unknown W. Brackets 6fbd0e27bb Core: Remove some unused coreState funcs. 2018-06-06 05:58:50 -07:00
Unknown W. Brackets 6e02771591 UI: Use UISTATE_PAUSEMENU while game still running. 2018-06-06 05:58:50 -07:00
Unknown W. Brackets 0f84c2e995 Debugger: Consistently handle invalid addresses. 2018-06-06 05:58:49 -07:00
Unknown W. Brackets 0b8359fd77 Debugger: Add mutexing to disassembly manager.
It was crashing when accessing from another thread.

If in the future we go down to only the remote debugger, we could
potentially remove this.
2018-06-06 05:58:49 -07:00
Unknown W. Brackets e313a9bf6c Debugger: Lock startup/shutdown for threadsafety.
Otherwise things can get freed while we're trying to inspect them.
2018-06-06 05:58:49 -07:00
Unknown W. Brackets 77609bbea2 Debugger: Track a counter when entering stepping.
This allows us to poll coreState and know if a new stepping needs to be
sent.  This is useful to allow e.g. regs to show changes per step.
2018-06-06 05:58:49 -07:00
Unknown W. Brackets e9cc1ee463 Debugger: Allow multiple clients more properly.
Otherwise we lose wakeups and hang.
2018-06-06 05:58:49 -07:00
Unknown W. Brackets ec398cbb1f Qt Debugger: Remove texture viewer.
No longer worked anyway.  Being replaced by WebSocket debugger.
2018-06-06 05:58:10 -07:00
Unknown W. Brackets cf33e852ef Qt Debugger: Remove memory viewer.
Being replaced by WebSocket based debugger.
2018-06-06 05:58:10 -07:00
Unknown W. Brackets 28cabd578a Qt Debugger: Remove display list debugger.
Being replaced with WebSocket based debugger.  Was disabled and not
working anyway, and hardcoded some GL so a barrier to Vulkan.
2018-06-06 05:58:10 -07:00
Unknown W. Brackets c3213ade25 Qt Debugger: Remove disassembly.
Being replaced by WebSocket based debugger which is better maintained.
2018-06-06 05:58:09 -07:00
Unknown W. Brackets 18f0168b63 Qt Debugger: Remove VFPU dialog.
Being replaced by new WeBsocket based debugger with better maintenance.
2018-06-06 05:58:09 -07:00
Unknown W. Brackets 360e28f971 Qt: Fix build on Mac. 2018-06-06 05:58:09 -07:00
Unknown W. Brackets ef08c81a6f Qt: Mark git-version.cpp to skip automoc.
Fixes #10829.
2018-06-06 05:58:09 -07:00
Unknown W. Brackets fcabc319e1 Qt: Load texture replacement images.
Still doesn't save, but at least it can use packs.
2018-06-06 05:57:26 -07:00
Unknown W. Brackets 4f93b1d136 GLES: Removed unused skip copy code.
Now it was just making the buffer larger for no reason.  Before, it
allowed us to skip the convBuf copy.
2018-06-06 05:56:30 -07:00
Unknown W. Brackets 2f859425a8 GPU: Use unordered_map for tempFBOs. 2018-06-06 05:56:30 -07:00
Unknown W. Brackets 8f354e5312 GPU: Minor framebuffer code cleanup. 2018-06-06 05:56:30 -07:00
Unknown W. Brackets ad0b8435ca D3D9: Reuse BGRA conversion code.
Also, couldn't have been right to skip it when the pointers equal, not
sure if that case was ever being hit.
2018-06-06 05:56:30 -07:00
Unknown W. Brackets 2ab1552f2d D3D9: Use an unordered_map for offscreen.
Also cleanup.  Mostly just for consistent usage.
2018-06-06 05:56:30 -07:00
Unknown W. Brackets e90b01d9ac thin3d: Convert BGRA8888 to RGB888 for screenshots.
In case we prefer BGRA for some buffer in Vulkan.  Also reporting.
2018-06-06 05:56:29 -07:00
Unknown W. Brackets 7c8780bfb6 GPU: Remove some unused code. 2018-06-06 05:56:29 -07:00
Unknown W. Brackets cb0838f86f Reporting: Fix typo. 2018-06-06 05:55:31 -07:00
Unknown W. Brackets 4cbfb4aa98 Reporting: Provide suggestions on negative reports.
Based on other reports, try suggesting settings to change or actions to
take.  Fairly rudimentary currently.
2018-06-06 05:55:31 -07:00
Unknown W. Brackets 890dfa4682 UI: Show compat rating radios next to each other.
When there's space, let's show them horizontally.  It's easier to see them
all.  See #11129.
2018-06-06 05:55:31 -07:00