| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It appears that the two members indicate whether a display has a bounded
number of layers (and if set, the second member indicates the total
number of layers).
|
| | |/ /
|/| |
| | |
| | |
| | |
| | | |
testing to confirm)
Upon investigating the issue with #1878, I found that games are the ones who handle the vsync event resetting and not us.
|
| |\ \ \
| | | |
| | | | |
service/vi: Implement OpenDefaultDisplay in terms of OpenDisplay
|
| | |/ /
| | |
| | |
| | |
| | |
| | | |
Internally within the vi services, this is essentially all that
OpenDefaultDisplay does, so it's trivial to just do the same, and
forward the default display string into the function.
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
This IPC command is simply a stub inside the actual service itself, and
just returns a successful error code regardless of input. This is likely
only retained in the service interface to not break older code that relied
upon it succeeding in some way.
|
| |\ \ \
| | | |
| | | | |
service/vi: Log more information where applicable
|
| | |/ /
| | |
| | |
| | |
| | |
| | | |
In many cases, we didn't bother to log out any of the popped data
members. This logs them out to the console within the logging call to
provide more contextual information.
|
| |/ /
| |
| |
| | |
Gets rid of a few unnecessary header dependencies in some source files.
|
| |\ \
| | |
| | | |
arm_interface: Minor cleanup
|
| | | |
| | |
| | |
| | | |
Makes it consistent with the rest of the includes.
|
| | | |
| | |
| | |
| | | |
This function doesn't modify instance state, so it can be made const.
|
| | | |
| | |
| | |
| | |
| | | |
Two of these variables have fixed values, so we can make that
immediately obvious from the get-go.
|
| | | |
| | |
| | |
| | |
| | | |
Namespaces don't require the use of a semicolon. Silences a -Wextra-semi
warning.
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is a bounds check to ensure that the thread priority is within the
valid range of 0-64. If it exceeds 64, that doesn't necessarily mean
that an actual priority of 64 was expected (it actually means whoever
called the function screwed up their math).
Instead clarify the message to indicate the allowed range of thread
priorities.
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Now that we handle the kernel capability descriptors we can correct
CreateThread to properly check against the core and priority masks
like the actual kernel does.
|
| | | |
| | |
| | |
| | |
| | |
| | | |
GetAllowedThreadPriorityMask()
Makes them consistent with their kernel capability counterparts.
|
| |/ /
| |
| |
| |
| | |
Rather than use a switch here, this can be collapsed into a simple range
check, which is a little easier on the eyes.
|
| |\ \
| | |
| | | |
kernel/process: Start the main thread using the specified ideal core
|
| | | |
| | |
| | |
| | |
| | | |
This matches kernel behavior in that processes are started using their
specified ideal core, rather than always starting on core 0.
|
| | | |
| | |
| | |
| | |
| | |
| | | |
This makes the naming more closely match its meaning. It's just a
preferred core, not a required default core. This also makes the usages
of this term consistent across the thread and process implementations.
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This function isn't a general purpose function that should be exposed to
everything, given it's specific to initializing the main thread for a
Process instance.
Given that, it's a tad bit more sensible to place this within
process.cpp, which keeps it visible only to the code that actually needs
it.
|
| |\ \ \
| | | |
| | | | |
Print backtrace on svcBreak
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
Added to both dynarmic and unicorn
|
| | | | |
| | | |
| | | |
| | | | |
When we get an svcBreak we get a backtrace now
|
| | | | |
| | | |
| | | |
| | | | |
Moves some variables closer to their actual usage sites.
|
| | |_|/
|/| | |
|
| |\ \ \
| | | |
| | | | |
file_sys/program_metadata: Print out more descriptive address space descriptions
|
| | | |/
| |/|
| | |
| | |
| | |
| | |
| | | |
Provides extra information that makes it easier to tell if an executable
being run is using a 36-bit address space or a 39-bit address space.
While we don't support AArch32 executables yet, this also puts in
distinguishing information for the 32-bit address space types as well.
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In all cases that these functions are needed, the VMManager can just be
retrieved and used instead of providing the same functions in Process'
interface.
This also makes it a little nicer dependency-wise, since it gets rid of
cases where the VMManager interface was being used, and then switched
over to using the interface for a Process instance. Instead, it makes
all accesses uniform and uses the VMManager instance for all necessary
tasks.
All the basic memory mapping functions did was forward to the Process'
VMManager instance anyways.
|
| |\ \
| | |
| | | |
kernel: Handle kernel capability descriptors
|
| | | |
| | |
| | |
| | |
| | | |
While we're at it, we can also toss out the leftover capability parsing
from Citra.
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | | |
This just specifies the handle table size. There's also a section of
reserved bits that are checked against.
|
| | | | |
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Similar to the service capability flags, however, we currently don't
emulate the GIC, so this currently handles all interrupts as being valid
for the time being.
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Handles the priority mask and core mask flags to allow building up the
masks to determine the usable thread priorities and cores for a kernel
process instance.
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
We've had the old kernel capability parser from Citra, however, this is
unused code and doesn't actually map to how the kernel on the Switch
does it. This introduces the basic functional skeleton for parsing
process capabilities.
|
| |\ \ \
| | | |
| | | | |
hid: Fix SetNpadJoyHoldType and improve logging.
|
| | | | | |
|
| |\ \ \ \
| | | | |
| | | | | |
npad: Remove code to invert input in horizontal mode.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- This was incorrect, the game appears to handle this for us.
- Fixes horizontal mode with Puyo Puyo Tetris and Super Mario Odyssey.
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
kernel/vm_manager: Reset region attributes when unmapping a VMA
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Like the other members related to memory regions, the attributes need to
be reset back to their defaults as well.
|
| | | | | | |
| | | | | |
| | | | | | |
These functions come in a pair and are needed by Smash Ultimate, Minecraft, and Skyrim, amongst others.
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | | |
This stores a file in the save directory called '.yuzu_save_size' which stores the two save sizes (normal area and journaled area) sequentially as u64s.
|