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
Henrik Rydgård
0fd4ea8826
Merge pull request #11176 from jbeich/ffmpeg
...
Work around video corruption with system FFmpeg >= 3.1
2018-06-13 14:52:20 +02:00
Jan Beich
7a7c655615
MediaEngine: adjust for AVStream.codec deprecation
2018-06-13 11:52:18 +00:00
Unknown W. Brackets
582bc2d60a
GE Debugger: Stall less liberally on GE dump exec.
...
This makes it easier to compare performance and flushing bugs.
2018-06-11 15:14:18 -07:00
Unknown W. Brackets
f7443aaa15
GE Debugger: Use a class for dump execution.
2018-06-11 15:06:40 -07:00
Unknown W. Brackets
ccef997a7a
GE Debugger: Fix asserts when reading debug tex.
...
This is unfortunate, but right now BuildTexture() applies the sampling
settings which happen within a render pass. So we must have a render
pass.
2018-06-11 14:56:25 -07: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
Henrik Rydgård
e98ea812f6
Merge pull request #10973 from weihuoya/cullmode
...
handle cull mode by indices, refer to issue #10172
2018-06-10 20:53:18 +02:00
Henrik Rydgård
6c494c3849
Merge pull request #11164 from unknownbrackets/debugger
...
Fix a few warnings seen using debugger in debug mode
2018-06-10 08:53:12 +02:00
Unknown W. Brackets
1cfb21931d
Vulkan: Properly transition stencil/depth for read.
...
Need to transition the entire texture, so both aspects must be set.
2018-06-09 18:27:29 -07:00
Unknown W. Brackets
cd85dec01b
Debugger: Prevent infinite loop on dead socket.
...
If send() fails, abort instead of retrying forever.
2018-06-09 18:26:41 -07: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
9be20323ef
SDL: Start with window hidden.
...
This fixes start in fullscreen on Mac. Otherwise, it animates to
fullscreen and back for every GL init attempt.
2018-06-09 16:57:00 -07:00
Unknown W. Brackets
34cef82ea3
SDL: Use UpdateScreenScale().
2018-06-09 16:50:31 -07:00
Unknown W. Brackets
b3c21517b0
Qt: Allow for larger screen sizes.
2018-06-09 16:36:41 -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
82b6cda5ef
Qt: Return correct refresh rate.
...
Although, should probably update it if the screen changes, meh.
2018-06-09 16:36:41 -07:00
Unknown W. Brackets
9d96e6579c
Merge pull request #10909 from unknownbrackets/debugger
...
WebSocket based debugger interface
2018-06-09 15:37:06 -04:00
Henrik Rydgård
6884751e25
Merge pull request #11162 from unknownbrackets/qt-resources
...
Fix resource handling on Qt and use Roboto
2018-06-09 21:15:39 +02:00
Unknown W. Brackets
cc1fa20afb
Qt: Use Roboto Condensed like on other platforms.
...
May improve font fallback issues in #7581 .
2018-06-09 11:36:00 -07:00
Unknown W. Brackets
a676721683
Qt: Remove bundled assets reader.
...
It was no longer being used or linked, so it just meant the assets were missing.
With this removed, the assets (lang inis, shaders, etc.) are available again.
Fixes #9831 - likely broken since #9061 , which stopped using the qrc.
2018-06-09 10:47:53 -07:00
Unknown W. Brackets
085bcde865
Debugger: Ignore invalid branches.
...
These happen on bytes that are not actually code.
2018-06-08 06:59:18 -07:00
Unknown W. Brackets
25085fa394
Debugger: Add func name and data symbol to disasm.
2018-06-08 06:59:18 -07:00
Unknown W. Brackets
b114656321
Debugger: Allow conditions on threadID/moduleID.
...
And now step over/out/into can tie to the correct thread.
2018-06-08 06:59:18 -07:00
Unknown W. Brackets
a863ce79ad
Debugger: Allow stepping based on thread.
2018-06-08 06:59:18 -07:00
Unknown W. Brackets
b828497fe2
Debugger: Avoid some lock ordering issues.
...
Ideally get rid of the memory lock...
2018-06-08 06:59:18 -07:00
Unknown W. Brackets
5bfba9b284
Debugger: Add HLE API funcs.
...
Lumping function symbols in here too, they're pretty related...
2018-06-08 06:59:18 -07:00
Unknown W. Brackets
5670fc03ae
Debugger: Add debug interfaces for threads.
...
This way we can switch context.
2018-06-08 06:59:18 -07:00
Unknown W. Brackets
3193772e78
Debugger: Use a lock for memory reallocs.
...
Simpler this way, no need to remember to lock memory.
2018-06-08 06:59:18 -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
29d93c56c7
Debugger: Initial breakpoint APIs.
2018-06-08 06:59:18 -07:00
Unknown W. Brackets
18dcea4cdc
Debugger: Disasm search API.
2018-06-08 06:59:18 -07:00
Unknown W. Brackets
22940f0393
Debugger: Avoid asserts in disassembly.
2018-06-08 06:59:18 -07:00
Unknown W. Brackets
6cf24b34fc
Debugger: Add thread safety to breakpoints.
2018-06-08 06:59:18 -07:00
Unknown W. Brackets
5b132c904a
Debugger: Fix resume not skipping breakpoints.
2018-06-08 06:59:18 -07:00
Unknown W. Brackets
65feb5f09c
Debugger: Include assembler API.
2018-06-08 06:59:18 -07:00
Unknown W. Brackets
2f3b6c19d0
Debugger: Poll frequently after stepping.
...
This will make us listen for events slightly less often, so we don't want
to sustain it.
2018-06-08 06:59:17 -07:00
Unknown W. Brackets
fc8ad3b47b
json: Optimize writing a bit.
...
This improves the responsiveness of certain APIs.
2018-06-08 06:59:17 -07:00
Unknown W. Brackets
ccea863f00
Debugger: Use fragments for long chunks.
...
Gets it on the wire faster. More importantly, this allows us to usually
avoid rampant memory allocation even for large responses.
2018-06-08 06:59:17 -07:00
Unknown W. Brackets
e746a2d106
Debugger: Add stepping to WebSocket API.
2018-06-08 06:59:17 -07:00
Unknown W. Brackets
f66738eac7
Debugger: Add cpu.evaluate method.
...
Probably useful for a bunch of things, really.
2018-06-08 06:59:17 -07:00
Unknown W. Brackets
8a0e02e223
Debugger: Prevent crazy disasm range.
...
Also add some documentation.
2018-06-08 06:59:17 -07:00
Unknown W. Brackets
1c107308cd
Debugger: Add additional encoding/symbol info.
2018-06-08 06:59:17 -07:00
Unknown W. Brackets
944948a5f4
Debugger: Initial disasm API.
2018-06-08 06:59:17 -07:00
Unknown W. Brackets
4da97b3f9e
Debugger: Lock during startup/shutdown.
...
Otherwise things can get freed while we're trying to inspect them.
2018-06-08 06:59:17 -07:00
Unknown W. Brackets
b756d92139
Debugger: Add version event for future proofing.
...
Game isn't precisely right, but it's close enough.
2018-06-08 06:59:17 -07:00
Unknown W. Brackets
05c560b52d
Debugger: Include PC and ticks in stepping events.
2018-06-08 06:59:17 -07:00
Unknown W. Brackets
3dac5f2103
Debugger: Add current game info.
2018-06-08 06:59:17 -07:00