Commit Graph

4450 Commits

Author SHA1 Message Date
James Benton
74c195b649 cafe/nn_temp: Implement TEMPOpenFile{Async}. 2019-12-24 14:22:10 +00:00
James Benton
40b009e74f cafe/nn_temp: Implement TEMPGetFreeSpaceSize{Async}. 2019-12-24 14:22:10 +00:00
Yannik Marchand
ea66391780 ios/mcp: Update title id in mcpPrepareTitle52 if it is DefaultTitleId. 2019-12-24 11:08:47 +00:00
James Benton
8295993b5d decaf-qt: Add context menu option "Copy title path" for title list. 2019-12-23 20:37:14 +00:00
James Benton
017b0f5f61 common: Fix missing explicit conversion on return type for trim. 2019-12-23 14:59:19 +00:00
James Benton
283d223f75 ios/auxil: Trim XML text for HexBinary type.
The other numeric types are trimmed internally for pugixml as we use the
provided conversion functions such as text().as_int().
2019-12-23 14:35:59 +00:00
James Benton
fe9fc1a030 common: Return std::string from trim() and add trim_view() for string_view. 2019-12-23 14:34:57 +00:00
James Benton
0c940aff91 decaf-qt: Trim fields read from XML files in TitleListScanner.
Fixes #593.
2019-12-23 14:25:46 +00:00
James Benton
1ee68399b5 ios/crypto: Initial stub implementation of /dev/crypto. 2019-12-23 14:18:51 +00:00
James Benton
4afddca10d ios/mcp: Rename sData to sPmThreadData in ioc_mcp_pm_thread.
Reusing sData everywhere confuses the debugger. We should do this in other
places too.
2019-12-23 14:18:23 +00:00
James Benton
5ad690dda3 ios/mcp: Fix pm thread priority. 2019-12-23 14:17:44 +00:00
James Benton
9f92b48f00 ios/kernel: Remove thread_local from sCurrentThreadContext.
There is only 1 host thread for IOS so this variable does not need to be
thread_local.
2019-12-23 14:17:28 +00:00
James Benton
bcff982cf6 ios/kernel: Fix process initial thread stack allocation.
Thanks to some dodgy overloads and implicit conversions, this was calling
the method as (size, align) rather than (pid, size). Instead lets just
remove the (size, align) method completely.
2019-12-23 14:17:07 +00:00
James Benton
9260598fa5 ios/kernel: Add otp.bin reading.
Also remove the /vol/content override path from decaf-qt settings.
2019-12-23 11:55:53 +00:00
James Benton
9cfc1b0319 cafe/nn_act: Implement GetNfsPassword{Ex} had HasNfsAccount. 2019-12-20 11:58:25 +00:00
James Benton
de7f96b335 gpu/spirv: Implement RECIP{SQRT}_{FF,CLAMPED}. 2019-12-20 11:58:25 +00:00
James Benton
4635200da7 gpu/spirv: Fix caching of float values.
This wouldn't allow us to use negative zero as -0==0 so would fail compare
in the mFloatConstants map.
2019-12-20 11:58:25 +00:00
James Benton
63541fded9 cafe/gx2: Change setTexture to only warn about unaligned textures. 2019-12-20 11:58:25 +00:00
James Benton
2d27e2493e cafe/nn_ac: Start using /dev/ac_main services. 2019-12-19 16:38:04 +00:00
James Benton
d857289eed cafe/nn_acp: Fix duplicated include. 2019-12-19 16:37:00 +00:00
James Benton
1ba418c9ac cafe/nn: Add ipc::Client::isInitialised function. 2019-12-19 16:36:48 +00:00
James Benton
46762ed9fc cafe/nn/ipc: Add const where applicable. 2019-12-19 16:35:57 +00:00
James Benton
699c1b620f ios/net: Add basic /dev/ac_main implementation. 2019-12-19 16:35:20 +00:00
James Benton
0b568c7b81 ios/nim: Add missing pragma once. 2019-12-19 16:34:53 +00:00
James Benton
6f92bc39fc nn/ac: Add AcService. 2019-12-19 16:34:44 +00:00
James Benton
cd948c68aa cafe/hle: Fix tracing of strings with nullptrs. 2019-12-19 16:32:21 +00:00
James Benton
9c5856bcf4 decaf-qt/debugger: Improve shortcut contexts. 2019-12-18 20:02:28 +00:00
James Benton
2fa6573ab3 ios/net: Implement getsockname. 2019-12-18 15:26:22 +00:00
James Benton
888c517d09 ios/net: Improve socket closing. 2019-12-18 15:26:22 +00:00
James Benton
552b949e1c gpu/vulkan: Add some missing member variable initialisation to Driver. 2019-12-18 15:26:22 +00:00
James Benton
73723a5021 ios/net: Implement send and recv for /dev/socket. 2019-12-18 15:26:22 +00:00
James Benton
0c9510f852 ios/net: Implement /dev/socket getpeername. 2019-12-18 15:26:22 +00:00
James Benton
f166b24032 cafe/nsysnet: Implement send. 2019-12-18 15:26:22 +00:00
James Benton
7e1f293313 cafe/nsysnet: Implement getpeername. 2019-12-18 15:26:21 +00:00
James Benton
5dfd619c03 cafe/nsysnet: Fix signed / unsigned comparison. 2019-12-18 15:26:21 +00:00
James Benton
44dcb8a9f2 ios/net: Fix variable shadowing. 2019-12-18 15:26:21 +00:00
James Benton
39f5e976d9 ios/net: Initial /dev/socket implementation. 2019-12-18 15:26:21 +00:00
James Benton
afa60cc35d cafe/nsysnet: Implement more socket functions. 2019-12-18 15:26:21 +00:00
James Benton
fd76b1e075 ios/net: Add more socket structures. 2019-12-18 15:26:21 +00:00
James Benton
ca0d600e2c ios/net: Add IOS_NET logger. 2019-12-18 15:26:21 +00:00
James Benton
0a08adf683 cmake: Add libuv and c-ares. 2019-12-18 15:26:21 +00:00
James Benton
5bca7bf064 cmake: Cleanup options. 2019-12-18 15:26:21 +00:00
James Benton
bc50cba385 ios/fs: Add support for logging of all filesystem operations.
More interesting filesystem operations like open file are debug, the less
interesting ones like read file are trace.
2019-12-18 15:26:21 +00:00
James Benton
66c7ec0603 decaf: Add support for setting log level per logger.
For example you might have in your config.toml file:
[log.levels]
ios_fs = "trace"
2019-12-18 15:26:21 +00:00
James Benton
6256521c63 coreinit: Mark OSExitThread as noreturn. 2019-12-18 15:26:21 +00:00
James Benton
6aa8d2b0f0 decaf-qt: Fix invalid code hidden in assert. 2019-12-18 15:26:21 +00:00
James Benton
f9af9c7bbf vfs: Ensure directory iteration returns contents sorted alphabetically. 2019-12-18 15:26:21 +00:00
James Benton
1474e054fc common: Fix string_copy on non-Windows platforms. 2019-12-18 14:09:59 +00:00
James Benton
b26df065b4 vfs: Use cross platform std::errc for translating errors in host device. 2019-12-17 11:14:02 +00:00
James Benton
abfd8327da cafe/nsysnet: Remove initialiseNSSL function.
Can be done with a constructor instead.
2019-12-17 11:06:39 +00:00