Commit Graph

6 Commits

Author SHA1 Message Date
Yuri Kunde Schlesner
1a64fc87b3 Fix crash when getting or setting struct params in CAM:U 2016-02-11 14:46:52 -08:00
Steven Smith
375fbce98a Service cleanup. 2015-11-11 08:57:54 -08:00
fincs
24a84a874f Fix some mistakes in 2797540a 2015-11-07 01:52:35 +01:00
fincs
2797540a3d Revise most services to follow these guidelines:
- Each service must have xyzInit/xyzExit (with that name)
- xyzInit/xyzExit use reference counting
- xyzExit returns void
- The utilities in <3ds/result.h> are used instead of manual error checking
- The intrinsics in <3ds/synchronization.h> are used instead of inline asm
- Other miscellaneous changes
  - APT now uses a lightweight lock instead of a mutex
  - Initial handle parameters in PTMU were killed
  - Explicit init'ion to 0 or NULL has been removed for global variables
    since they end up on .bss anyway
  - MIC hasn't been touched because it must be rewritten first
  - CFGNOR needs a slight touch before converting
  - SOC is still to be cleaned up
2015-11-07 01:25:31 +01:00
fincs
9bf546da45 () -> (void), again 2015-09-09 01:47:30 +02:00
Steven Smith
9d3b139255 Add cam:u support and basic documentation. 2015-09-08 16:26:56 -07:00