Unknown W. Brackets
2374696d65
Debugger: Show vector load/store previews.
2023-04-09 11:09:36 -07:00
Unknown W. Brackets
f31a7a0582
Debugger: Update VFPU dialog more evenly.
...
Was previously not updating when you hit a breakpoint, stepped out, etc.
2023-04-09 10:12:54 -07:00
Unknown W. Brackets
be8a173026
Debugger: Clear button flags on lost focus.
...
This mouse tracking is kinda ugly. This works around an issue where when
you removed a custom condition, the highlight would stick as if you were
dragging.
2023-04-09 10:11:37 -07:00
Henrik Rydgård
b4c766f756
Merge pull request #17256 from unknownbrackets/debugger-watch
...
Debugger: Add named watch expressions
2023-04-09 10:23:25 +02:00
Unknown W. Brackets
99bdb4f18a
Debugger: Periodically refresh watches to be safe.
2023-04-09 00:52:03 -07:00
Unknown W. Brackets
c0fc2e65e0
Debugger: Highlight changed watches.
2023-04-09 00:47:36 -07:00
Unknown W. Brackets
85a071568c
Debugger: Allow adding/removing watches.
2023-04-09 00:35:37 -07:00
Unknown W. Brackets
879e91dbf6
Debugger: Add empty watch tab for debugger.
...
Currently, there's nothing shown here.
2023-04-09 00:01:42 -07:00
Unknown W. Brackets
f708ab2965
Debugger: Add delete breakpoint to context menu.
2023-04-08 23:29:59 -07:00
Henrik Rydgård
12bd0ed26d
Restore the shared_ptrs
2023-04-07 10:35:01 +02:00
Henrik Rydgård
ee6234ecb6
I18N: Switch to getting categories by index instead of by string lookup
...
Also gets rid of the shared_ptr usage, and generally makes things nicer.
Needed for later config refactorings, good to get in early.
2023-04-07 10:35:01 +02:00
Henrik Rydgård
8f96ec371e
Rename iBufFilter -> iDisplayFilter
2023-04-05 09:34:18 +02:00
Henrik Rydgård
d996fb74d4
MSVC: Set language standard to c++17.
...
Noticed that we were getting some new warnings after merging the
constexpr stuff.
2023-04-02 17:55:15 +02:00
Henrik Rydgård
d1e21ab896
Fix return value from control mapper Key. Fixes volume key issue on Android.
2023-04-02 10:41:26 +02:00
Henrik Rydgård
c1b5aed9b7
Cleanup, confine g_controllerMap access to KeyMap.cpp
2023-04-01 20:28:42 +02:00
Henrik Rydgård
0e1c42ce70
Plumb multimappings all the way through.
2023-04-01 13:50:57 +02:00
Henrik Rydgård
3c9e968ca0
Merge pull request #17206 from unknownbrackets/debugger
...
Debugger: Fix memory viewer, inverted check
2023-03-29 08:07:39 +02:00
Unknown W. Brackets
a4d13d5f75
Debugger: Fix memory viewer, inverted check.
2023-03-28 22:52:01 -07:00
Nemoumbra
4a54409f09
Added new option "Copy Float (32 bit)" to Windows Debugger UI
2023-03-28 13:18:20 +03:00
Unknown W. Brackets
441c940fa9
UI: Remove some unnecessary Host.h includes.
2023-03-25 17:19:21 -07:00
Unknown W. Brackets
55c8b5b601
Windows: Save console position on shutdown.
2023-03-25 17:12:44 -07:00
Unknown W. Brackets
089580d09a
Windows: Always detach request threads.
...
No point having a global if it's always detached after use.
2023-03-25 17:12:44 -07:00
Henrik Rydgård
9a6a23110b
Fix controller polling when there's no Host. Fixes #17187
2023-03-26 00:33:07 +01:00
Henrik Rydgård
d586ec0d5e
Don't create Host objects except in headless/unittest
2023-03-25 10:47:01 +01:00
Henrik Rydgård
7d0eac730f
Remove WindowsHost
2023-03-25 10:43:00 +01:00
Henrik Rydgård
143f499d11
Remove a few of the Host implementations
2023-03-25 10:37:49 +01:00
Henrik Rydgård
9e125eeba7
Remove NotifyUserMessage from Host
2023-03-25 10:32:09 +01:00
Henrik Rydgård
7c5cc8cafd
And ToggleDebugConsoleVisibility.
2023-03-24 21:43:45 +01:00
Henrik Rydgård
56c26eef4d
Remove the old AsyncFileDialog thingy
2023-03-24 21:32:20 +01:00
Henrik Rydgård
a73ac49d59
Move the non-working "Create desktop shortcut" stuff to the request framework
2023-03-24 20:05:48 +01:00
Henrik Rydgård
e71be8af2e
Remove PollControllers from host. Break out a WindowsInputManager from WindowsHost.
2023-03-24 19:57:24 +01:00
Henrik Rydgård
5a5779dcd6
Remove symbol-map related functions from Host
2023-03-24 18:08:31 +01:00
Henrik Rydgård
5af92cfca0
Cleanup
2023-03-24 17:52:56 +01:00
Henrik Rydgård
1250692657
Convert host->SetWindowTitle to a request
2023-03-24 17:52:01 +01:00
Henrik Rydgård
a5fdf3d05b
Add samplerate argument to NativeMix
2023-03-24 14:48:53 +01:00
Henrik Rydgård
21bd50dcb0
Remove polling requirement from DSound audio backend
...
Might as well sleep for a short period instead, same effect really.
2023-03-24 10:40:10 +01:00
Henrik Rydgård
e21867315b
Fix browsing for Cheat DB files. Easy now after the refactor!
2023-03-23 10:18:21 +01:00
Henrik Rydgård
b440e28e38
Remove System_SendMessage!
...
iOS, Qt buildfixes
2023-03-22 23:52:51 +01:00
Henrik Rydgård
5a55fd5fd3
And replace "graphics_restart", "toggle_fullscreen", etc
2023-03-22 23:52:15 +01:00
Henrik Rydgård
410b35fba3
Get rid of "finish" and "setclipboardtext" messages, replace with requests.
2023-03-22 22:17:26 +01:00
Henrik Rydgård
b7350f3cbf
Fix folder browser on Android and Windows
2023-03-22 19:25:35 +01:00
Henrik Rydgård
70f0ac04af
Port the file browser spawned by the Load button to the new request stuff
2023-03-22 15:36:14 +01:00
Henrik Rydgård
47ae31e293
Minor cleanups, drive-by fix for folder browser on iOS
2023-03-22 15:36:14 +01:00
Henrik Rydgård
e9f5394f59
Move the Windows open file dialog to the new system, switch the background image selector over.
2023-03-22 14:53:07 +01:00
Henrik Rydgård
de064e210e
Replace the inputbox queue with a more generic RequestManager.
2023-03-22 12:41:11 +01:00
Henrik Rydgård
3852d4f698
Make a little system to replace the InputBox message queue with something more generic
2023-03-22 11:35:57 +01:00
Henrik Rydgård
94debfbf36
Rename screenManager to g_screenManager, readme update
2023-03-22 09:44:44 +01:00
Henrik Rydgård
47f063550a
Remove InitGraphics/ShutdownGraphics from Host, except for headless
2023-03-21 22:47:20 +01:00
Henrik Rydgård
2786786c9f
Avoid Host in Windows graphics init
2023-03-21 14:07:27 +01:00
Henrik Rydgård
f5472ba0d8
Cleanup up unnecessary audio init functions
2023-03-21 13:39:02 +01:00
Henrik Rydgård
f60f5ccaea
Move SetDebugMode notification
2023-03-21 13:39:00 +01:00
Henrik Rydgård
fc1732cc22
Move NotifySwitchUMDUpdated
2023-03-21 13:37:19 +01:00
Henrik Rydgård
c92a4acb40
Move NotifySymbolMapUpdated to System_Notify
2023-03-21 13:37:19 +01:00
Henrik Rydgård
dda8635c89
Move three notifications out of Host
2023-03-21 13:37:19 +01:00
Henrik Rydgård
06fcc9ccd7
Add System_Notify
2023-03-21 13:37:16 +01:00
Henrik Rydgård
ac5855cdf8
Remove CanCreateShortcut function
2023-03-21 12:23:01 +01:00
Henrik Rydgård
d3955b42bb
Rename some system functions, merge the Launch* ones.
...
android launchurl buildfix
2023-03-21 12:22:59 +01:00
Henrik Rydgård
a9eaa4fdc8
Get rid of an ifdef
2023-03-21 10:24:36 +01:00
Unknown W. Brackets
6bf5827407
Windows: Fix small atom leak.
2023-03-15 22:02:36 -07:00
Henrik Rydgård
53172eff63
Renaming and file splitting
2023-03-06 16:42:50 +01:00
Henrik Rydgård
3b39e9e068
Turn the VFS into a class, to be able to reuse it for other purposes.
2023-03-06 16:42:47 +01:00
Henrik Rydgård
82097b4a3b
Implement NopInstruction feature in debugger
...
See #16975
2023-03-02 14:30:53 +01:00
Henrik Rydgård
f55782558c
Debugger: Copy Address will now copy addresses for the whole selection
2023-03-02 13:59:07 +01:00
Henrik Rydgård
8b431b39ba
Wrap the display globals in a struct ( #16998 )
...
* Wrap the display globals in a struct
Makes it easier to search/replace these, for future refactorings.
* Some renaming
* Qt buildfix, also fix the Qt build on Mac (got broken with battery changes)
* Attempt at buildfixing ios
* UWP buildfix
2023-02-25 13:09:44 +01:00
Nemoumbra
aab4a3034c
Added new MainWindow menu item "copy PSP memory base pointer"
2023-02-24 23:54:45 +03:00
Nemoumbra
c6b44cd5d7
Update gitignore
2023-02-24 23:44:32 +03:00
Unknown W. Brackets
cbc1ed4bfe
Debugger: Lock memory during stack walk.
...
In case of shutdown during it.
2023-02-22 21:14:33 -08:00
Henrik Rydgård
d65dae7185
Depth scale functions: Clean up the naming, add a failing test
2023-02-10 14:57:45 +01:00
Henrik Rydgård
6f9d6c6c5f
New version of WM_USER_GET_BASE_POINTER
2023-02-06 13:49:00 +01:00
Sergey P
bf2cabb82c
merge from upstream
2023-02-01 13:33:07 +03:00
Henrik Rydgård
e0db28899c
Windows: Correct menu bar when dark mode is off
2023-02-01 00:05:40 +01:00
Henrik Rydgård
599bfed1b8
Merge pull request #16878 from hrydgard/selective-restore-to-default
...
Restore settings to default - let you choose what to reset
2023-01-31 23:10:00 +01:00
Henrik Rydgård
79e4a3d345
Windows: Clamp the reported refresh rate to 60, experiment for problem from #16725
2023-01-31 20:41:12 +01:00
Henrik Rydgård
c554f4e2b6
Allow restoring only settings, recents or controls to defaults.
...
Fixes #16381 , though could make even more granular later.
The only translation change was deleting one sentence from a longer
string - used Google Translate to assist me in removing the correct part
for a few of them, most were obvious. Hope they're all right.
2023-01-31 18:56:18 +01:00
Henrik Rydgård
c8dce81ff0
Merge pull request #16156 from hrydgard/opengl-thread-refactor
...
OpenGL threading refactor
2023-01-31 11:14:01 +01:00
Henrik Rydgård
b04dd81cba
Merge pull request #16704 from hrydgard/darkmode
...
Windows Dark Mode: initial support
2023-01-31 10:45:07 +01:00
Henrik Rydgård
cb16f193ec
Fix the problem. Still need to leave the loop with SDL even if we supply a swap function.
2023-01-30 15:45:05 +01:00
Henrik Rydgård
436a3e0d61
Cleaner exit from emuthread, as used by OpenGL. Don't know how it worked before...
2023-01-30 11:49:31 +01:00
Henrik Rydgård
b62572a78f
Refactor the framedata/GPU thread management.
2023-01-30 11:49:31 +01:00
Unknown W. Brackets
489411359e
Common: Add cpu_features library.
2023-01-29 14:35:58 -08:00
Henrik Rydgård
4287365411
Update URLs, fix feedback from #16851
2023-01-29 00:25:27 +01:00
Serena
30f6296767
Remove some Windows + Qt stuff + meow
2023-01-27 19:12:41 +03:00
Sergey P
91aa6ad608
merge from upstream
2023-01-26 14:50:09 +03:00
Henrik Rydgård
b4a91dbce5
Disable dark mode in disasm window, and the scrollbar hack
2023-01-12 01:05:06 +01:00
Henrik Rydgård
3c0a5e4c4c
Fix the white line
2023-01-12 01:01:03 +01:00
Henrik Rydgård
8037eaa456
Further dark magic, no pun intended. Now for the menu bar.
2023-01-12 00:41:25 +01:00
Henrik Rydgård
62e5a5dfc3
Rudimentary support for Windows Dark Mode. Still undocumented for Win32 apps, so ugly.
2023-01-12 00:41:25 +01:00
Henrik Rydgård
3bb260784c
Merge pull request #16725 from hrydgard/windows-ui-refresh-rate
...
Windows: Adjust window sleep interval in idle menus to refresh rate
2023-01-05 13:26:27 +01:00
Henrik Rydgård
14f45e3b44
Check for valid fields calling EnumDisplaySettings
2023-01-05 13:07:36 +01:00
Unknown W. Brackets
88489bf4cc
Debugger: Fix out of bounds read for unsized copy.
2023-01-04 21:42:46 -08:00
Henrik Rydgård
e37be42a6c
Windows: Adjust window sleep interval in idle menus to refresh rate
...
For smoother scroll animations if you have a high refresh rate monitor.
2023-01-04 16:33:00 +01:00
Henrik Rydgård
d750ffbc6b
Merge pull request #16701 from unknownbrackets/debugger-memview
...
Debugger: Allow copy of byte range from memview
2023-01-04 10:03:29 +01:00
Henrik Rydgård
ae99b797d7
Remove some bad float suffixes
2023-01-02 22:30:01 +01:00
Unknown W. Brackets
7c099dc764
Debugger: Allow copy of byte range from memview.
2023-01-01 23:02:12 -08:00
Unknown W. Brackets
bba748d627
Debugger: Handle memview select right click better.
...
Shouldn't reset if you click inside. Also should basically ignore
modifiers, that's how it normally behaves.
2023-01-01 22:49:04 -08:00
Unknown W. Brackets
a7101b128f
Debugger: Allow memview select with keyboard.
2023-01-01 22:37:53 -08:00
Unknown W. Brackets
f66818ba80
Debugger: Allow selecting a range in memory view.
2023-01-01 22:28:29 -08:00
Unknown W. Brackets
f8064c6763
Debugger: Cleanup memview members.
...
Was fairly inconsistent. This code has not changed a lot in a long time,
so let's just do a single cleanup pass before some changes.
2023-01-01 21:47:39 -08:00
Henrik Rydgård
40386bca08
Merge pull request #16688 from unknownbrackets/debugger
...
Debugger: Correct check of pending list item
2022-12-31 19:39:28 +01:00
Unknown W. Brackets
bfc659ab5f
Debugger: Correct check of pending list item.
...
Since updating is async now, setting the check state should be too.
2022-12-31 09:58:24 -08:00
Unknown W. Brackets
94a7a32234
Debugger: Correct errors in breakpoint create.
2022-12-30 15:07:02 -08:00
Unknown W. Brackets
49f6c461ad
Reporting: Fix some header includes.
...
Particularly in Common, avoid including Core/Reporting.h.
2022-12-27 14:58:20 -08:00
Henrik Rydgård
8b0fc95489
Windows: Stop input device before main thread.
...
Appears to help an occasional shutdown crash.
2022-12-27 10:31:54 +01:00
Henrik Rydgård
e209227be1
Delete dead code path (initialize EGL from C++ on Android)
2022-12-20 23:17:51 +01:00
Unknown W. Brackets
15908856dd
Build: Cleanup MSVC project files.
...
Remove some files that don't exist anymore, add some other platform
files for convenience.
2022-12-19 10:13:43 -08:00
Henrik Rydgård
a8985d8dda
Windows: Fix shutdown order (stop the main thread before the window gets destroyed)
2022-12-11 10:02:21 +01:00
Unknown W. Brackets
1810692236
Global: Cleanup some type/range checks.
2022-12-10 21:13:37 -08:00
Unknown W. Brackets
9cfcbc46e6
Global: Cleanup initialization/pointer checks.
...
Cleaning up a lot of cases of uninitialized data, unchecked return values
for failures, and similar.
2022-12-10 21:13:36 -08:00
Unknown W. Brackets
a7b7bf7826
Global: Set many read-only params as const.
...
This makes what they do and which args to use clearer, if nothing else.
2022-12-10 21:13:36 -08:00
Unknown W. Brackets
f44852bb18
Global: Cleanup virtual/override specifiers.
...
Also missing virtual destructors, hidden non-overrides, etc.
2022-12-10 21:13:36 -08:00
Henrik Rydgård
4ec1e2a175
Some minor initialization fixes, and one potential crash found by static analysis
2022-12-10 11:28:19 +01:00
Henrik Rydgård
8bd6621c40
Remove postprocessing option from desktop menu (doesn't support multi-shader)
2022-12-07 11:57:28 +01:00
ThirteenAG
6206908a9e
mouse delta fix
2022-12-05 15:14:14 +03:00
ThirteenAG
5e5bffc808
remade into GET_AXIS/GET_VKEY apis
2022-12-05 14:46:00 +03:00
ThirteenAG
37dc8c3e49
compilation workaround
2022-12-05 02:10:27 +03:00
Henrik Rydgård
a87cf02dbf
Rename "Display layout editor" to "Display Layout && Effects"
2022-11-24 22:43:49 +01:00
Henrik Rydgård
d73196c7d6
Split up the GPU config change notifications
2022-11-21 15:14:20 +01:00
Henrik Rydgård
41c812651d
Merge pull request #16347 from unknownbrackets/softgpu-skin
...
Always skin in decode for software transform and rendering
2022-11-06 20:21:02 +01:00
Henrik Rydgård
519db766b6
Change "Rendering Mode" to just a "Skip buffer effects" checkbox. Reuse translations.
2022-11-06 19:26:56 +01:00
Unknown W. Brackets
66472c39ce
GPU: Use skinned position always in bounding check.
...
Meanwhile, move to a flag on decoder options instead of global check.
2022-11-06 08:23:31 -08:00
Henrik Rydgård
fb250c4b29
More multiview work
2022-10-27 11:05:58 +02:00
Unknown W. Brackets
299033929a
GE Debugger: List verts on bounding box command.
2022-10-22 16:05:29 -07:00
Unknown W. Brackets
1b5e5e2556
Windows: Improve reporting of WASAPI errors.
2022-10-15 21:23:49 -07:00
Unknown W. Brackets
416265431b
GE Debugger: Display if tex is framebuf.
...
Rather than guessing based on size, let's show explicitly.
2022-10-10 22:35:42 -07:00
Unknown W. Brackets
a4bd0af3f2
GE Debugger: Use a modern GL context.
...
Note: still a separate context from Draw, since it's drawn to an entirely
separate window.
This stops RenderDoc from getting angry.
2022-10-10 22:13:16 -07:00
Unknown W. Brackets
fb6b2514f2
GE Debugger: Remove ancient unecessary GL calls.
2022-10-10 21:59:54 -07:00
Unknown W. Brackets
6a5824031d
Windows: Retain log console on graphics restart.
...
It's a small thing but I always use -l and it annoys me when I restart.
2022-10-09 21:42:04 -07:00
Unknown W. Brackets
4d5e6f53bb
GE Debugger: Reset on shutdown.
...
Previously, it kept showing the last frame, which made it seem like it was
still stepping.
2022-10-09 21:25:20 -07:00
Herman Semenov
29b87e0c0b
Merge branch 'master' into master
2022-10-03 07:49:13 +00:00
Unknown W. Brackets
ac335ad61a
armips: Update to UTF-8/c++17 armips.
2022-09-30 19:48:14 -07:00
lainon
3cdf72b68b
Better readability and optimization insertion into container by replacing 'insert' -> 'emplace', 'push_back' -> 'emplace_back'
2022-09-30 12:35:28 +03:00
lainon
b304551747
Code readability, vec reserve() and remove excess c_str()
2022-09-30 12:31:32 +03:00
lainon
fec708489a
Correct cleaning string and remove unused vars
2022-09-30 12:26:30 +03:00
Henrik Rydgård
f8f52565b9
Remove redundant call to SetMenu
2022-09-29 21:36:20 +02:00
Henrik Rydgård
d31f129407
Add hidden ini file setting that you can use to hide the menu bar.
...
Windows-only. Useful together with some video recording software.
Might make some actual UI later.
2022-09-29 18:51:21 +02:00
Henrik Rydgård
9c63973c9a
Minor debugger fix
2022-09-26 11:21:40 +02:00
Unknown W. Brackets
19970df430
GE Debugger: Add option to track pixel in preview.
2022-09-24 12:23:02 -07:00
Unknown W. Brackets
3cc628beb4
GE Debugger: Copy images optionally with alpha.
...
Although, lots of apps don't support this.
2022-09-24 11:43:52 -07:00
Unknown W. Brackets
f3722faef4
GE Debugger: Add a direct copy for preview images.
2022-09-24 10:05:41 -07:00
Unknown W. Brackets
0e6c90bc28
GE Debugger: Default auto flush enabled.
...
It seems like it's usually what one would want, you can disable for
debugging state issues.
2022-09-21 21:16:56 -07:00
Unknown W. Brackets
e727570fae
Windows: Normalize paths for OpenDirectory().
...
This was making GE frame dumps not automatically browse when run from MSVC
debugging by default, because of the relative path.
2022-09-19 08:30:57 -07:00
Unknown W. Brackets
a0b44c52b8
GE Debugger: Allow search by state name.
...
Since adding breakpoint as the first column, the default search behavior
stopped working. This restores it, searching for any matching column.
2022-09-18 10:49:32 -07:00
Henrik Rydgård
242efba6f7
Remove splitSubmit setting. Now we submit init commands before the acquire.
2022-09-17 01:07:30 +02:00
Unknown W. Brackets
123d6dbb11
GE Debugger: Correct confusing block transfer size.
2022-09-10 20:17:54 -07:00
Unknown W. Brackets
c200aa6f4b
GE Debugger: Correct cond break removal warnings.
...
Oops, they were just always confirming.
2022-09-10 08:52:50 -07:00
Unknown W. Brackets
531c7e452d
GE Debugger: Count imm prims as prims.
2022-09-06 18:55:25 -07:00
Unknown W. Brackets
f14e49a373
GE Debugger: Add conditions to cmd breakpoints.
2022-09-05 17:33:54 -07:00
Unknown W. Brackets
0b30b723bb
GE Debugger: Add address breakpoint conditions.
2022-09-05 17:33:54 -07:00
Unknown W. Brackets
f595299fe5
GE Debugger: Allow expressions for goto address.
2022-09-05 17:33:54 -07:00
Unknown W. Brackets
a901fa4315
GE Debugger: Add separate step based on vsync.
...
I think there were some games where this would step in the middle of a
frame, but not seeing it commonly now. So make it the default, but allow
both methods in the menu.
Fixes #15893 .
2022-08-23 19:48:34 -07:00
Unknown W. Brackets
01bfb88f15
GE Debugger: Correct 16-bit CLUT display.
2022-08-20 15:51:46 -07:00
Unknown W. Brackets
2eed8c9f19
Merge pull request #15851 from hrydgard/ge-record-open-explorer
...
After recording a GE dump, open an explorer window pointing at the file
2022-08-16 20:32:17 -07:00
Henrik Rydgård
2f3cad9964
After recording a GE dump, open an explorer window pointing at the file
2022-08-16 21:54:36 +02:00
Henrik Rydgård
d0cdb360fd
Remove the DX9 namespace, for consistency with the other backends
2022-08-16 21:49:16 +02:00
Unknown W. Brackets
6fad5463d0
GE Debugger: Save tab configuration.
2022-08-14 11:42:04 -07:00
Unknown W. Brackets
2a4443b85e
GE Debugger: Cleanup duplicate dlist redraws.
...
It's still not redrawing properly on resize, but it tries to...
2022-08-14 11:26:37 -07:00
Unknown W. Brackets
8390867019
GE Debugger: Correct tab updating for right panel.
2022-08-14 11:23:56 -07:00
Unknown W. Brackets
6272f3e1d6
GE Debugger: Actually allow swapping tabs.
2022-08-14 10:57:31 -07:00
Unknown W. Brackets
49679c6a50
GE Debugger: Add context menu to control tabs.
...
Crurent non-functional, but shows up for the correct tab.
2022-08-14 10:20:53 -07:00
Unknown W. Brackets
5958943e23
GE Debugger: Show/hide tabs if empty.
2022-08-14 09:34:01 -07:00
Unknown W. Brackets
2a0f23665f
GE Debugger: Track tabs per panel.
2022-08-14 09:23:18 -07:00
Henrik Rydgård
60b2b1db5f
Move the display list view to its own column on the right
2022-08-14 11:26:51 +02:00
Henrik Rydgård
5993864d8f
Add plain Create method to CtrlDisplayListView
2022-08-14 11:15:07 +02:00
Henrik Rydgård
9c3e00aa08
Add a second set of tabs to the Windows GE debugger. Also reorder stuff.
2022-08-14 10:43:30 +02:00
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
Henrik Rydgård
ce91798b27
Merge pull request #14983 from unknownbrackets/debugger-menus
...
Debugger: Fix submenu offsets from removing unused
2021-10-07 16:40:52 +02:00
Unknown W. Brackets
58238abef5
Debugger: Fix submenu offsets from removing unused.
...
The wrong menus were showing in several places, especially the GE
debugger.
2021-10-07 07:04:33 -07:00
Unknown W. Brackets
f7607316ab
Windows: Remove UI for auto texture scaling.
...
Functionality removed in 887f610
.
2021-10-05 19:33:33 -07:00
Unknown W. Brackets
47fb9b44bd
Windows: Update copyright year.
2021-10-03 06:53:58 -07:00
Unknown W. Brackets
d8198ae3c2
Debugger: Implement goto in disasm for memory view.
...
This had been in the menu for a while, but not working.
2021-10-03 06:53:58 -07:00
Unknown W. Brackets
882c22aa79
Windows: Remove some unused constants.
2021-10-03 06:53:58 -07:00
Unknown W. Brackets
ee8dd8b747
Windows: Remove some old and outdated files.
...
These aren't being used.
2021-10-03 06:17:33 -07:00
Henrik Rydgård
992ad801e7
Add a crude way to blacklist post/texture shaders from certain vendors.
...
Use it to work around #14530 for now.
2021-09-28 23:39:52 +02:00
Unknown W. Brackets
75f5c75045
Windows: Disable auto-enable chat on Ctrl-C.
...
It's annoying when this triggers unexpectedly. Sometimes it happens when
using debug windows.
2021-09-15 00:15:27 -07:00
Henrik Rydgård
1df31e9304
Fix windows menus for the new tex filtering options.
2021-09-05 23:54:41 +02:00
Henrik Rydgård
6b76bcf070
Add new texture filtering "Auto Max Quality" that tweaks texture filtering for best quality.
...
It does this by enforcing mipmapping and minification filters, and
always autogenerates mipmaps and enforces anisotropic filtering for all
modes (if that's separately enabled).
This looks nice and flicker free in most games without any additional
tweaking, including GTA and Burnout which have long been painfully
flickery in the distance due to undersampling.
Needs a bit more testing before merge, maybe.
Fixes #13888
2021-09-03 00:14:58 +02:00
Unknown W. Brackets
e7666e472f
KeyMap: Simplify UI updates.
...
Better to avoid tightly coupled notifications of updates.
2021-08-29 08:02:52 -07:00
Unknown W. Brackets
82087ccbb7
Common: Reduce some log levels.
...
Take off a few messages during startup and shutdown.
2021-08-28 09:14:53 -07:00
Henrik Rydgård
b6228a1036
Add additional autoconf layout for xbox pads on Android. Revert the normal pad layout.
2021-08-28 15:38:03 +02:00
Henrik Rydgård
928bc88b01
Rename Unthrottle to Fast-forward globally
2021-08-18 09:28:13 +02:00
Henrik Rydgård
4f6ae0b322
Merge pull request #14700 from unknownbrackets/win-warnings
...
Windows: Avoid deprecated functions
2021-08-09 12:53:04 +02:00
Unknown W. Brackets
75eeb55617
UI: Use a UIState for exceptions.
...
This makes it so we can enable Stop/Reset/etc. during them in the menus.
2021-08-08 23:40:41 -07:00
Unknown W. Brackets
ba520120ab
Windows: Avoid deprecated functions.
2021-08-07 15:50:13 -07:00
Henrik Rydgård
64dbd97731
Address feedback
2021-08-04 23:22:43 +02:00
Henrik Rydgård
15f3269338
Implement the option for auto audio devices switching for Windows too
...
(previously SDL-only)
2021-07-18 00:07:05 +02:00
Henrik Rydgård
828036f87b
WASAPI: Survive switching to a mono device. Fixes #14591
...
It's a little flaky whether it tries to switch or not, but you can at
least use Windows' device selector to switch back and forth.
Should maybe also add an option to not follow the default device... Not
sure.
2021-07-10 01:22:34 +02:00
Yifan Gu
633a6f612b
Refactor and unify analog input settings
2021-07-05 12:38:46 +02:00
Henrik Rydgård
e3cf04bb34
Implement file filters for Android in PathBrowser
...
asdf
Move Android file listing parsing logic into app-android.cpp.
Add utility for parsing/writing Android Content Storage URIs.
Fix some bugs. Allow upwards navigation in file browser from directories downstream from tree URIs.
2021-06-07 00:24:51 +02:00
Henrik Rydgård
239838b6c3
Remove the ability to have multiple search paths for config.
2021-05-30 12:45:12 +02:00
Henrik Rydgård
72915f88c8
Config: Remove the use of multiple search paths.
2021-05-30 12:39:16 +02:00
Unknown W. Brackets
e1e5a8b49b
UI: Ignore duplicate axis events.
...
We already ignore these on Windows, so this makes other platforms follow
the same logic.
2021-05-23 13:21:45 -07:00
Unknown W. Brackets
f2b2f26e8e
Common: Use Path for GetExeDirectory().
2021-05-15 11:12:54 -07:00
Unknown W. Brackets
7b175627b3
VFS: Use Path for DirectoryAssetReader.
2021-05-15 11:12:04 -07:00
Unknown W. Brackets
2558022afe
Config: Move data path settings to Paths.
2021-05-15 11:11:37 -07:00
Unknown W. Brackets
b74ecd5fa0
SaveState: Use Path instead of strings.
2021-05-14 23:00:22 -07:00
Unknown W. Brackets
c03e68c996
Debugger: Simplify symbol map filename build.
2021-05-14 22:48:32 -07:00
Henrik Rydgård
2e16e83159
It never ends...
2021-05-13 10:39:16 +02:00
Henrik Rydgård
025bcb1673
Introduce Path, start using it all over the place.
...
Still lots left to convert!
Convert GetSysDirectory to return Path.
More buildfixing
Remove unnecessary Path( constructors
2021-05-13 10:39:16 +02:00
Unknown W. Brackets
8544bd0c3e
Windows: Avoid C++ files for consistency.
...
There's already the mingw thing, and we're avoiding these for Android
paths too. Let's be consistent.
2021-05-09 17:00:48 -07:00
Unknown W. Brackets
8a8328c431
Common: Move ColorConv to a more appropriate place.
2021-05-01 11:20:05 -07:00
Henrik Rydgård
f4a6d291e1
Common: Capitalize setCurrentThreadName().
2021-04-30 23:02:36 -07:00