Henrik Rydgård
27122a9e64
Work on previews
2024-12-10 22:09:51 +01:00
Henrik Rydgård
e3aaf93e28
Add a new log category
2024-12-10 10:34:26 +01:00
Henrik Rydgård
bf3e1b4ee1
Add Debugger log category
2024-12-10 09:59:08 +01:00
Henrik Rydgård
b2a8b4168b
Core: Minor changes to stepping (and some log changes)
2024-12-10 01:06:19 +01:00
Katharine Chui
49553bcf8d
Simplify MacOS AMD GPU workaround
...
Based on https://github.com/KhronosGroup/MoltenVK/issues/960 ,
expand MacOS AMD GPU workaround to all dGPU and instead of
changing usage, just append VK_MEMORY_PROPERTY_HOST_COHERENT_BIT
2024-12-09 14:22:56 +01:00
Katharine Chui
286580a6a0
Switch to VMA_MEMORY_USAGE_CPU_ONLY on MacOS AMD
...
The ideal allocation would be VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT
like in 1.12.3, but vma picked an index that's actually not mappable
VMA_MEMORY_USAGE_GPU_TO_CPU selects VK_MEMORY_PROPERTY_HOST_CACHED_BIT,
which seems to hurt performance
VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT + VK_MEMORY_PROPERTY_HOST_COHERENT_BIT
selection with VMA_MEMORY_USAGE_CPU_ONLY would suffice for the
workaround, and get better performance
2024-12-09 12:32:31 +01:00
Katharine Chui
93009a3178
Work around metal buffer bug on MacOS + AMD GPU
...
With VMA_MEMORY_USAGE_CPU_TO_GPU buffers, metal buffer appears 0
filled in metal trace during vkCmdCopyBufferToImage triggered
MTLBlitCommandEncoder instance method.
Allocate VMA_MEMORY_USAGE_GPU_TO_CPU instead on MacOS + AMD GPU
2024-12-08 22:13:33 +01:00
Henrik Rydgård
080798b5dd
Move out two more functions from Core.cpp. Clean up Windows includes
2024-12-08 12:12:02 +01:00
Henrik Rydgård
b3346df646
ImDebugger: Add a window to inspect upcoming CoreTiming events
2024-12-07 16:28:27 +01:00
Henrik Rydgård
5d0316db6f
Tune some log verbosity, remove timestamp on outputdebugstring logs
2024-12-03 22:11:01 +01:00
Henrik Rydgård
3ffff831c7
Refactor LogManager (remove GetInstance()). In headless, add option to log to OutputDebugString on Windows.
2024-12-03 21:39:42 +01:00
Henrik Rydgård
0f97578a35
Replace a bad function
2024-12-03 20:33:12 +01:00
Henrik Rydgård
2b8414b437
Move irrelevant code out of Core.cpp
2024-12-02 13:26:41 +01:00
Henrik Rydgård
e94defbb15
Get the CORE_RUNNING_GE coreState working!
2024-12-01 22:49:18 +01:00
Henrik Rydgård
7f13bc1a34
Add new log category for texture replacements
2024-12-01 14:17:01 +01:00
Henrik Rydgård
cf88d8b693
Fix bug in ini parsing on non-Windows
2024-11-30 13:51:38 +01:00
Henrik Rydgård
36d10b89e2
Remove locks on safe zip file operations (that don't involve the file pointer)
2024-11-30 11:55:36 +01:00
Henrik Rydgård
1f108a0e8c
Remove the java-side directory listing filtering, didn't work.
2024-11-30 02:44:01 +01:00
Henrik Rydgård
d88d161822
Fix crash in logging
2024-11-30 02:44:01 +01:00
Henrik Rydgård
ed296e4587
ZipFileReader: Save the zip path so we can log it
2024-11-30 02:44:01 +01:00
Henrik Rydgård
755b062abd
Minor perf improvement in ini file parser
2024-11-30 02:43:58 +01:00
Henrik Rydgård
5eeb15b30a
Use Exists instead of GetFileInfo in more cases
2024-11-30 00:39:38 +01:00
Henrik Rydgård
011f73fedb
Remove unnecessary check when creating subdir chains
2024-11-30 00:37:15 +01:00
Henrik Rydgård
e4adc112ff
ImDebugger: Add a basic texture browser
2024-11-29 19:30:38 +01:00
Henrik Rydgård
48bc04b7e1
Add a separate bool for I/O logging
2024-11-29 16:00:34 +01:00
Henrik Rydgård
7cbb60fd22
Bypass the PSP file system when calculating the savedata size to avoid a lock
2024-11-29 14:43:13 +01:00
Henrik Rydgård
b6f648eecc
MetaFileSystem: Clean up unused function
2024-11-29 14:13:56 +01:00
Henrik Rydgård
720e0561b5
Improve logging in GetFilesInDir
2024-11-29 11:14:52 +01:00
Henrik Rydgård
edbc7afcc1
Add support for prefix filtering in directory listing.
2024-11-29 11:14:52 +01:00
Henrik Rydgård
0e6fc8e0e3
Assorted warning fixes
2024-11-28 15:02:26 +01:00
Henrik Rydgård
dc89b6a918
Don't save config when launching a game (it should already have been saved)
2024-11-28 15:02:26 +01:00
Henrik Rydgård
98780ba603
Theme: Avoid checking the ui_atlas multiple times
2024-11-28 15:02:25 +01:00
Henrik Rydgård
3b463446ab
I/O: Add a (disabled) mode to artifically slow down I/O for debugging
2024-11-28 15:02:22 +01:00
Henrik Rydgård
e7e12f4e2e
Ghidra client fix
2024-11-28 09:50:24 +01:00
Henrik Rydgård
91c82205eb
Logging: When not on EmuThread, log with the host thread name instead of the PSP thread name.
2024-11-27 15:38:41 +01:00
Henrik Rydgård
27a60517af
Fix broken check for intel macs (for auto-disabling Vulkan)
2024-11-27 15:23:50 +01:00
Henrik Rydgård
6763c13f88
ImGui: Finish implementing pipeline switching for all backends
2024-11-27 01:19:05 +01:00
Henrik Rydgård
09779e0f44
ImGui drawing: Allow varying the pipeline when binding textures
2024-11-26 19:59:09 +01:00
Henrik Rydgård
eaff38f161
Implement ImGui clipped batch texturing support in the other backends too
2024-11-26 09:38:30 +01:00
Henrik Rydgård
e82b7f788e
Implement texture binding in draw batches. Framebuffer viewer now works in Vulkan.
2024-11-26 09:22:35 +01:00
Henrik Rydgård
8372105d66
Fix printscreen keyboard mapping (although kinda useless)
2024-11-25 23:40:51 +01:00
Henrik Rydgård
47d8e292eb
ImDebugger: Add basic filesystem browser. Add partial support for "save file dialogs" to System.
2024-11-25 23:03:15 +01:00
Henrik Rydgård
e66516eb50
ImDebugger: Add ability to rename function symbols
2024-11-23 23:23:52 +01:00
Henrik Rydgård
194b2ce076
Ge Debugger: Add a framebuffer listing, along with some plumbing
2024-11-23 23:23:48 +01:00
kotcrab
bf0b8b59a5
Various struct viewer fixes and improvements
...
- Can't add multiple watches at once from globals
- Removing watch incorrectly affects tree state
- Fix formatting bitfield enum member with 0 value
- Better formatting for non bitfield enums
- More accurate setup instructions
- Improved UI for setting number of pointer elements
- Chunked display for large arrays and pointers
2024-11-23 10:57:42 +01:00
kotcrab
41c53bbb7a
Fix comments style
2024-11-22 22:44:45 +01:00
Henrik Rydgård
107bd01536
Fix some issues with clicking touch buttons using the mouse after the hover change.
...
Increase a buffer size.
2024-11-22 10:31:10 +01:00
Henrik Rydgård
305453b52d
Buffer: Optimize scanning for the next crlf
2024-11-22 10:31:07 +01:00
Henrik Rydgård
dacdb0c6c2
Buildfix
2024-11-22 01:27:37 +01:00
Henrik Rydgård
d1d7ddf310
Use CharQueue in Buffer
2024-11-22 00:02:50 +01:00