mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-13 22:23:15 +00:00
core: Library cleanup (#1631)
* core: Split error codes into separate files * Reduces build times and is cleaner * core: Bring structs and enums to codebase style * core: More style changes
This commit is contained in:
parent
3d0aacd43d
commit
5b6e0ab238
114 changed files with 2158 additions and 2509 deletions
|
@ -23,7 +23,7 @@ constexpr int ORBIS_NET_CTL_HOSTNAME_LEN = 255 + 1;
|
|||
constexpr int ORBIS_NET_CTL_AUTH_NAME_LEN = 127 + 1;
|
||||
constexpr int ORBIS_NET_CTL_IPV4_ADDR_STR_LEN = 16;
|
||||
|
||||
typedef union OrbisNetCtlInfo {
|
||||
union OrbisNetCtlInfo {
|
||||
u32 device;
|
||||
OrbisNetEtherAddr ether_addr;
|
||||
u32 mtu;
|
||||
|
@ -45,7 +45,7 @@ typedef union OrbisNetCtlInfo {
|
|||
u32 http_proxy_config;
|
||||
char http_proxy_server[ORBIS_NET_CTL_HOSTNAME_LEN];
|
||||
u16 http_proxy_port;
|
||||
} SceNetCtlInfo;
|
||||
};
|
||||
|
||||
// GetInfo codes
|
||||
constexpr int ORBIS_NET_CTL_INFO_DEVICE = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue