Commit Graph

1916 Commits

Author SHA1 Message Date
Unknown W. Brackets
f1afc51994 GE Debugger: Refactor out stepping callback.
In case we have multiple connected debuggers, we don't want just a
callback.  A counter works fine.
2018-09-01 09:41:20 -07:00
Unknown W. Brackets
a4c0640f01 GE Debugger: Factor out host calls some.
Moving more of this to cross platform for the web debugger.
2018-09-01 08:32:03 -07:00
Henrik Rydgård
6f173b9134 Harmonize some VS project settings. 2018-08-14 22:41:39 +02:00
Henrik Rydgård
0684068c81
Merge pull request #11296 from hrydgard/discord-presence
Discord presence - show the current game
2018-08-14 08:40:09 +02:00
Henrik Rydgård
c0ba66cf3c Revert some of the sln and vcxproj changes, hoping to appease Travis 2018-08-13 23:08:46 +02:00
Henrik Rydgård
785858dbf8 Basic Discord presence integration. 2018-08-13 00:20:09 +02:00
Unknown W. Brackets
c32ffa1db0 GE Debugger: Rename depth clamp more places.
Was still showing clip enable in disasm.
2018-08-11 16:33:39 -07:00
Unknown W. Brackets
44be615cf5 GE Debugger: Arrange matrices properly.
They were all off before for 4x3.
2018-08-05 19:52:20 -07:00
Unknown W. Brackets
921727f163 GE Debugger: Fix preview crash.
In some cases on first draw (e.g. from a test), this might be null and
crash.  It was supposed to be the other program.
2018-08-05 17:12:46 -07:00
xebra
55b9daa736 GE Debugger:Fix indices memory allocation of bezier. 2018-06-27 01:25:08 +09:00
Henrik Rydgård
4cfc6ee272
Merge pull request #11187 from unknownbrackets/alt-speed
Add second alternate speed and buttons for alt speed
2018-06-24 13:41:12 +02:00
Unknown W. Brackets
95f270778e Core: Allow toggle between 2 custom speeds.
In addition to virtual keys for each speed separately.
2018-06-23 10:59:18 -07:00
Unknown W. Brackets
e2c217ab29 Core: More consistently use config enums. 2018-06-23 10:59:18 -07:00
Unknown W. Brackets
b4496f1975 Core: Move config enums to separate file.
These are a bit strewn about and there are constants that aren't
consistently used, which just adds confusion.
2018-06-23 10:59:18 -07:00
Unknown W. Brackets
265611cff5 Debugger: Use Break instead of Stop.
It does not stop emulation.
2018-06-23 10:54:40 -07:00
Unknown W. Brackets
0d4bd341e9 Windows: Separate Pause and Break actions.
It was confusing that "Pause" made PPSSPP appear to hang.

This has the side effect of making "Break on Load" work outside Windows.
2018-06-23 10:14:36 -07:00
Unknown W. Brackets
03edd6129a GLES: Cut down on use of USING_GLES2. 2018-06-17 20:51:34 -07:00
Henrik Rydgård
a9eb786811
Merge pull request #11181 from unknownbrackets/savestate
SaveState: Show warning on old / long use state
2018-06-16 17:45:58 +02:00
Unknown W. Brackets
a5efb85ab7 SaveState: Show warning on old / long use state.
Using save states instead of in game saves causes bugs in games, and
preserves bugs from bad settings and old PPSSPP versions.

This tells users when they might be affected.
2018-06-14 18:29:55 -07:00
Henrik Rydgård
e03aeba75e
Merge pull request #11171 from unknownbrackets/debugger
Fix some issues with GE dumps
2018-06-14 10:07:21 +02:00
Unknown W. Brackets
0ed2c03350 GE Debugger: Prevent hang on shutdown.
Since we're blocking the Emu thread, we can't use a hook from the Emu
thread to wake up.

The change to lifecycle callbacks caused this.
2018-06-11 14:54:42 -07:00
Henrik Rydgård
5c5fa8dabc
Merge pull request #11163 from unknownbrackets/qt-screen
Fix some SDL and Qt screen size weirdness
2018-06-10 20:54:36 +02:00
Unknown W. Brackets
4232ef59b4 Debugger: Fix bounds warnings in debug mode.
Technically these were accessing outside the container.
2018-06-09 18:26:09 -07:00
Unknown W. Brackets
a448ef536b Qt: Toggle fullscreen like on all other platforms. 2018-06-09 16:36:41 -07:00
Unknown W. Brackets
8598fc9912 Debugger: Add some missing memory locks.
We can restart memory when loading save states, so we need this even while
we've got startup/shutdown locked.
2018-06-08 06:59:18 -07:00
Unknown W. Brackets
b2cc4a0965 Debugger: Add memory breakpoint management. 2018-06-08 06:59:18 -07:00
Unknown W. Brackets
eb4b59b530 arm64jit: Enable breakpoints.
Memory breakpoints not yet really tested.
2018-06-06 17:31:56 -07:00
Henrik Rydgård
f9cfb05895
Merge pull request #10987 from unknownbrackets/debugger-core
Improve debugger threadsafety and consistency
2018-06-06 21:10:14 +02:00
Henrik Rydgård
9f1125ae33
Merge pull request #11078 from unknownbrackets/debugger-spline
GE Debugger: Show bezier/spline in preview
2018-06-06 20:40:10 +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
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
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
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
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
Henrik Rydgård
238521a297 Rename device choice config options as requested. 2018-06-06 10:24:16 +02:00
Henrik Rydgård
8ee3cd52e8 D3D11: Allow the user to select rendering device. 2018-06-06 10:20:12 +02:00
Henrik Rydgård
b037efdb55 If there are multiple Vulkan devices, show a setting to allow the user to choose. 2018-06-06 10:20:12 +02:00
Henrik Rydgård
3f7602227c Windows: If neither OpenGL nor D3D9 is available, offer an escape route into D3D11.
This does happen on some fresh Win10 installations.

We really should do something much nicer and more automatic, but that's for later.
2018-05-03 22:19:07 +02:00
Henrik Rydgård
2c0c693956 OpenGL: Similar to NvOptimusEnablement, use AmdPowerXPressRequestHighPerformance. 2018-04-15 08:41:02 +02:00
Henrik Rydgård
513ea72d5d OpenGL debug log: Filter out some buffer mapping info from the NV driver 2018-04-05 12:29:09 +02:00
Henrik Rydgård
01d81ffa72 OpenGL: Fix texture wrapping of render targets. 2018-03-28 11:23:41 +02:00
Henrik Rydgård
4a3692161b Show chosen postshader display name properly, plus some additional bugfixes. Fixes #10790 2018-03-25 14:42:48 +02:00
Henrik Rydgård
f9555da05b When listing post-shaders, use the "name" specified in the ini as default, when looking up translations. 2018-03-25 11:53:11 +02:00
Henrik Rydgård
b0a22fb5c7 Redirect the user to download the D3D9 runtime if D3D9 is not available and they don't want to switch to OpenGL.
Maybe should also update the messagebox text somehow...
2018-03-25 00:46:48 +01:00
aliaspider
f94e9b1e74 set _WIN32_WINNT to 0x0601 in stdafx.h 2018-03-23 22:54:12 +01:00
aliaspider
3fbb340450 fix most write-strings warning. 2018-03-23 04:21:46 +01:00