Henrik Rydgård
6945deec01
Replace a LOT of sprintf with snprintf, and a few strcpy with truncate_cpy
2023-04-28 21:04:05 +02:00
Henrik Rydgård
4ed634383f
If there are multiple escapes, pick the first.
2023-04-23 14:42:36 +02:00
Henrik Rydgård
91d4ded3fd
Add function UnescapeMenuString
...
Turns E&dit into Edit and 'd'. Double ampersands are translated to just a single one,
hence the unescaping part of this.
Useful in the Mac port to deal with desktop UI translation strings with included
Windows hotkeys.
2023-04-23 14:37:09 +02:00
Henrik Rydgård
675a046759
Fix parsing ampersands in server listings for streaming
...
Fixes #16263 , or so I hope - haven't actually tested it, but seems
straightforward enough.
2022-11-05 23:31:30 +01: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
Henrik Rydgård
ecb84987ef
Remove allocation from the heaviest MemBlockInfo path (BlockTransfer). Required some refactoring.
2022-09-01 11:59:35 +02:00
ANR2ME
0b3fdf0cef
Use safe_string when printing %s with Memory::GetCharPointer.
2022-08-06 11:22:38 +07: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
Henrik Rydgård
2e16e83159
It never ends...
2021-05-13 10:39:16 +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
Unknown W. Brackets
3360121b5c
UI: Expose lists better in descriptions.
...
Explicitly marks several lists, which should make exposing text better.
2021-02-21 18:41:08 -08:00
Henrik Rydgård
311fe431d0
Move buffer.cpp/h from base to Common
2020-09-29 15:51:51 +02:00
Henrik Rydgård
ed88761ecc
Merge ext/native/stringutil.cpp/h into Common/StringUtils.cpp/h.
2020-09-29 15:51:51 +02:00
Henrik Rydgård
5704ebfb61
More cleanup of Log.h, move AndroidAssert into MsgHandler.cpp/h.
2020-08-16 14:48:54 +02:00
Unknown W. Brackets
667a8522cc
Global: Cut down on file/string includes.
2020-08-10 08:03:44 +00:00
Henrik Rydgård
259cb0f128
Fix issue where too long filenames could wreck the Install Zip dialog layout.
...
Well, technically just shortens the path to avoid the issue.
2019-02-10 15:55:00 +01:00
Henrik Rydgard
8914cd9914
ARM64 disassembler improvements (show many kinds of branch targets properly)
2015-10-10 11:27:28 +02:00
adrian17
6fc2ad56a4
Cleaned up CommonPaths some more and removed BuildCompleteFilename()
2013-09-28 00:21:44 +02:00
adrian17
5f86bc44d4
Deleted some doubled #includes.
2013-09-27 21:38:07 +02:00
Henrik Rydgard
df6199d353
Move some stuff to native. Show game icon on newui game screen. Turn it off again (oops)
2013-06-09 13:42:00 +02:00
Steven Cherry
9d2667fc0d
Second to last commit
...
Everything but getting ISO name
2013-05-18 17:04:01 -05:00
Sacha
2396574f45
Avoid name collision with StringUtil on Windows hosts. Fixes all Linux/Unix cross-compiles from Windows, including Harmattan and Blackberry.
2013-05-03 16:22:15 +10:00