Fernando Sahmkow
95b804ff05
NVFlinger: Do the microprofile Flip after processing a valid frame.
6 years ago
Morph
e1efab1f51
AM/ICommonStateGetter: Stub SetLcdBacklighOffEnabled ( #3454 )
* Stub SetLcdBacklighOffEnabled
Used by Super Smash Bros. Ultimate
We require backlight services to be implemented to turn on/off the backlight.
* Address feedback
6 years ago
Brian Clinkenbeard
ad4e5c15fb
httplib compatibility
6 years ago
CJBok
23c4cc80e2
analog_from_button get direction implementation
6 years ago
Nguyen Dac Nam
5257a83ebe
IUserLocalCommunicationService: add function Initialize2
6 years ago
Nguyen Dac Nam
6c0eb6026b
HLE: correct function name of IUserLocalCommunicationService
402: function name should be Initialize2 (7.0.0+) not SetOperationMode
Follow by: https://switchbrew.org/wiki/LDN_services#IUserLocalCommunicationService
6 years ago
namkazy
7fadc9c180
nvhost_gpu: implement ChannelSetTimeslice
6 years ago
Lioncash
f00a54f508
bcat/backend: Make formatting of passphrase consistent in NullBackend::SetPassphrase()
Aligns the '=' to be consistent with the rest of the logs within this
source file.
6 years ago
Lioncash
eefd97e80d
bcat/backend: Prevent fmt exception in debug log within NullBackend::Clear()
A formatting specifier within Clear wasn't being used, which will cause
fmt to throw an exception. This fixes that.
6 years ago
Fernando Sahmkow
1e6f8aba04
Core: Set all hardware emulation constants in a single file.
6 years ago
makigumo
926ea5a16d
update hwopus DecodeInterleaved for FW 7.0.0+
trivial change,
see https://switchbrew.org/wiki/Audio_services#IHardwareOpusDecoder
6 years ago
bunnei
7b07e521ca
hle: services: Use std::shared_ptr instead of copy by value.
6 years ago
bunnei
3a0c1e79f8
am: Correct IPC object count mismatch.
6 years ago
bunnei
77da74e17a
services: am: Clear events on PopOutData and PopInteractiveOutData.
6 years ago
bunnei
84e895cdd6
am: Refactor IStorage interface.
6 years ago
bunnei
3557fa25d0
applets: software_keyboard: Signal state change on end of interactive session.
6 years ago
bunnei
be5fcffb89
applets: software_keyboard: Minor cleanup.
6 years ago
bunnei
2245c24e21
services: prepo: Fix IPC interface with SaveReport/SaveReportWithUser.
6 years ago
bunnei
2a822f3378
bsd: Stub several more functions.
- Required for Little Town Hero to boot further.
6 years ago
bunnei
ed76c71319
service: time: Implement ToPosixTimeWithMyRule.
- Used by Pokemon Mystery Dungeon.
6 years ago
bunnei
7113236b30
time: Fix month off-by-one error.
- Fixes timestamp in ZLA and Astral Chain saves.
6 years ago
CJBok
635deb70d4
Moved analog direction logic to sdl_impl
6 years ago
CJBok
231d9c10f3
Corrected directional states sensitivity
6 years ago
CJBok
ae7fd01e38
hid: Fix analog sticks directional states
6 years ago
bunnei
be5c149d37
service: time: Implement GetStandardLocalSystemClock.
6 years ago
bunnei
361285add9
time: Remove overflow error checking (currently breaks ADO builds).
6 years ago
bunnei
a4e840181c
service: time: Implement GetClockSnapshotFromSystemClockContext.
6 years ago
bunnei
fab2607c6b
service: time: Implement IsStandardNetworkSystemClockAccuracySufficient.
6 years ago
bunnei
78f977c980
service: time: Rewrite implementation of glue services.
6 years ago
bunnei
5135b74179
core: Initialize several structs that make use of Common::UUID.
6 years ago
bunnei
64c5631579
service: vi: Implement CloseLayer.
- Needed for Undertale.
6 years ago
Markus Wick
cb9dd01ffd
video_core: Block in WaitFence.
This function is called rarely and blocks quite often for a long time.
So don't waste power and let the CPU sleep.
This might also increase the performance as the other cores might be allowed to clock higher.
6 years ago
Fernando Sahmkow
a5bb1ac6e3
NvServices: Correct Ioctl Remap.
This commit corrects a padding value in Ioctl Remap that was actually an
offset to the mapping address.
6 years ago
bunnei
c3d3b173d3
kernel: Implement a more accurate IPC dispatch.
7 years ago
Lioncash
a3149536e2
file_sys/directory: Make EntryType an enum class
This can trivially be an enum class rather than a regular enum, making
it more strongly typed.
7 years ago
Lioncash
b05bfc6036
core/memory: Migrate over Read{8, 16, 32, 64, Block} to the Memory class
With all of the trivial parts of the memory interface moved over, we can
get right into moving over the bits that are used.
Note that this does require the use of GetInstance from the global
system instance to be used within hle_ipc.cpp and the gdbstub. This is
fine for the time being, as they both already rely on the global system
instance in other functions. These will be removed in a change directed
at both of these respectively.
For now, it's sufficient, as it still accomplishes the goal of
de-globalizing the memory code.
7 years ago
Lioncash
536fc7f0ea
core: Prepare various classes for memory read/write migration
Amends a few interfaces to be able to handle the migration over to the
new Memory class by passing the class by reference as a function
parameter where necessary.
Notably, within the filesystem services, this eliminates two ReadBlock()
calls by using the helper functions of HLERequestContext to do that for
us.
7 years ago
bunnei
ec0ce96c56
core_timing: Use better reference tracking for EventType. ( #3159 )
* core_timing: Use better reference tracking for EventType.
- Moves ownership of the event to the caller, ensuring we don't fire events for destroyed objects.
- Removes need for unique names - we won't be using this for save states anyways.
7 years ago
bunnei
9046d4a548
kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for kernel objects. ( #3154 )
* kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for kernel objects.
- See https://github.com/citra-emu/citra/pull/4710 for details.
7 years ago
Lioncash
2c4c2b5eee
service/am: Remove unnecessary Skip calls
We can simplify these by wrapping the necessary members in structs and
then simply reading out the whole struct.
7 years ago
Lioncash
1cd8637bf0
am: Stub QueryApplicationPlayStatistics
Maintains implementation parity between QueryApplicationPlayStatistics
and QueryApplicationPlayStatisticsByUid.
These function the same behaviorally underneath the hood, with the only
difference being that one allows specifying a UID.
7 years ago
Lioncash
e21b6ff79d
service: Update function tables
Keeps the function tables up to date.
Updated based off information from Switchbrew.
7 years ago
Lioncash
e0c46e6879
core: Migrate off deprecated mbedtls functions
These functions are marked for deprecation and it's recommended that the
*_ret variants be used instead.
7 years ago
Lioncash
f11b87ebf1
service: Resolve sign conversion errors
These are fairly trivial to resolve and most of the changes entail
using RESULT_UNKNOWN over ResultCode(-1).
7 years ago
Michael Scire
b0b0786493
Implement stub for QueryApplicationPlayStatisticsByUid
7 years ago
Fernando Sahmkow
3c95e49c42
nifm: Only return that there's an internet connection when there's a BCATServer
This helps games that need internet for other purposes boot as the rest
of our internet infrastructure is incomplete.
7 years ago
bunnei
1bdae0fe29
common_func: Use std::array for INSERT_PADDING_* macros.
- Zero initialization here is useful for determinism.
7 years ago
bunnei
b0ab803ce8
kernel: events: Remove ResetType::Automatic.
- This does not actually seem to exist in the real kernel - games reset these automatically.
# Conflicts:
# src/core/hle/service/am/applets/applets.cpp
# src/core/hle/service/filesystem/fsp_srv.cpp
7 years ago
FearlessTobi
832c138eff
core/am: Stub InitializeApplicationCopyrightFrameBuffer, SetApplicationCopyrightImage and SetApplicationCopyrightVisibility
These commands require Screenshots to be implemented anyway, so they are safe to stub for now.
7 years ago
Lioncash
8d8e495248
hid/npad: Fix incorrect connection boolean value in ConnectAllDisconnectedControllers()
We should be setting the connection state to true, otherwise we aren't
actually making the controllers connected like the function name
indicates.
7 years ago