1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-27 06:12:15 +00:00
Commit graph

12 commits

Author SHA1 Message Date
hexkyz
28e4d4411d Add and fix copyright notices for better GPL compliance (thanks @naehrwert and @CTCaer). 2018-09-07 16:00:13 +01:00
Tony Wasserka
ad636f7216 Modernize C++ usage (#144)
* Stratosphere: Use modern C++ idioms in some places

* algorithms like std::for_each are used instead of raw loops

* Stratosphere: Replace more raw loops with algorithms

* Stratosphere: Add a utility predicate function to test for equality with a reference element

This can be used to rewrite some common raw loops using algorithms instead

* fs.mitm: Use variant

* fs.mitm: Use enum class

* fs.mitm: Turn RomFSSourceInfo::Cleanup into a destructor

This obsoletes the need for a custom deleter in other places

* fs.mitm: Use enum class some more

* fs.mitm: Use unique_ptr

* fs.mitm: Simplify initialization

* Stratosphere: Simplify initialization

* fs.mitm: Use unique_ptr (fix memory leak along the way)

The previous code was using "delete" rather than "delete[]"

* fs.mitm: Use vector::emplace_back rather than push_back

emplace_back constructs elements in-place, hence avoiding a redundant element copy.

* Stratosphere: Replace more raw loops with algorithms

* Stratosphere: Use unique_ptr

* fs.mitm: Replace more raw loops with algorithms

* Stratosphere: Prefer move-construction over copy-construction when moving sink parameters around
2018-06-19 11:07:31 -07:00
TuxSH
cae107557d Fix the remaining warnings in stratosphère 2018-05-15 00:54:12 +02:00
Léo Lam
999498c0a0 Stratosphère: Simplify some for loops (#76)
Simplifies some loops by removing the need to manually calculate or
re-specify the array size. Eliminates any chance of using the
wrong size and less typing.
2018-05-03 16:24:34 -07:00
Michael Scire
6a51ce25b3 Stratosphere: Skeleton create process up through the ProcessCreation::CreateProcess() call 2018-04-21 19:52:49 -06:00
Michael Scire
b6ba7b94b9 Stratosphere: Implement ldr:pm->GetProgramInfo() 2018-04-20 23:58:42 -06:00
Michael Scire
30e401d125 Stratosphere: Add Registration Management to Loader 2018-04-18 23:00:10 -06:00
Michael Scire
7fed8a4428 Stratosphere: Add debugging to loader, it can now be talked to on console successfully. 2018-04-18 16:24:40 -06:00
Michael Scire
c4db563261 Stratosphere: Skeleton ldr:dmnt 2018-04-18 03:30:34 -06:00
Michael Scire
21fa9ff17c Stratosphere: Fix removed add() in Launch Queue 2018-04-17 18:05:19 -06:00
Michael Scire
033cd8df24 Stratosphere: Launch Queue C style lib -> namespace 2018-04-17 18:04:41 -06:00
Michael Scire
c8d1342ddf Stratosphere: Add Launch Queue to Loader
Modified from RE done by @ogniK5377
2018-04-17 17:41:57 -06:00