David Marcec
2ecf188584
Removed un-needed count from ListOpenUsers and ListAllUsers
8 years ago
David Marcec
c4263ac188
Added better explanations in the profile manager
8 years ago
David Marcec
92c2ee35ca
Code cleanup for profile manager
8 years ago
David Marcec
20bd30f40c
Removed const from ProfileBase Invalidate
8 years ago
David Marcec
870c42561e
fixed invalid uuid bool operator
8 years ago
David Marcec
1a591d1087
Added GetOpenUserCount
8 years ago
David Marcec
6331edd14c
Removed all for loops from the profile manager
8 years ago
David Marcec
f690fbb921
Added missing ListAllUsers count
8 years ago
David Marcec
c951617732
If statement style change
8 years ago
David Marcec
0af4b65406
Second round of account changes
8 years ago
David Marcec
41aa6154ce
First round of account changes
8 years ago
David Marcec
56aa6b1c14
Refactored profile manager sharing
8 years ago
David Marcec
a1d7d82872
Added IsUserRegistrationRequestPermitted
8 years ago
Lioncash
38049444da
video_core; Get rid of global g_toggle_framelimit_enabled variable
Instead, we make a struct for renderer settings and allow the renderer
to update all of these settings, getting rid of the need for
global-scoped variables.
This also uncovered a few indirect inclusions for certain headers, which
this commit also fixes.
8 years ago
Lioncash
ff9e0e9727
buffer_queue: Make reference parameter of SetPreallocatedBuffer const
This is simply copied by value, so there's no need to make it a
modifiable reference.
While we're at it, make the names of the parameters match its
definition.
8 years ago
Lioncash
b9ec5ec5b4
hle_ipc: Make WriteToOutgoingCommandBuffer()'s reference parameter const
This function doesn't modify anything within the reference Thread
instance.
8 years ago
David Marcec
0f5cedb003
Don't add user if the uuid already exists
8 years ago
Zach Hilman
4cbef33915
core: Port core to VfsFilesystem for file access
8 years ago
Zach Hilman
653257de93
filesystem: Remove unnecessary if conditions
8 years ago
Lioncash
4cfe9fad75
fsp_srv: Use std::string_view's copy() function instead of strncpy()
Given elements inserted into a vector are zeroed out, we can just copy
MAX_LEN - 1 elements and the data will already be properly null
terminated.
8 years ago
Lioncash
a1320c53af
fsp_srv: Emplace entries first when building index instead of emplacing last
The current way were doing it would require copying a 768 character
buffer (part of the Entry struct) to the new element in the vector.
Given it's a plain array, std::move won't eliminate that.
Instead, we can emplace an instance directly into the destination buffer
and then fill it out, avoiding the need to perform any unnecessary
copies.
Given this is done in a loop, we can request the destination to allocate
all of the necessary memory ahead of time, avoiding the need to
potentially keep reallocating over and over on every few insertions into
the vector.
8 years ago
David Marcec
52f6050b88
Open first user added
8 years ago
David Marcec
43324c4188
Inital pass of account backend implementation
This commit verified working on puyo
8 years ago
David Marcec
c908d31bbf
GetProfileBase and GetProfileBaseAndData added
8 years ago
David Marcec
1aad022de2
began initial implementation of "ProfileManager"
8 years ago
mailwl
89cc070fcf
Service/Account: stub LoadImage function
8 years ago
David Marcec
d83491769e
Switched uuids from u128 to new UUID struct
8 years ago
mailwl
219c0dabe1
hid: fix IsSixAxisSensorAtRest() response
8 years ago
bunnei
e0f48e4daf
nvhost_gpu: Don't over copy IoctlSubmitGpfifo.
8 years ago
bunnei
5851753d2a
am: Stub SetScreenShotImageOrientation.
- Used by Super Mario Odyssey.
8 years ago
Lioncash
3266d0989f
acc: Add missing function table entries for GetUserCount
Given this is stubbed within the common module in
5ac7b84, it should be added to the other relevant tables as well.
8 years ago
bunnei
a0c94e433d
acc: Stub GetUserCount. ( #973 )
- Used by Pokken Tournament DX.
8 years ago
Lioncash
e8824d065b
nvdrv: Get rid of global std::weak_ptr
Rather than use global state, we can simply pass the instance into the
NVFlinger instance directly.
8 years ago
Lioncash
fdde0c66db
hle: Remove unused romfs.cpp/.h
These files are no longer used, so we can get rid of them.
8 years ago
Lioncash
a3f5289038
service/apm: Add the apm:sys service
Adds the basic skeleton of the apm:sys service based off the information
on Switch Brew.
8 years ago
Lioncash
64e8d3fd3d
nvflinger: Correct typo in name of composition event
8 years ago
Lioncash
e1625fdbec
nvdrv: Make Ioctl()'s definition match its prototype
The only reason this wasn't a compilation error is because we use
little-endian systems.
8 years ago
Lioncash
5bdcce6955
nvdrv: Get rid of indirect inclusions
8 years ago
Lioncash
fd0111572b
nvflinger: Get rid of indirect inclusions
8 years ago
Lioncash
a907041218
nvflinger: Use std::string_view in OpenDisplay()
We don't need to use a std::string here, given all that's done is
comparing the character sequence against another. This allows passing
regular const char* without needing to heap allocate.
8 years ago
Lioncash
20f059acef
services/hid: Add ActivateNpadWithRevision() to the hid function info array
Updated based off the information on Switch Brew.
8 years ago
Lioncash
0c0bdb7d9e
service/time: Amend command IDs of ToPosixTime() and ToPosixTimeWithMyRule()
Updates the ID of these based off the information on Switch Brew.
8 years ago
Lioncash
705c5b6166
service: Add usb services
Adds basic skeleton for the usb services based off the information provided by Switch Brew.
8 years ago
Lioncash
5fcac98ec8
client_port: Make all data members private
These members don't need to be entirely exposed, we can instead expose
an API to operate on them without directly needing to mutate them
We can also guard against overflow/API misuse this way as well, given
active_sessions is an unsigned value.
8 years ago
Lioncash
11eadbccc9
kernel/event: Make data members private
Instead we can simply provide accessors to the required data instead of
giving external read/write access to the variables directly.
8 years ago
mailwl
d77ba2a4df
Service/Audio: audout_a.cpp: remove pragma once
8 years ago
Lioncash
65c0fe0d39
address_arbiter: Return by value from GetThreadsWaitingOnAddress()
In all cases the vector being supplied is empty, so we can just return
by value in these instances.
8 years ago
bunnei
5904aa20ce
audio_core: Implement audren_u audio playback.
8 years ago
bunnei
600e4bbeac
audio_core: Use s16 where possible for audio samples.
8 years ago
bunnei
7688b83a1c
audio_core: Port codec code from Citra for ADPCM decoding.
8 years ago