Dan
d5c239a047
set: implement GetRegionCode
6 years ago
ReinUsesLisp
e656938a5a
time_zone_content_manager: Fix out of bounds read
There were cases where raw_data didn't contain enough
space to hold the zero terminator.
This was caught with -fsanitize=address.
6 years ago
Fernando Sahmkow
babc572a47
NVFlinger: Do the microprofile Flip after processing a valid frame.
6 years ago
Morph
055ebfc2e7
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
050a4362ad
httplib compatibility
6 years ago
CJBok
7ec4bd7793
analog_from_button get direction implementation
6 years ago
Nguyen Dac Nam
2807020c01
IUserLocalCommunicationService: add function Initialize2
6 years ago
Nguyen Dac Nam
c4e8f9589a
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
8bb64da7ac
nvhost_gpu: implement ChannelSetTimeslice
6 years ago
Lioncash
d5435df964
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
8792d4562c
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
6fc0790f3a
Core: Set all hardware emulation constants in a single file.
6 years ago
makigumo
b71b872e74
update hwopus DecodeInterleaved for FW 7.0.0+
trivial change,
see https://switchbrew.org/wiki/Audio_services#IHardwareOpusDecoder
6 years ago
bunnei
3edec585bc
hle: services: Use std::shared_ptr instead of copy by value.
6 years ago
bunnei
900b370e13
am: Correct IPC object count mismatch.
6 years ago
bunnei
141c06ca8b
services: am: Clear events on PopOutData and PopInteractiveOutData.
6 years ago
bunnei
b10a96347f
am: Refactor IStorage interface.
6 years ago
bunnei
0d376ae49e
applets: software_keyboard: Signal state change on end of interactive session.
6 years ago
bunnei
b1bd8d852a
applets: software_keyboard: Minor cleanup.
6 years ago
bunnei
7bdaae11ac
services: prepo: Fix IPC interface with SaveReport/SaveReportWithUser.
6 years ago
bunnei
ebb840daaf
bsd: Stub several more functions.
- Required for Little Town Hero to boot further.
6 years ago
bunnei
dcd1617ee2
service: time: Implement ToPosixTimeWithMyRule.
- Used by Pokemon Mystery Dungeon.
6 years ago
bunnei
c0a7b5ee4c
time: Fix month off-by-one error.
- Fixes timestamp in ZLA and Astral Chain saves.
6 years ago
CJBok
be576083dd
Moved analog direction logic to sdl_impl
6 years ago
CJBok
5af2a8b2f6
Corrected directional states sensitivity
6 years ago
CJBok
57998ae780
hid: Fix analog sticks directional states
6 years ago
bunnei
18e502d636
service: time: Implement GetStandardLocalSystemClock.
6 years ago
bunnei
940ed35ee2
time: Remove overflow error checking (currently breaks ADO builds).
6 years ago
bunnei
2fef8d9feb
service: time: Implement GetClockSnapshotFromSystemClockContext.
6 years ago
bunnei
0d1c9fe2a9
service: time: Implement IsStandardNetworkSystemClockAccuracySufficient.
6 years ago
bunnei
ac22daaf4f
service: time: Rewrite implementation of glue services.
6 years ago
bunnei
9431286523
core: Initialize several structs that make use of Common::UUID.
6 years ago
bunnei
cbaf3b3c40
service: vi: Implement CloseLayer.
- Needed for Undertale.
6 years ago
Markus Wick
4bdaebe33e
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
367257a258
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
4a4516868c
kernel: Implement a more accurate IPC dispatch.
6 years ago
Lioncash
a56ce41cc2
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.
6 years ago
Lioncash
cc3d6fdf73
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.
6 years ago
Lioncash
e04aeb9531
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.
6 years ago
bunnei
8b35acbd29
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.
6 years ago
bunnei
5cb0f276fe
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.
6 years ago
Lioncash
869878ac8d
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.
6 years ago
Lioncash
27611874d6
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.
6 years ago
Lioncash
0ab5dd8c7f
service: Update function tables
Keeps the function tables up to date.
Updated based off information from Switchbrew.
6 years ago
Lioncash
4c6cd8b9e8
core: Migrate off deprecated mbedtls functions
These functions are marked for deprecation and it's recommended that the
*_ret variants be used instead.
6 years ago
Lioncash
20d6637c03
service: Resolve sign conversion errors
These are fairly trivial to resolve and most of the changes entail
using RESULT_UNKNOWN over ResultCode(-1).
6 years ago
Michael Scire
f0cea0cb13
Implement stub for QueryApplicationPlayStatisticsByUid
6 years ago
Fernando Sahmkow
28b227fe12
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.
6 years ago
bunnei
fe02b9f968
common_func: Use std::array for INSERT_PADDING_* macros.
- Zero initialization here is useful for determinism.
6 years ago
bunnei
eeef564c02
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
6 years ago