3171 Commits

Author SHA1 Message Date
Connor McLaughlin
157532b0fe
Merge pull request #1320 from andercard0/patch-54
Atualização Português do Brasil
2020-12-28 00:36:20 +10:00
PugsyMAME
67f6bd2bcb
Fixed Pattern found address in Debugger Search
"Pattern found at 0x%1" was passing a decimal value to %1 instead of a hexadecimal one
2020-12-27 11:20:26 +00:00
Albert Liu
d7e8b5a4c2 Qt: Update Japanese translation by mikakunin 2020-12-27 00:57:55 -08:00
Albert Liu
46239e3d09 Qt/CheatManagerDialog: Fix lupdate warning 2020-12-27 00:57:55 -08:00
Albert Liu
2a1bf9925a Qt: Make Auto (Game Native) aspect ratio string translatable 2020-12-27 00:57:55 -08:00
Anderson_Cardoso
ab2198be28
Atualização Português do Brasil 2020-12-26 14:01:24 -03:00
Connor McLaughlin
f181b45760 libretro: Build fix 2020-12-27 02:41:43 +10:00
Connor McLaughlin
80fb30b564 Qt: Add Boot and Debug option to context menu 2020-12-27 00:54:53 +10:00
Connor McLaughlin
29469077ee Qt: Force display to render after boot
Fixes menu showing through when starting paused.
2020-12-27 00:54:53 +10:00
Connor McLaughlin
cbcbb675d6 System: Fix pause on start 2020-12-27 00:54:53 +10:00
Connor McLaughlin
3cd3d1c09d Qt: Fix opening debugger when system already paused 2020-12-27 00:54:53 +10:00
Connor McLaughlin
dc46d52029 FrontendCommon: Remove unnecessary #ifndef LIBRETRO macros
These were only needed because of ancient compilers on the libretro
buildbot, it still compiles fine with these fields on the latest
compilers.
2020-12-27 00:54:53 +10:00
Connor McLaughlin
702ed21207 HostDisplay: Add threaded presentation for Vulkan renderer
Can add a significant speedup for fast forward. Automatically disabled
when vsync is enabled.
2020-12-27 00:54:53 +10:00
Connor McLaughlin
68dc052432 Bus: Don't leak shared memory when starting->stopping->starting 2020-12-27 00:50:08 +10:00
Connor McLaughlin
91995c92db Qt/Debugger: Use Bus helper functions for getting region pointers 2020-12-27 00:50:08 +10:00
Connor McLaughlin
d74d27163c Common/MemoryArena: Add destroy/valid methods 2020-12-27 00:50:08 +10:00
Connor McLaughlin
e71f6aa80a GPU/HW: Improve round-trip accuracy of RGBA5551->RGBA8
Fixes smudging in some games with true colour rendering enabled.
2020-12-27 00:50:08 +10:00
Connor McLaughlin
84181e2a1d CheatS: Support importing/parsing EPSXe cheat files 2020-12-27 00:45:34 +10:00
Connor McLaughlin
cc9c3ea41f Cheats: Fix assertions tripping on unicode characters 2020-12-27 00:45:34 +10:00
Connor McLaughlin
aa65280ec3 Qt: Fix typo in advanced settings 2020-12-27 00:45:34 +10:00
Connor McLaughlin
7532d5d09a
Merge pull request #1306 from andercard0/patch-52
Atualização Português do Brasil
2020-12-27 00:45:04 +10:00
Connor McLaughlin
9c36c9dbdb
Merge pull request #1312 from ggrtk/memorycardimage-fix
MemoryCardImage: Fix multi-block file reads
2020-12-27 00:44:41 +10:00
PugsyMAME
31423ef697
Changed debugger "Enter memory address" to accept hex only (#1317)
* Changed debugger "Enter memory address" to accept hex only

The "Enter memory address" prompt by default expects a decimal address unless it's preceded by 0x. Or it expects an number starting with 0 is an octal.
The disassembly address should be hexadecimal regardless as that is how it it displays the address.
Also changed it so that it changes any address entered to be divisible by 4 as there was an observed issue that would cause the disassembly addresses to get locked to a address that was not divisible by 4

* Translation updates for Debugger memory address change

Updated the three translation files that mentioned the original "Invalid address. It should be in hex" string.

* Changed debugger "Enter memory address" to accept hex only

UPDATE TO PR #1316
The "Enter memory address" prompt by default expects a decimal address unless it's preceded by 0x. Or it expects an number starting with 0 is an octal.
The disassembly address should be hexadecimal regardless as that is how it it displays the address.
Also changed it so that it changes any breakpoint or disassembly address entered to be divisible by 4 as there was an observed issue that would cause the disassembly addresses to get locked to a address that was not divisible by 4 and a breakpoint address that is not divisible by 4 would never be hit.
2020-12-27 00:43:43 +10:00
Albert Liu
12bc7a7805 MemoryCardImage: Fix multi-block file reads 2020-12-25 20:01:21 -08:00
Anderson_Cardoso
bc9da28f31
Atualização Português do Brasil 2020-12-25 15:20:29 -03:00
Connor McLaughlin
a69474ea97 TextureReplacements: Use x86 dispatch for xxhash 2020-12-26 00:47:24 +10:00
Connor McLaughlin
af3b2b0e15 Build: Fix xxhash on non-Windows 2020-12-26 00:47:24 +10:00
Connor McLaughlin
b755798c2a Qt: Update French translation 2020-12-26 00:47:03 +10:00
Connor McLaughlin
d187c8b08d GPU/HW: Fix a potential case where depth isn't cleared on viewport change 2020-12-26 00:47:03 +10:00
Connor McLaughlin
a385573672 Qt: Add texture replacement options to advanced settings 2020-12-26 00:47:03 +10:00
Connor McLaughlin
41b803ed2b FrontendCommon: Add a hotkey to reload texture replacements 2020-12-26 00:47:03 +10:00
Connor McLaughlin
8db961042a GPU: Support replacing VRAM writes with new textures 2020-12-26 00:47:03 +10:00
Connor McLaughlin
a66f14b5c3 Vulkan/Texture: Add UpdateFromBuffer method 2020-12-26 00:47:03 +10:00
Connor McLaughlin
ebaad0f35a Common/GL: Add replace method to texture 2020-12-26 00:47:03 +10:00
Connor McLaughlin
ecbfff3c60 HostDisplay: Fix incorrect extension check for other formats 2020-12-26 00:47:03 +10:00
Connor McLaughlin
f6c0156eea Common/Image: Add save helpers, fix errors 2020-12-26 00:47:03 +10:00
Connor McLaughlin
6de53054c1 Qt: Move blit swap chain option to display settings 2020-12-26 00:47:02 +10:00
Michael Forney
4bca193ee1 FileSystem: Include <limits.h> for PATH_MAX 2020-12-26 00:47:02 +10:00
Michael Forney
7a40a843d4 Common/FileSystem: Fix misspelling of 'separator' 2020-12-26 00:47:02 +10:00
Michael Forney
d0398c8a83 Common/FileSystem: Fix canonicalization of paths beginning with ./
If we don't skip past the following separator when the destination
is empty, then `./file` gets canonicalized as `/file`.

Also, consider the case where we end up with an empty string (for
example, from `foo/..`). Canonicalize this as `.`.
2020-12-26 00:47:02 +10:00
Michael Forney
64c0ca14a3 System: Fix some bugs in GetTitleForPath
The previous implementation had a few issues in certain edge cases:
- If the path contained no '/' or '\', then the string_view constructor
  is called with a count that exceeds the length of the string
  (effectively `title_end - (char *)0`, which is undefined behavior,
  at least in C).
- If the only '/' was the filesystem root, the last character of
  the title was truncated, and the '/' remained. For example,
  "/title.bin" resulted in "/titl".
- At least in C, it is undefined behavior to use the the < operator
  with a null pointer, which is done in std::max if the path did
  not have both '/' and '\'.

The first issue results in a std::bad_alloc exception on my machine.
2020-12-26 00:47:02 +10:00
Connor McLaughlin
3f410ebbac Cheats: Add additional code types from @PugsyMAME 2020-12-26 00:47:02 +10:00
Jean-Baptiste Boric
7dcacc2cda Qt: Implement GDB server 2020-12-26 00:47:02 +10:00
Jean-Baptiste Boric
abd2399aaf Core: Implement GDB protocol 2020-12-26 00:47:02 +10:00
Jean-Baptiste Boric
9b40c8ffa6 Settings: Add GDB server settings 2020-12-26 00:47:02 +10:00
Jean-Baptiste Boric
9bd28f39a5 StringUtil: Add base support and hexadecimal functions 2020-12-26 00:47:02 +10:00
Connor McLaughlin
fd39f09aa7 scmversion: Second part of beta -> preview 2020-12-25 13:58:50 +10:00
PugsyMAME
c0cc0a371b Fixed Slide Code cheat type
Address increment is a u8 and value increment is a u16. The changes will make this work correctly:-

50000AA4 FFFF
801CC760 0400
which is a example slide code representing:-
801CC760 0400
801CC804 03FF
801CC8A8 03FE
801CC94C 03FD
801CC9F0 03FC
801CCA94 03FB
801CCB38 03FA
801CCBDC 03F9
801CCC80 03F8
801CCD24 03F7
2020-12-25 13:53:28 +10:00
Connor McLaughlin
add6754381 libretro: Remove guncon/mouse/negcon controller types
These were never supported. Use the standalone version if you want to
use these controller types.
2020-12-25 13:53:28 +10:00
Connor McLaughlin
7f6fbd6b80
Merge pull request #1289 from andercard0/patch-51
Atualização Português do Brasil
2020-12-25 13:51:02 +10:00