| Age | Commit message (Collapse) | Author |
|
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.
|
|
gpu: Make memory_manager private
|
|
Makes the class interface consistent and provides accessors for
obtaining a reference to the memory manager instance.
Given we also return references, this makes our more flimsy uses of
const apparent, given const doesn't propagate through pointers in the
way one would typically expect. This makes our mutable state more
apparent in some places.
|
|
|
|
|
|
debug_utils: Minor individual interface changes
|
|
file_sys: Add support for NAX archives
|
|
Quite a bit of these aren't necessary directly within the debug_utils
header and can be removed or included where actually necessary.
|
|
qt: Add filename and title id to window title while running
|
|
startup" (#1142)
* Port #4013 from Citra: "Init logging sooner so we dont miss some logs on startup"
* Fix compilation
|
|
|
|
|
|
Helps with installed games by making the title not a hexadecimal id string, instead the name.
|
|
Allows frontend to create registration caches for use before a game has booted.
|
|
* Swap "Plus" with "Minus" on the controller GUI
Major fix /s
|
|
|
|
qt/main: Port part of citra(#3411), open savedata works
|
|
Port #3353 from Citra: "citra-qt: Add customizable speed limit target "
|
|
Port #3902 from Citra: "Add restart hotkey & menu option"
|
|
|
|
|
|
|
|
Avoids the need to rebuild multiple source files if the filesystem code
headers change.
This also gets rid of a few instances of indirect inclusions being
relied upon
|
|
|
|
Avoids potentially leaving this variable uninitialized based off the
loader failing to retrieve the ID value.
|
|
|
|
We can change this into an early-return if the filename is empty.
There's no need to include all of the code within the if statement.
|
|
This is user-facing text, so it should be marked as translatable by Qt.
|
|
Gets rid of truncation warnings about conversion to int. While we're at
it, we can also de-hardcode the buffer size being used.
|
|
file_sys: Add support for registration format
|
|
We can make the enum class type compatible with fmt by providing an
overload of operator<<.
While we're at it, perform proper bounds checking. If something exceeds
the array, it should be a hard fail, because it's, without a doubt, a
programmer error in this case.
|
|
|
|
Avoids unnecessary rebuilds of control data on every layer of recursion in AddFstEntriesToGameList
|
|
|
|
|
|
|
|
Prompts for title type on NCA files.
|
|
|
|
Gets the class out of the global namespace.
|
|
loader: Add more descriptive errors
|
|
Silences a warning about truncating from size_t to u32
|
|
We don't need to use a heap-allocated std::vector here, given we
explicitly know the bounds.
|
|
This is called automatically anyways.
|
|
clang-format fix
|
|
Full list of new errors and descriptions in core/loader/loader.h
|
|
|
|
|
|
|
|
|
|
|