Commit Graph

4450 Commits

Author SHA1 Message Date
James Benton
a4ac540a61 kernel: Add missing registration for /dev/usr_cfg device. 2017-06-26 23:26:29 +01:00
James Benton
3bcfb5c1d5 ios/im: Add missing ioctlv calls. 2017-06-26 23:26:28 +01:00
James Benton
b4c7da535c kernel: Fix iosGetErrorCode. 2017-06-26 23:26:27 +01:00
James Benton
073c52dad6 cpu: Fix some issues with be2 types. 2017-06-26 23:26:26 +01:00
James Benton
c669d21588 ios: Fix usage of vaddr / paddr.
paddr should be used only in IOS / ARM side code.
vaddr should be used in coreinit and all PPC side code.
2017-06-26 23:26:25 +01:00
James Benton
08000088da sysapp: Fix usage of old enum value names for MCPRegion.
No more ethnic slurs ;D?
2017-06-26 23:26:24 +01:00
James Benton
cc287f5732 sci: Fix value type for SCIError enum. 2017-06-26 23:26:23 +01:00
James Benton
b92344ed90 coreinit: Fix using operator| hack.
Was needed because flags had wrong operator namespace.
2017-06-26 23:26:22 +01:00
James Benton
29b95710ff kernel: Remove iosGetDevice from kernel_ios.h
Should be static to .cpp only.
2017-06-26 23:26:20 +01:00
James Benton
1efa3aafa4 gpu: Fix values for register enums PA_SC_VPORT_{ZMIN,ZMAX}. 2017-06-26 23:26:20 +01:00
James Benton
939fe9bfe0 gpu: Unify resource register enum values into SQ_RESOURCE_WORDX_Y. 2017-06-26 23:26:18 +01:00
James Benton
0ee6d0fcee common: Define flags operators in the flag namespace. 2017-06-26 16:12:31 +01:00
James Benton
7e2275604f coreinit: Add some more info for OSSetThreadRunQuantum.
Need to finish the implementation, but it is effort.
2017-06-23 00:23:33 +01:00
James Benton
0ed6ebc093 Add sci module for creating default system settings.
This is actually a real module but can only be found statically linked into
games and thus will never be imported by anything. But we can copy the Init
functions from SCI to setup the default values for system settings.
2017-06-23 00:22:17 +01:00
James Benton
100a60b5b2 coreinit: Remove old UC enums. 2017-06-23 00:20:18 +01:00
James Benton
9ffedae5ae coreinit: Rename nanosToTicks to nsToTicks and add usToTicks. 2017-06-23 00:19:54 +01:00
James Benton
2aaf75af9c coreinit: Change user config functions to use IOS /dev/usr_cfg. 2017-06-23 00:19:19 +01:00
James Benton
77e44ddc50 ios: Add /dev/usr_cfg device. 2017-06-23 00:18:55 +01:00
James Benton
9db3fb76cd filesystem: Add fileExists and folderExists methods. 2017-06-23 00:17:00 +01:00
James Benton
63577e4de7 Add slc_path configuration option. 2017-06-23 00:16:44 +01:00
James Benton
3749bc91ab nn_cmpt: Add nn_cmpt module. 2017-06-20 01:07:01 +01:00
James Benton
487771fa96 nsysnet: Implement bind. 2017-06-20 00:40:01 +01:00
James Benton
189255af01 nsysnet: Implement connect. 2017-06-19 23:32:29 +01:00
James Benton
1e0656f6c2 ios: Initial implementation of /dev/socket 2017-06-19 23:18:16 +01:00
James Benton
1aaa91fb87 Refactor IOS devices.
More future proof! :D
2017-06-19 23:15:19 +01:00
James Benton
6172097c91 coreinit: Add declaration for ghs errno functions. 2017-06-19 11:36:08 +01:00
James Benton
6116730f57 cpu: Fix running with interpreter. 2017-06-19 11:35:37 +01:00
James Benton
00d8091e81 kernel: Rename kernel_ios_*device.* to kernel_ios_device_*.* 2017-06-18 23:45:45 +01:00
James Benton
f4ec163497 /dev/im: Implement /dev/im.
Handles power control settings, APD (Auto Power Down) and screen dimming.
2017-06-18 23:42:31 +01:00
James Benton
bf66281f40 /dev/fsa: Set initial working path to "/" 2017-06-18 23:40:53 +01:00
sepalani
9e47874421 ppcutils/va_list: Increment FPR counter 2017-06-13 01:58:05 -07:00
James Benton
54fa6aaf02 coreinit: Update OSSendMessage comment. 2017-05-26 18:03:48 +01:00
James Benton
361ea5494d decaf-sdl: Add support for dumping frames to TGA files. 2017-05-26 17:59:06 +01:00
James Benton
56ce6fadc9 gpu: Add support for dumping rendered frames to TGA files. 2017-05-26 17:59:06 +01:00
James Benton
11e8c8b4ca common: Add a TGA encoder. 2017-05-26 17:59:06 +01:00
James Benton
29dd56fc02 decaf-sdl: Fix default value for --vpad0 argument. 2017-05-26 17:59:06 +01:00
James Benton
3ee4e9af49 decaf-sdl: Remove --dx12 option. 2017-05-26 17:59:06 +01:00
James Benton
c9a671a8a0 coreinit: Fix OSSendMessage with HighPriority message flag. 2017-05-26 17:59:06 +01:00
James Benton
2bd0bdb841 cpu: Fix Pointer operator- 2017-05-25 14:47:15 -07:00
James Benton
b1d8cd4b6b coreinit: Remove duplicated definitions of fiber entry function types 2017-05-25 14:42:13 -07:00
James Benton
d8093b24ae libgpu: Change SQ_CF_WORD0 to use BITFIELD for consistency. 2017-05-11 20:35:02 +01:00
James Benton
1d0d2dc6cd libgpu: Check sizes of latte instruction structs. 2017-05-11 19:53:43 +01:00
James Benton
379d54973f cmake: Add *.inl to libgpu build. 2017-05-11 19:53:42 +01:00
James Benton
4e88001ed0 libgpu: Add SQ_ALU_SRC::REGISTER_TEMP_FIRST. 2017-05-11 19:47:03 +01:00
James Benton
b949a1f317 gx2: Clean up some missing indentation. 2017-05-11 19:46:53 +01:00
James Benton
c5c44e7e0a libgpu: Fix LOD_BIAS and OFFSET_{X,Y,Z} fields to use fixed point integers. 2017-05-11 00:32:22 +01:00
James Benton
831dd6e56f libgpu: Add missing macro args for ALU_OP2 2017-05-10 18:13:36 +01:00
James Benton
0c1033c038 libgpu: Add getInstructionByName for latte instructions. 2017-05-10 18:00:38 +01:00
James Benton
2632a477f2 libgpu: Fix some output in latte disassembler to closer match AMD ShaderAnalyzer. 2017-05-10 18:00:19 +01:00
James Benton
993826d3ee libgpu: Change SQ_TEX_WORD2.OFFSET_{X,Y,Z} to be signed. 2017-05-10 17:58:55 +01:00