Commit Graph
29686 Commits
Author SHA1 Message Date
Henrik Rydgård fd2ff87dcb Merge pull request #14403 from unknownbrackets/memmap
Correct another case of "valid" addresses that would crash
2021-04-24 10:09:18 +02:00
Henrik Rydgård 0466ac3d0e Update assets/lang 2021-04-24 10:08:42 +02:00
Unknown W. Brackets 56bcf04c49 Debugger: Try harder to validate UTF-8.
When sending this in the websocket debugger, it needs to be valid utf-8 or
it will cause clients to abort the connection.  We want to reject invalid
utf-8 anyway.
2021-04-23 23:24:47 -07:00
Unknown W. Brackets f987c715aa MemMap: Map 0xC0000000 into virtual memory.
Technically, it should be 0xA0000000, but that causes problems for how we
manage 32-bit address space.  This at least makes things consistent.
2021-04-23 23:21:51 -07:00
Unknown W. Brackets 32ea8734fb MemMap: Cleanup memory mirror pointers. 2021-04-23 22:43:21 -07:00
Unknown W. Brackets 8d0ca1e4f1 Merge pull request #14399 from unknownbrackets/debugger
Debugger: Show string in status bar for li, etc.
2021-04-22 11:32:35 -07:00
Unknown W. Brackets 012d47bcbf Debugger: Show string in status bar for li, etc.
This is helpful when stepping through the debugger.  Only shows likely
UTF-8 or similar formatted text, but often names or error messages are.
2021-04-21 23:50:59 -07:00
Henrik Rydgård fd2aecdbc2 Merge pull request #14397 from unknownbrackets/mem-validsize
Core: Correct ValidSize outside scratchpad
2021-04-22 08:00:54 +02:00
Henrik Rydgård 0919f8a952 Merge pull request #14398 from unknownbrackets/debugger
Debugger: Mark ELF sections as suballocations
2021-04-22 08:00:03 +02:00
Unknown W. Brackets 1aae6e5ffc Io: Prevent error on bad handle for DevType(). 2021-04-21 20:11:23 -07:00
Unknown W. Brackets 2932a9995f Debugger: Prompt with previous search string.
When searching, fill the text box with the previous search by default.
Convenient when you want to edit it.
2021-04-21 19:47:18 -07:00
Unknown W. Brackets 572c20b4cd Debugger: Mark ELF sections as suballocations.
Sometimes they're named, it's helpful to see where rodata starts, etc.
2021-04-21 19:45:58 -07:00
Unknown W. Brackets 744d17e13c Core: Correct ValidSize outside scratchpad.
And simplify all the scratchpad valid checks.
2021-04-21 19:32:22 -07:00
Henrik Rydgård bbdb4f76c8 Merge pull request #14393 from ANR2ME/stringutils
[StringUtils] Fix missing hex string at the last row
2021-04-19 09:13:12 +02:00
ANR2ME 8742a49e07 Replacing the inconvenient prefix string for indentation with indent number. 2021-04-19 06:14:28 +07:00
ANR2ME 40941b41a4 Fix missing hex string at the last row when data size is a multiple of 16 bytes 2021-04-19 05:48:37 +07:00
Henrik Rydgård 8e953b2a97 Merge pull request #14383 from unknownbrackets/threadpool
Use threads more on startup to improve load time
2021-04-18 09:57:33 +02:00
Unknown W. Brackets 086b8229f5 GE Debugger: Keep dump generation deterministic. 2021-04-17 16:25:36 -07:00
Henrik Rydgård 036efc24ae Merge pull request #14390 from hrydgard/update-miniupnp
Update our miniupnp fork to match upstream.
2021-04-18 00:54:56 +02:00
Henrik Rydgård eb07a3e111 Buildfixes 2021-04-18 00:34:18 +02:00
Henrik Rydgård 199735203b Merge pull request #14389 from unknownbrackets/reporting
Reporting: Avoid generated homebrew IDs
2021-04-18 00:22:43 +02:00
Henrik Rydgård 87216bcd8b Update our miniupnp fork to upstream.
Should take care of #14386
2021-04-18 00:19:46 +02:00
Unknown W. Brackets cab2a38498 Reporting: Avoid generated homebrew IDs.
But let through a few more, homebrew rarely reused newer system version
SFOs.  By that point they were doing their own SFOs finally.
2021-04-17 14:28:53 -07:00
Henrik Rydgård 50b0e84113 Oops 2021-04-17 22:40:13 +02:00
Henrik Rydgård bfee168175 Don't even bother checking touch.id == 0 for closing popup windows. It's fine to close with any touch.
Fixes issue with touch on Windows mentioned in #14387

Also includes a warning fix.
2021-04-17 22:34:35 +02:00
Henrik Rydgård 87d4833d89 Merge pull request #14363 from ANR2ME/adhoc
[Adhoc] An attempt to fix GetIPList on Linux/Unix
2021-04-17 19:49:38 +02:00
Henrik Rydgård 73fb004f47 Merge pull request #14341 from Banh-Canh/fix-hashes-w-reduceHashranges
Fix: remove filename prefix for reducehashranges
2021-04-17 18:36:18 +02:00
Henrik Rydgård 8314a805f8 Merge pull request #14358 from unknownbrackets/debugger
Add basic APIs for managing memory info tagging
2021-04-17 18:35:38 +02:00
Henrik Rydgård 2ae5409597 Merge pull request #14379 from stuken/libretro_options
Cleanup libretro options
2021-04-17 18:34:55 +02:00
Henrik Rydgård ddc362e211 Remove now-redundant back button 2021-04-17 14:47:49 +02:00
Henrik Rydgård 3858ba8e8c Merge pull request #14387 from hrydgard/ios-dialog-close-fix
Change pointer ID allocation on iOS. Fixes part of #14240
2021-04-17 12:43:33 +02:00
Henrik Rydgård 0150dcfd44 Change pointer ID allocation on iOS. Fixes part of #14240
The dialog code checks for touch.id != 0 to decide whether to close.

Not sure if really necessary, but keeping it and just changing the IDs.
2021-04-17 12:11:21 +02:00
Henrik Rydgård f5a1de2540 Merge pull request #14385 from unknownbrackets/ui-background
UI: Load BG image properly on init
2021-04-17 10:34:19 +02:00
Unknown W. Brackets 5f59495756 UI: Load BG image properly on init.
Also fix the update on Vulkan.
2021-04-16 20:49:46 -07:00
Unknown W. Brackets a3680ca3cb Io: Calculate memory stick size on a thread.
If you have a bunch of saves/states/etc. this might be a bit slow.
2021-04-16 01:15:23 -07:00
Unknown W. Brackets 4c1ed81d45 Module: Speed up module unload. 2021-04-16 01:03:10 -07:00
Unknown W. Brackets 4f96169357 Core: Init memory on multiple threads.
Also init volatile at the same time for consistency.
2021-04-16 00:53:50 -07:00
Unknown W. Brackets 6ee944a0a6 Module: Process relocations on threads.
There's usually quite some, and using threads can halve the load time.
ELF loading isn't terribly slow, but it adds up.
2021-04-16 00:41:56 -07:00
Unknown W. Brackets e7012f8f88 Module: Process relocations using unchecked reads.
No need to do checks twice.  Also switch the LO16 part to
Read_Instruction.
2021-04-16 00:32:42 -07:00
Unknown W. Brackets abb7b83fee GE Debugger: Thread dedupe pushbuf lookups.
This improves time especially for larger dumps.
2021-04-16 00:00:56 -07:00
Unknown W. Brackets b2f3f06768 Common: Set a min size on threadpool work chunks.
This should avoid slicing loops, etc. into too many chunks.  Generalize
the memcpy a bit.
2021-04-15 23:59:02 -07:00
Unknown W. Brackets 639dd67130 Common: Allow threadpool size up to 16.
In Config, we allow 16, so this just matches that.
2021-04-15 23:56:34 -07:00
Unknown W. Brackets 74f08bee2a Umd: Fix thread wakeup.
Oops.  Not sure how I left this flag flipped.  Was not waking threads.
2021-04-15 11:16:56 -07:00
Stuart Kenny 1846c62a85 Fix defaults for io threading and vertex cache 2021-04-15 13:22:59 +01:00
Stuart Kenny 24d20d3d2e Remove duplicate from hardcoded settings 2021-04-15 11:05:12 +01:00
Stuart Kenny b51bd3b974 whitespace nit 2021-04-14 23:28:07 +01:00
Stuart Kenny d2967962cc Reorder core options 2021-04-14 23:14:52 +01:00
Stuart Kenny 238c5d0cd7 Further core options and defaults 2021-04-13 23:01:46 +01:00
Stuart Kenny 916176bd5d Add defaults and core options 2021-04-13 21:07:48 +01:00
Henrik Rydgård f52bef7016 Merge pull request #14372 from unknownbrackets/rewind
SaveState: Copy RAM using threads
2021-04-13 08:16:42 +02:00