Lioncash
2f0474efa5
dyncom: Handle unprivileged load/store variants correctly
...
LDRT/LDRBT/STRBT/STRT should simulate the load or store
as if the host CPU is in user mode.
STRT is also allowed to use the PC as an operand
2015-12-19 19:05:50 -05:00
Lioncash
00ca148685
svc: Fix compilation with LOG_TRACE enabled
2015-12-12 18:14:36 -05:00
Yuri Kunde Schlesner
e73547de5b
Merge pull request #1272 from yuriks/merge-rasterizer
...
VideoCore: Unify interface to OpenGL and SW rasterizers
2015-12-07 20:21:06 -08:00
Yuri Kunde Schlesner
102d39fe20
VideoCore: Unify interface to OpenGL and SW rasterizers
...
This removes explicit checks sprinkled all over the codebase to instead
just have the SW rasterizer expose an implementation with no-ops for
most operations.
2015-12-07 20:20:38 -08:00
Yuri Kunde Schlesner
192829165a
VideoCore: Rename HWRasterizer methods to be less confusing
2015-12-06 19:08:37 -08:00
Lioncash
8813673601
dyncom: Remove static keyword from header functions
2015-12-06 15:14:51 -05:00
Lioncash
0f083bdf0f
arm_interface: Make GetNumInstructions const
2015-12-06 15:07:59 -05:00
Lioncash
dd441a3dd6
arm_interface: directly initialize class members
2015-12-06 15:07:00 -05:00
Lioncash
93cd3dccc5
dyncom: const correctness changes
2015-12-06 15:03:06 -05:00
bunnei
3a96788f4f
Merge pull request #1252 from Subv/cam
...
Services/Cam: Added new log type and camera enums from 3dbrew.
2015-12-03 22:01:45 -05:00
Yuri Kunde Schlesner
5bed732b03
Kernel: Implement svcGetSystemInfo
...
This makes smealum/ctrulib@b96dd51d33 work
with Citra.
2015-11-30 19:49:44 -08:00
Lioncash
af06eaf78d
armstate: Zero out the registers on creation
...
std::array isn't always guaranteed to explicitly zero out it's contents
without an initializer list.
2015-11-29 15:16:34 -05:00
Subv
a84d5aa51e
Core/ARM11: Correct the size of the VFP register array in the ThreadContext structure.
...
The VFP registers are 64 bits each, and there are 32 of them.
2015-11-29 13:06:45 -05:00
bunnei
ae854d124f
Merge pull request #1225 from lioncash/clean
...
csnd_snd: Get rid of type punning
2015-11-28 23:32:05 -05:00
bunnei
56f3db72cb
Merge pull request #1248 from polaris-/add-ssl-stubs
...
Add stub functions for Initialize and GenerateRandomData in ssl:C
2015-11-24 16:15:21 -05:00
Subv
092d5b04ec
Services/Cam: Added new log type and camera enums from 3dbrew.
...
Followup to #1102
Original author @mailwl
2015-11-23 17:17:28 -05:00
polaris-
18990ff322
Add stub functions for Initialize and GenerateRandomData in ssl:C
2015-11-22 16:54:51 -05:00
bunnei
2b68cf07c7
Merge pull request #1246 from polaris-/patch-1
...
Fix read and write register blocks in gdbstub
2015-11-22 13:38:50 -05:00
polaris-
7603ea3da1
Add Initialize and GenerateRandomData stubs
2015-11-22 09:27:46 -05:00
polaris-
ec1195c252
Fix read and write register blocks in gdbstub
...
Previously, the padding wasn't correctly accounted for which caused the gdbstub to read and write everything after R15 (starting with the dummy FPA registers) incorrectly, which caused CPSR to not be handled correctly. Everything appears to be working as expected with this change.
2015-11-22 07:48:26 -05:00
bunnei
5f52cec725
Merge pull request #1122 from polaris-/gdbstub
...
gdbstub implementation
2015-11-11 23:21:31 -05:00
polaris-
505489551d
Fix bug with reading addresses and lengths
2015-11-03 21:50:53 -05:00
polaris-
fd7f61becf
Change headers
2015-10-29 06:17:29 -04:00
Lioncash
1349faf744
csnd_snd: Get rid of type punning
2015-10-28 16:10:21 -04:00
bunnei
58857f832e
Merge pull request #1165 from esoteric-programmer/master
...
Added CSND_ExecuteType0Commands stub.
2015-10-28 15:19:13 -04:00
Matthias Ernst
5c7881c4a3
Added CSND stub.
2015-10-28 19:04:01 +01:00
bunnei
62c57400e8
Merge pull request #1208 from archshift/free-bytes
...
Implement FS_User::GetFreeBytes
2015-10-28 11:30:25 -04:00
archshift
5da25ae7d0
Implement FS_User::GetFreeBytes
2015-10-27 23:33:59 -07:00
Filiph Sandström
23e1121337
Fix copy paste
2015-10-24 13:17:04 +02:00
Filiph Sandström
d248fba5e3
Fix wrong branch
2015-10-23 23:58:54 +02:00
Filiph Sandström
29077f65a2
Add GetTotalStepCount Stub
2015-10-23 23:52:13 +02:00
Filiph Sandström
bf5793c2f8
Update ptm.h
2015-10-23 23:50:51 +02:00
polaris-
ac325ce61a
Add some headers so TravisCI will hopefully work
2015-10-22 00:31:49 -04:00
polaris-
f4520eb266
Use CHAR_BIT instead of 8
2015-10-22 00:19:44 -04:00
polaris-
4e0ae45d99
Handle changes pointed out in comments on PR
2015-10-22 00:11:25 -04:00
polaris-
37b35180c5
Add a register variable to loops
2015-10-21 07:45:35 -04:00
polaris-
6c4f45627c
Update register read loops to go with last commit
2015-10-21 07:40:30 -04:00
polaris-
86a42ff827
Pad responses to gdb for VFP registers
2015-10-21 07:19:03 -04:00
polaris-
82f537482d
Try to add support for VFP registers
2015-10-21 07:14:43 -04:00
polaris-
0de246f668
Fix buffer overflow comments
2015-10-21 06:49:49 -04:00
bunnei
7de1f406b8
Merge pull request #1199 from Gareth422/encryption-check
...
Loader: Implement NCCH encryption check
2015-10-20 10:17:31 -04:00
polaris-
6621f16576
Remove unnecessary new lines, changed Deinit to Shutdown
2015-10-11 20:07:58 -04:00
Gareth Poole
780fd6247f
Loader: Change NCCH header types to be explicitly little-endian
2015-10-10 22:35:22 -04:00
Gareth Poole
1874d33c0b
Loader: Implement encryption check
2015-10-10 22:34:17 -04:00
bunnei
d52e81d425
Merge pull request #1194 from linkmauve/no-newline
...
Remove newlines in LOG_* calls
2015-10-10 14:42:17 -04:00
Emmanuel Gil Peyrot
b0c7762520
CitraQt, SkyEye, Loader, VideoCore: Remove newlines in LOG_* calls.
...
The LOG_* function itself already appends one.
2015-10-09 22:14:56 +01:00
Gareth Poole
cfeae1a4f5
Fixed spelling errors
2015-10-09 17:09:52 -04:00
Rohit Nirmal
c157d4ddd6
Silence -Wsign-compare warnings.
2015-10-06 22:16:15 -05:00
polaris-
8205925b08
Use BreakpointAddress struct instead of passing address directly
2015-10-04 11:22:31 -04:00
polaris-
1d319e5b46
Implement gdbstub
2015-10-04 11:16:59 -04:00