Gleb Mazovetskiy
43dbd8cb57
Bump libfmt
...
Hopefully we'll be able to get rid of the custom nxdk fork soon.
2023-09-11 09:33:16 +01:00
Gleb Mazovetskiy
8c1a847f41
Remove utils/stdcompat/string_view.hpp
2023-08-14 09:59:14 +01:00
Gleb Mazovetskiy
4fa3732526
Add missing <cstdint> includes
...
Done with the following script:
```ruby
Dir["Source/**/*.{h,c,cc,cpp,hpp}"].each do |path|
v = File.read(path)
next if !v.include?("uint32_t") || v.include?("cstdint")
lines = v.lines
line_num = if lines[2].start_with?(" *")
lines.index { |l| l.start_with?(" */") } + 3
else
3
end
lines.insert(line_num, "#include <cstdint>\n")
File.write(path, lines.join(""))
end
```
then fixed-up manually
2023-05-10 13:50:12 +01:00
Gleb Mazovetskiy
197e1180b2
Add StrCat and StrAppend
...
Adds simple string / integer concatenation functions.
Many of the uses of `fmt::format` are simply concatenation
of a few strings and integers.
`StrCat` is an easier-to-read alternative to such uses of `fmt`.
2022-07-10 06:14:58 +02:00
ephphatha
9a07c734eb
Remove unnecessary copy
...
Was this meant to reset the output? It should never be changed unless the user confirms input. In practice this was calling memcpy with the same src and dest pointers, which is undefined behaviour.
2022-03-20 23:55:17 +01:00
ephphatha
8cfd530acf
Use string_view for 3ds keyboard input
2022-03-20 23:55:17 +01:00
ephphatha
6a1091ce09
Rename Korean/Romanian translation files so they are used in fallback resolution
2022-01-04 23:20:53 +01:00
Andrew James
fb8467b045
Move platform specific locale lookup code to platform directory ( #3862 )
2021-12-30 15:20:40 +11:00
Gleb Mazovetskiy
cacf55bb34
CMake: Split out platform libraries
2021-12-21 21:01:47 +00:00
staphen
8a6feeb231
Reduce stack size on 3DS
2021-12-19 17:52:37 +01:00
Gleb Mazovetskiy
d0ed505765
Move platforms asio includes to Source
2021-12-07 18:32:25 +01:00
Gleb Mazovetskiy and Anders Jenbo
7e1fea6f76
clang-format all files in {Source,test}/
...
Also includes a few manual tweaks to comments and newlines for better results.
Co-authored-by: Anders Jenbo <[email protected] >
2021-11-24 23:44:12 +01:00
Anders Jenbo
799f1763af
Performce UTF8 aware limited string copies
2021-11-22 03:28:51 +01:00
staphen
9413d0046b
Increase stack size on 3DS
2021-11-19 11:49:41 +00:00
staphen
dd901e3c2c
Do not disable backlight on o2DS
2021-11-12 00:11:42 +01:00
Rafał Mikrut
3ba15a4251
Don't try to close non openend file
2021-10-07 11:36:51 +02:00
obligaron
82cea78def
Apply clang-format
2021-08-11 20:52:32 +02:00
staphen
703e5a3f14
3DS: Detect system language and select the appropriate translation
2021-08-10 07:50:38 +02:00
Anders Jenbo
a7c7fa0030
Fully apply clang-tidy/format to all files
2021-07-03 16:41:43 -07:00
staphen
c6a9eaaf88
Implement sendmsg and recvmsg
2021-06-20 16:31:25 -07:00
staphen
fea2cbb104
Initialize AC and SOC services at startup
2021-06-20 16:31:25 -07:00
staphen
12cd536259
Stub missing functions for 3DS
2021-06-20 16:31:25 -07:00
staphen
14a0da7fb3
Enable TCP in 3DS build
2021-06-20 16:31:25 -07:00
staphen
57856fa2a6
3DS SOC service initialization functions
2021-06-20 16:31:25 -07:00
staphen
f2bf6f3ff3
3DS custom RNG for libsodium
2021-06-20 16:31:25 -07:00
staphen
9ca9de3eba
Add virtual keyboard hints and 3DS keyboard improvements
2021-06-20 16:31:25 -07:00
Stephen C. Wills
081a077f6f
Custom message box for 3DS ( #1932 )
2021-05-12 10:27:24 +02:00
staphen
5483b29a31
Set 3DS scaling behavior based on FitToScreen setting.
2021-05-09 00:31:13 +01:00
Jmgr
c33182d6de
Modernize deprecated headers
2021-04-25 02:50:31 +02:00
Anders Jenbo
8c821e98d3
🚚 Restructure files
2021-04-16 03:57:22 +02:00