summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/ns (follow)
Commit message (Collapse)AuthorAgeFilesLines
* kernel: Eliminate kernel global stateLioncash2018-08-291-1/+2
| | | | | | | | | | | | | | | | | | | | | | As means to pave the way for getting rid of global state within core, This eliminates kernel global state by removing all globals. Instead this introduces a KernelCore class which acts as a kernel instance. This instance lives in the System class, which keeps its lifetime contained to the lifetime of the System class. This also forces the kernel types to actually interact with the main kernel instance itself instead of having transient kernel state placed all over several translation units, keeping everything together. It also has a nice consequence of making dependencies much more explicit. This also makes our initialization a tad bit more correct. Previously we were creating a kernel process before the actual kernel was initialized, which doesn't really make much sense. The KernelCore class itself follows the PImpl idiom, which allows keeping all the implementation details sealed away from everything else, which forces the use of the exposed API and allows us to avoid any unnecessary inclusions within the main kernel header.
* Addressed plu TTF changesDavid Marcec2018-08-231-6/+7
|
* Added SharedFonts loading via TTFDavid Marcec2018-08-231-5/+50
| | | | | | | | | | | By having the following TTF files in your yuzu sysdata directory. You can load sharedfonts via TTF files. FontStandard.ttf FontChineseSimplified.ttf FontExtendedChineseSimplified.ttf FontChineseTraditional.ttf FontKorean.ttf FontNintendoExtended.ttf FontNintendoExtended2.ttf
* Added missing include for pl:uDavid Marcec2018-08-221-0/+1
| | | | Should fix any compile errors
* PL:U Added BFTTF loading(Loading from System NAND dumps) (#1088)David2018-08-221-25/+140
| | | | | | | | | | | | * Added bfttf loading We can now load system bfttf fonts from system archives AND shared memory dumps. This allows people who have installed their system nand dumps to yuzu to automatically get shared font support. We also now don't hard code the offsets or the sizes of the shared fonts and it's all calculated for us now. * Addressed plu fixups * Style changes for plu * Fixed logic error for plu and added more error checks.
* service/ns: Add missing ns servicesLioncash2018-08-021-0/+447
| | | | | | Implements the basic skeleton of ns:am2, ns:ec, ns:rid, ns:rt, ns:su, ns:vm, and ns:web based off the information provided by Switch Brew and SwIPC.
* file_util: Use an enum class for GetUserPath()Lioncash2018-07-211-1/+1
| | | | | | | | | | | | | Instead of using an unsigned int as a parameter and expecting a user to always pass in the correct values, we can just convert the enum into an enum class and use that type as the parameter type instead, which makes the interface more type safe. We also get rid of the bookkeeping "NUM_" element in the enum by just using an unordered map. This function is generally low-frequency in terms of calls (and I'd hope so, considering otherwise would mean we're slamming the disk with IO all the time) so I'd consider this acceptable in this case.
* pl_u: Simplify WriteBuffer() calls in GetSharedFontInOrderOfPriority()Lioncash2018-07-201-3/+3
| | | | With the new overload, we can simply pass the container directly.
* Merge pull request #725 from lioncash/bytesbunnei2018-07-201-3/+3
|\ | | | | pl_u: Specify correct size for buffers in GetSharedFontInOrderOfPriority()
| * pl_u: Specify correct size for buffers in GetSharedFontInOrderOfPriority()Lioncash2018-07-191-3/+3
| | | | | | | | | | This WriteBuffer overload expects its size argument to be in bytes, not elements.
* | pl_u: Remove printf specifier in log call in a log call in GetSharedFontInOrderOfPriority()Lioncash2018-07-191-1/+1
|/ | | | This can just use the fmt specifiers and be type-agnostic.
* Rename logging macro back to LOG_*James Rowe2018-07-031-7/+7
|
* GetSharedFontInOrderOfPriority (#381)David2018-05-012-1/+27
| | | | | | | | | | | | | | | | | | | | * GetSharedFontInOrderOfPriority * Update pl_u.cpp * Ability to use ReadBuffer and WriteBuffer with different buffer indexes, fixed up GetSharedFontInOrderOfPriority * switched to NGLOG * Update pl_u.cpp * Update pl_u.cpp * language_code is actually language code and not index * u32->u64 * final cleanups
* ns: Move logging macros over to new fmt-compatible onesLioncash2018-04-241-6/+6
|
* service: Use nested namespace specifiers where applicableLioncash2018-04-204-16/+8
| | | | Tidies up namespace declarations
* pl_u: Use empty shared font if none is available.bunnei2018-04-151-17/+14
| | | | - Makes games work in lieu of shared_font.bin.
* Updated pl:u with more service names.Hexagon122018-04-101-1/+3
|
* pl_u: Add RequestLoad.bunnei2018-03-252-0/+11
|
* core: Move process creation out of global state.bunnei2018-03-141-4/+5
|
* pl_u: Implement basic shared font loading from RAM dump.bunnei2018-02-154-0/+176
|
* Remove lots more 3DS-specific code.bunnei2017-10-134-87/+0
|
* Services/NS: Port ns:s to the new service framework.Subv2017-09-164-0/+87