2345 Commits

Author SHA1 Message Date
Unknown W. Brackets
1233d1d376 Reporting: Disable when debugger methods used.
This won't catch all means of hacking memory, but will catch some.
Trying to reduce noise in reporting from debugging.
2022-07-30 18:21:32 -07:00
Henrik Rydgård
063cd18254 Simplify CPU upscaling code
Use the existing expandTo32bit mode in the texture decoder instead of
the backend-specific switches and stuff.

Just gets rid of a bunch of redundant code and makes further changes
easier.
2022-07-30 15:06:25 +02:00
Henrik Rydgård
762e26df83 Windows: Add a simple window message to get the base pointer.
Can be useful for various cheat program hackery. Requested by several,
most recently NABN00B.
2022-07-29 15:49:19 +02:00
Henrik Rydgård
d3d601dced Windows fixes 2022-07-24 13:58:20 +02:00
Henrik Rydgård
a831cab14c
Remove unmotivated check preventing texture ini creation on mobile. (#15647)
* Remove unmotivated check preventing  texture ini creation on mobile.

Fixes #15644

* Show a "toast" message on platforms that don't support opening a text editor, when you try to create/open a texture ini file.

* Avoid the need to ifdef around calls to SystemToast

* UWP buildfix (and some warning fixes).

And possibly libretro fix

* Rename for a bit more consistency
2022-07-10 22:34:44 +02:00
Unknown W. Brackets
6e1457e3bf UWP: Skip pad name lookup. 2022-07-04 19:14:05 -07:00
Unknown W. Brackets
536c050943 Core: Track names of connected pad devices.
Rather than just that it's a pad.  This tries to get the identifier if
possible.
2022-07-04 19:14:04 -07:00
Unknown W. Brackets
3edf6ab0fa Config: Don't save --fullscreen unless changed.
This makes --fullscreen and --windowed temporary by using a separate
setting.  If the setting is changed explicitly, it begins saving it again.
2022-05-28 15:47:12 -07:00
Henrik Rydgård
858539c5b0
Merge pull request #15402 from unknownbrackets/debugger-highlight
GE Debugger: Highlight changed state values
2022-02-13 21:42:43 +01:00
Unknown W. Brackets
957e15f23a GE Debugger: Highlight changed matrix values. 2022-02-13 10:53:01 -08:00
Unknown W. Brackets
8ffef9dd1e GE Debugger: Highlight changed state values.
This way it's easy to tell while stepping what is different.  Especially
useful in the watch tab.
2022-02-13 10:52:41 -08:00
Unknown W. Brackets
b654ee9d44 Debugger: Allow custom draw and generic lists. 2022-02-13 10:22:38 -08:00
Unknown W. Brackets
ea6c42aafb Debugger: Avoid scroll on breakpoint add. 2022-02-13 07:57:54 -08:00
Unknown W. Brackets
9435938ad9 Debugger: Cleanup some header pollution.
Also simplify just a bit.
2022-02-13 07:55:34 -08:00
Henrik Rydgård
21736d1ab4
Merge pull request #15392 from unknownbrackets/debugger-memview
Make debugger memory search more consistent
2022-02-11 08:39:01 +01:00
Unknown W. Brackets
d1c642982b Debugger: Improve memory search result draw speed. 2022-02-10 20:40:02 -08:00
Unknown W. Brackets
d583720f2b Debugger: Search scratchpad/ram/vram consistently. 2022-02-10 20:39:29 -08:00
Unknown W. Brackets
6064b77356 GE Debugger: Correct icon list cleanup on shutdown. 2022-02-09 20:50:04 -08:00
Unknown W. Brackets
c66619f7c9 GE Debugger: Add filter to skip prim calls.
This allows you to cut prims from the scene as desired.
2022-02-06 21:25:33 -08:00
Unknown W. Brackets
459bb83c23 GE Debugger: Allow modify/breakpoint on matrix. 2022-02-06 00:16:35 -08:00
Unknown W. Brackets
72b2fbf635 GE Debugger: Cleanup right click on state.
Oops, was toggling breakpoint on "Change..." if you right clicked the
icon.
2022-02-05 19:27:28 -08:00
Unknown W. Brackets
9f434fa14d GE Debugger: Allow setting secondary values.
This makes it convenient to update the bufw of textures or similar.
2022-02-05 19:27:28 -08:00
Unknown W. Brackets
1bb1f34af0 GE Debugger: Add breakpoint icon in state. 2022-02-05 19:27:28 -08:00
Unknown W. Brackets
4de217d3e4 GE Debugger: Cleanup vertex list redraw.
When you're scrolled down and it deletes items, it was previously
scrolling up an extra step, and not redrawing.  This tries to force
workaround the bug.
2022-02-05 19:27:28 -08:00
Unknown W. Brackets
2479d52202 Global: Reduce includes of common headers.
In many places, string, map, or Common.h were included but not needed.
2022-01-30 16:35:33 -08:00
Unknown W. Brackets
7e814decc7 Headless: Improve total test time on Windows.
This improves it by almost 40%.
2022-01-30 08:27:22 -08:00
Unknown W. Brackets
eb95b99523 GE Debugger: Add option to auto flush.
This makes it easier to see what's happening in each draw.
2022-01-22 13:12:59 -08:00
Unknown W. Brackets
b840eec290 GE Debugger: Cut down on primary buttons.
Most of these are not commonly used, and it makes the interface feel a bit
cluttered.
2022-01-22 12:01:10 -08:00
Unknown W. Brackets
a4a72ed7c1 GE Debugger: Add a menu to the GE debugger window.
This will allow adding more features without making the UI a mess.
2022-01-22 12:01:07 -08:00
Cameron Cawley
26203552b4 Use System_GetPropertyInt to report the keyboard layout 2022-01-10 00:11:08 +00:00
Unknown W. Brackets
a397bf811b UI: Fix some sign/size comparison warnings.
Mostly size_t vs int.
2022-01-06 20:40:29 -08:00
Unknown W. Brackets
85b7b221be Debugger: Correct delayed symbol listbox updates.
With the dialogs no longer created on start, this message wasn't coming
through.
2021-12-31 09:10:40 -08:00
Unknown W. Brackets
7fe9c4e519 Debugger: Debounce updates to disasm text.
This is a bit slow, so deferring it improves update speed.
2021-12-12 11:57:24 -08:00
Unknown W. Brackets
045fc0f2b4 Debugger: Never wait inactive on window update.
This blocks the UI, and we always get a message when stepping is actually
active anyway.  More importantly, we PostMessage() debugger state, so we
might've already resumed.
2021-12-12 11:36:06 -08:00
Unknown W. Brackets
db2eddcf27 Debugger: Remove double debug window updates.
Core_EnableStepping() is already marking the debug windows for update,
there's no need to call SetDebugMode() again.
2021-12-12 11:24:03 -08:00
Unknown W. Brackets
c57e5b081d Debugger: Debounce list control updates. 2021-12-12 11:03:19 -08:00
Unknown W. Brackets
e7e5d031b2 Debugger: Fix crash on ill-timed breakpoint update. 2021-12-12 10:49:38 -08:00
Unknown W. Brackets
de1a6a93d8 Debugger: Debounce redraws using timers. 2021-12-12 10:22:21 -08:00
Unknown W. Brackets
b8ab7f39df jit: Lock around changes to the jit pointer. 2021-11-28 10:04:22 -08:00
Unknown W. Brackets
96c1ae0f12 Debugger: Fix crash on stepping/break. 2021-11-14 09:31:43 -08:00
Henrik Rydgård
42bc9066ee Add shortcut for content_uri and native paths in CleanRecent. Saves 150ms. 2021-11-13 22:47:29 +01:00
Henrik Rydgård
fc26beca4b Also delay-load the VFPU dialog, just because 2021-11-13 22:24:30 +01:00
Henrik Rydgård
c004e9ca9d Windows debugger: Load the dialogs on demand.
I think this is especially good for the Ge dialog since we now can avoid
initializing that extra GL context unless you open the dialog.
2021-11-13 22:10:37 +01:00
Unknown W. Brackets
2bd13c5d9d Debugger: Track reason for entering stepping. 2021-10-23 16:56:15 -07:00
Henrik Rydgård
11eb5fa0c2
Merge pull request #15002 from unknownbrackets/ui-open-memstick
UI: Add button to show memstick folder
2021-10-19 19:55:30 +02:00
Unknown W. Brackets
8e15f755e6 UI: Add a sysprop for if the device has a keyboard.
Still left some ifdefs because of System_InputBoxGetString(), but
hopefully we can move away from them.  Some devices (like SDL) may only
optionally have a keyboard, so it's a runtime check.
2021-10-19 10:01:52 -07:00
Unknown W. Brackets
8d29aa6590 Windows: Switch to preferred file selection method.
It seems like the previous may not support long paths.
2021-10-19 10:01:27 -07:00
Unknown W. Brackets
183b0c3b49 Windows: Pause from menu shouldn't affect Break.
They're separate states, and pausing can be done now without break.
2021-10-12 20:47:14 -07:00
Unknown W. Brackets
09f4e82aa7 Debugger: Keep pop up menus to ContextMenu only. 2021-10-07 19:53:40 -07:00
Unknown W. Brackets
39d3b4d933 Debugger: Centralize context menu handling.
This deduplicates a bit, but more importantly keeps all the IDs together.
2021-10-07 19:48:13 -07:00