- Sep 08, 2018
-
-
bunnei authored
-
- Sep 07, 2018
-
-
CaptV0rt3x authored
-
CaptV0rt3x authored
-
Lioncash authored
Given we now have the kernel as a class, it doesn't make sense to keep the current process pointer within the System class, as processes are related to the kernel. This also gets rid of a subtle case where memory wouldn't be freed on core shutdown, as the current_process pointer would never be reset, causing the pointed to contents to continue to live.
-
- Sep 06, 2018
-
-
bunnei authored
-
bunnei authored
-
Lioncash authored
Ensures that the cache always has a deterministic initial state.
-
Lioncash authored
GetHandle() internally calls GetHandle() on the stream_buffer instance, which is a const member function, so this can be made const as well.
-
Lioncash authored
-
Lioncash authored
Implicit conversions during construction isn't desirable here.
-
Lioncash authored
Without this, the header file won't show up by default within IDEs such as Visual Studio.
-
Lioncash authored
The only reason this include was necessary, was because the constructor wasn't defaulted in the cpp file and the compiler would inline it wherever it was used. However, given Controller is forward declared, all those inlined constructors would see an incomplete type, causing a compilation failure. So, we just place the constructor in the cpp file, where it can see the complete type definition, allowing us to remove this include.
-
Lioncash authored
Orders the elements in the initializer list in the order they're specified in the class. This prevents compiler warnings about initialization order.
-
Lioncash authored
romfs.h doesn't need to be included in the header, the only real dependency here is common's swap.h that needs to be included.
-
Lioncash authored
These includes were previously being satisfied indirectly.
-
fearlessTobi authored
-
Markus Wick authored
IMO the old code is fine, but nvidia raises shader compiler warnings. Trivial fix through...
-
FernandoS27 authored
-
- Sep 05, 2018
-
-
Markus Wick authored
This is called ~3k times per frame in SMO ingame. My laptop spends ~3ms per frame on allocating and freeing this string. Let's just stop printing this kind of redundant information.
-
Lioncash authored
Orders the elements in the sequence to match the order in which they'll actually be initialized in.
-
Markus Wick authored
This patch caches VAO objects instead of re-emiting all pointers per draw call. Configuring this pointers is known as a fast task, but it yields too many GL calls. So for better performance, just bind the VAO instead of 16 pointers.
-
Lioncash authored
-
Markus Wick authored
The idea of this cache is to avoid redundant uploads. So we are going to cache the uploaded buffers within the stream_buffer and just reuse the old pointers. The next step is to implement a VBO cache on GPU memory, but for now, I want to check the overhead of the cache management. Fetching the buffer over PCI-E should be quite fast.
-
- Sep 04, 2018
-
-
Zach Hilman authored
-
Zach Hilman authored
-
Zach Hilman authored
-
Zach Hilman authored
Now display correct error instead of catch-all MissingProgramNCA
-
Zach Hilman authored
-
Zach Hilman authored
-
Zach Hilman authored
Mainly, from control.nacp metadata instead of cnmt metadata
-
Zach Hilman authored
Fixes base game read errors
-
Zach Hilman authored
-
Zach Hilman authored
-
Zach Hilman authored
-
Zach Hilman authored
-
Zach Hilman authored
-
Zach Hilman authored
-
Zach Hilman authored
Right now only includes Updates, but should eventually contain all of the other patches we need.
-
Zach Hilman authored
-
Zach Hilman authored
-