Commit Graph

8173 Commits

Author SHA1 Message Date
Stenzek 5f80cb1188
GPU/HW: Fix inaccurate shader progress counter 2024-09-21 22:26:05 +10:00
Stenzek b5df06a54a
GPU/HW: Rewrite automatic internal resolution selection
Make it aspect ratio aware, as well as updating when/if the game changes
resolution. Also include the padding area in the OSD/status resolution.
2024-09-21 22:26:05 +10:00
Stenzek e056bcb5ff
AudioStream: Fix incorrect padding 2024-09-21 22:26:05 +10:00
Stenzek 96ece5de1c
SmallString: MSVC warning fix 2024-09-19 22:25:35 +10:00
Stenzek 0538b95d9b
GPU/HW: Reduce number of shaders/pipelines in default config
~3x speedup in shader compile time on a cold cache.
2024-09-19 22:18:58 +10:00
Mrlinkwii a5cd3ee7a8
UI : remove issue tracker button 2024-09-19 21:35:21 +10:00
Marcin Mitura 64655818ed
feat: Polish localization updates 2024-09-18 22:35:54 +10:00
Stenzek 292c1e0f06
Misc: Normalize OSD message keys 2024-09-18 22:35:50 +10:00
Stenzek 369599202c
StringUtil: Speed up EncodeHex()/append_hex() 2024-09-18 21:42:46 +10:00
Stenzek 401295ebdb
Common: Allow PRINTFLIKE to work on Clang
And thus clang-cl.
2024-09-18 21:31:06 +10:00
Stenzek 8ba85d62dc
Pad: Fix stuck inputs after loading mismatched state pad type 2024-09-18 21:21:57 +10:00
Stenzek 8b67ed8536
CPU: Display loadstore offsets in hex
Also add 0x prefix to logical immediate operands, since it is printed
in hex, and normalize arithmetic operands.
2024-09-15 17:29:33 +10:00
Stenzek b96e6d1425
Qt/Debugger: Connect breakpoint checkbox 2024-09-15 17:15:47 +10:00
Stenzek 8fa406061a
CPU: Add SetBreakpointEnabled() 2024-09-15 17:15:38 +10:00
Bobby Smith a259178d1b
GameDB: South Park - Chef's Luv Shack controller update (#3298) 2024-09-15 08:17:47 +02:00
PugsyMAME b5768266bb
Quality of Life changes to breakpoints (#3297)
1. Made it so that breakpoints are checked for a match on 28 bits rather than the full 32 bits. It's much simpler to use 12345 rather than 80012345 and risk getting the number of zeros wrong and also handles the mirror code/memory accesses using 00??????, 80?????? & A0??????.
2. Added bp.hit_count update to execution breakpoints.
3. Changed the Hit breakpoint message at the bottom of the debugger screen to include the hit count [see notes later].
4. Added bp.enabled check to the execution breakpoint (it uses it in the r/w breakpoints code already) [see notes later].

Notes:
3. I've added the hit count to the message as it's quicker to spot but it's also a partial workaround as the Hit Count in the Breakpoints tab doesn't seem to get refreshed.
       4. I thought the checkbox in the Breakpoints tab would set the bp.enabled but it seems it has no affect on any type of breakpoint. The only way to stop a breakpoint is to delete it.
2024-09-15 07:17:08 +01:00
Stenzek 1ffd2f4149
Qt/Debugger: Improve row scrolling
Don't center the current PC unless we're going off screen, or requested
a specific address.
2024-09-14 02:07:08 +10:00
Anderson Cardoso fbb92e9225
Atualização Português do Brasil
Atualizado para a última versão.

PS: Refente a recente mudança na licença do emulador
Comentado aqui #3295 da minha parte fica liberado a alteração por parte do desenvolvedor de coisas que faço e/ou fiz: ícones, temas, traduções alguns ajustes antigos e afins para que fique de acordo com a modificação da licença atual.

PS: Regarding the recent change in the emulator license
Commented here #3295 on my part, the developer is allowed to change things that I do and/or have done:

Icons, themes, translations, some old adjustments and the like so that they are in accordance with the change in the current license.
2024-09-13 10:39:01 -03:00
Stenzek 6d637127f2
Qt: Fix memory view colours in light themes 2024-09-14 00:44:44 +10:00
Stenzek 350cf7ee32
GPUDevice: Use suffixed shaderc libname
Avoids conflicts with other installations of shaderc, e.g. the Vulkan
SDK, which might be in the user's LD_LIBRARY_PATH.
2024-09-13 23:05:01 +10:00
Stenzek d28f0fa4e6
Qt: Enable word wrap in Settings window list 2024-09-13 21:22:48 +10:00
Stenzek e17eaf77dd
ImGuiFullscreen: Disable border animation when smooth scrolling is off 2024-09-13 21:14:07 +10:00
Stenzek e03deb4928
System: Set realtime constraints on MacOS
Significantly improves frame timing/pacing, now it is a
flat line on my 2023 MBP like other platforms.
2024-09-13 20:23:57 +10:00
Stenzek d330dca38a
MetalDevice: Use CocoaTools methods 2024-09-13 19:52:09 +10:00
Stenzek d981dc7471
MetalDevice: Implement pipeline cache 2024-09-13 19:26:44 +10:00
Stenzek ad67ab7ec3
MetalDevice: Use TranspileAndCreateShaderFromSource() 2024-09-13 17:31:59 +10:00
Stenzek 6f31e562a0
MetalDevice: Implement timed present 2024-09-13 15:19:29 +10:00
Stenzek f2720b98dd
System: Reduce force-displayed-warning scope
Please don't make me regret this.
2024-09-10 23:53:39 +10:00
Stenzek ddcb0cb541
Misc: Warning fixes 2024-09-10 23:53:27 +10:00
KamFretoZ d7ce028a42
Qt: Make Virtual Controller List Word Wrapped 2024-09-10 20:13:01 +07:00
KamFretoZ 66b4391ab9
Qt: Tweak Grey Matter Theme 2024-09-10 20:12:29 +07:00
KamFretoZ b6414756e5
Qt: Expand Controller List Width 2024-09-10 20:02:35 +07:00
KamFretoZ 065beff2da
Qt: Rename NeGcon Rumble controller name 2024-09-10 19:59:41 +07:00
KamFretoZ 0abd7c0524
Qt: Expand Controller Profile Dropdown Width 2024-09-10 19:56:38 +07:00
Stenzek 20b4581bbe
Settings: Remove second source of truth for OSD notifications
And split it into warnings/messages. Warnings are always displayed
regardless of the "Show OSD Messages" setting, because they're critical
and users forget they disable messages.
2024-09-10 22:10:42 +10:00
Stenzek 2813b4bece
Achievements: Open profile on leaderboard selection 2024-09-09 22:10:06 +10:00
Stenzek 6c3f33804f
ImGuiFullscreen: Fix whole menu being unscrollable
If the first/last menu items were not enabled, e.g. settings pages
2024-09-09 21:37:52 +10:00
Stenzek 891d5cefbe
ImGuiFullscreen: Allow smooth scrolling 2024-09-09 21:57:08 +10:00
Stenzek e93dea5ad8
SPU: Connect 0x1F801DB8/0x1F801DBA writes
But I'm not aware of any games that actually use this, and if there is a
sweep active, it will be soon overwritten anyway.
2024-09-09 21:04:47 +10:00
Stenzek d1770b616f
Settings: Default console logging to running from TTY 2024-09-09 20:55:15 +10:00
Stenzek fe9d06a194
Qt/Debugger: Snap code view to center on goto address 2024-09-09 20:41:10 +10:00
Stenzek 936c945e73
Qt/Debugger: Highlight selection on dump address 2024-09-09 20:37:04 +10:00
Stenzek c633a6bacc
Qt/Debugger: Invalidate blocks on manual memory edit
Ensures recompiler isn't executing stale code.
2024-09-09 20:19:26 +10:00
Stenzek 128d5254ca
MSBuild: Disable RTTI on Windows builds
It's not used.
2024-09-09 19:22:41 +10:00
Stenzek e2a3fe14f0
Cheats: Prevent inlining of memory functions
Clang is way too eager here and inlines the whole thing hundreds of
times within CheatList::Apply().
2024-09-09 18:53:51 +10:00
Stenzek 7bcdf11240
MediaCapture: Fix audio timestamp drift
Fixes capture lag after approximately 10 minutes.
2024-09-09 17:27:22 +10:00
Stenzek de551c1836
D3D12Device: Fix crash when using media capture 2024-09-09 17:27:10 +10:00
Stenzek 559aff0ad5
D3D12Device: Use DXC and 12.0 feature level 2024-09-09 00:23:30 +10:00
Stenzek a22acfc8a7
Deps: Include DXC and DirectX Agility SDK 2024-09-09 00:00:35 +10:00
Stenzek 4c31218d2b
GPUDevice: Add API version field
Also tie shader caches to API version and device LUID. That way we don't
have tons of cache files, and they're regenerated if the GPU/driver
changes.
2024-09-08 23:33:05 +10:00