| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | | |
Serves no actual purpose in this instance besides making NACP's copy assignment deleted, which is not intended behavior.
|
| |/ / / / /
| | | | |
| | | | | |
Allows these functions to compile when T is not u8.
|
| |\ \ \ \ \
| |/ / / /
|/| | | | |
svc: Implement SetThreadActivity (thread suspension)
|
| | | | | | |
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
Port citra-emu/citra#4164: "citra_qt, video_core: Screenshot functionality"
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
Allows capturing screenshot at the current internal resolution (native for software renderer), but a setting is available to capture it in other resolutions. The screenshot is saved to a single PNG in the current layout.
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | | |
am: Implement HLE profile selector applet
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Fixes bugs relating to signalling in software keyboard.
|
| | | | | | | |
| | | | | | |
| | | | | | | |
Presents profiles in a list, similar to switch.
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | |
| | | | | | | |
Allows the player to select an emulated profile.
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | |
| | | | | | | |
Responsible for selecting a profile and firing callback upon completion.
|
| | | | | | | |
| | | | | | |
| | | | | | | |
Previously, ILibraryAppletAccessor would signal upon creation of any applet, but this is incorrect. A flag inside of the applet code determines whether or not creation should signal state change and swkbd happens to be one of these applets.
|
| |\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Fixed uninitialized memory due to missing returns in canary
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Functions which are suppose to crash on non canary builds usually don't return anything which lead to uninitialized memory being used.
|
| |\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
kernel/{process, thread}: Amend behavior related to IDs
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
If a thread handle is passed to svcGetProcessId, the kernel attempts to
access the process ID via the thread's instance's owning process.
Technically, this function should also be handling the kernel debug
objects as well, however we currently don't handle those kernel objects
yet, so I've left a note via a comment about it to remind myself when
implementing it in the future.
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Starts the process ID counter off at 81, which is what the kernel itself
checks against internally when creating processes. It's actually
supposed to panic if the PID is less than 81 for a userland process.
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
The service call uses a 64-bit value, just like svcGetProcessId. This
amends the function signature accordingly.
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
The kernel uses a 64-bit value for the thread ID, so we shouldn't be
using a 32-bit value.
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
svcGetProcessId's out parameter is a pointer to a 64-bit value, not a
32-bit one.
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
In the actual kernel, this is a 64-bit value, so we shouldn't be using a
32-bit type to handle it.
|
| |\ \ \ \ \ \ \ \ \
| |_|_|_|_|_|/ / /
|/| | | | | | | | |
service/am: Unstub GetAppletResourceUserId
|
| | |/ / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
This is supposed to return the current process' ID. (0 indicates an
invalid ID for both process IDs and ARU IDs).
|
| |\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Device handle should not be a random id, instead it's the current npad id
|
| | | |/ / / / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | | |
Found during hardware testing
|
| |\ \ \ \ \ \ \ \
| |_|_|_|_|_|/ /
|/| | | | | | | |
service/sm: Improve debug log for RegisterService
|
| | | |/ / / / /
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Now it also indicates the name and max session count. This also gives a
name to the unknown bool. This indicates if the created port is supposed
to be using light handles or regular handles internally. This is passed
to the respective svcCreatePort parameter internally.
|
| |\ \ \ \ \ \ \
| |_|/ / / / /
|/| | | | | | |
kernel/svc: Implement svcSetMemoryAttribute
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
With all the basic backing functionality implemented, we can now unstub
svcSetMemoryAttribute.
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
address range
This puts the backing functionality for svcSetMemoryAttribute in place,
which will be utilized in a following change.
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
certain attributes, permissions and states
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This is shorter and more concise. This also removes the now-innaccurate
comment, as it's not returned wholesale to svcQueryMemory anymore.
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Adds the barebones enumeration constants and functions in place to
handle memory attributes, while also essentially leaving the attribute
itself non-functional.
|
| |\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
kernel/thread: Set default fpcr
|
| | | |/ / / / /
| |/| | | | | |
|
| |\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
arm_dynarmic: Set CNTFRQ value
|
| | |/ / / / / / |
|
| |\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
applets: Correct usage of SignalStateChanged event
|
| | | |_|/ / /
| |/| | | |
| | | | | |
| | | | | | |
This was causing some games (most notably Pokemon Quest) to softlock due to an event being fired when not supposed to. This also removes a hack wherein we were firing the state changed event when the game retrieves it, which is incorrect.
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | | |
nvhost_gpu: Skip empty GPU command lists.
|
| | | | | | | | |
|
| |\ \ \ \ \ \ \
| |_|_|/ / / /
|/| | | | | | |
Fix Service object leak on emulation stop
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Services created with the ServiceFramework base class install themselves as HleHandlers with an owning shared_ptr in the ServerPort ServiceFrameworkBase::port member variable, creating a cyclic ownership between ServiceFrameworkBase and the ServerPort, preventing deletion of the service objects.
Fix that by removing the ServiceFrameworkBase::port member because that was only used to detect multiple attempts at installing a port. Instead store a flag if the port was already installed to achieve the same functionality.
|
| |\ \ \ \ \ \ \
| |_|/ / / / /
|/| | | | | | |
svc: Implement yield types 0 and -1
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | |
| | | | | | | |
This will automatically occur anyway when PrepareReschedule is called
|