David Marcec
0b6f8ba51e
Code cleanup for profile manager
8 years ago
David Marcec
d0b2950434
Removed const from ProfileBase Invalidate
8 years ago
David Marcec
42431d2aa6
fixed invalid uuid bool operator
8 years ago
David Marcec
b8e70faa2d
Added GetOpenUserCount
8 years ago
David Marcec
662218e997
Removed all for loops from the profile manager
8 years ago
David Marcec
c3013c7c9c
Added missing ListAllUsers count
8 years ago
David Marcec
acff922762
If statement style change
8 years ago
David Marcec
dfea525cbe
Second round of account changes
8 years ago
David Marcec
82fa0bcea7
First round of account changes
8 years ago
David Marcec
6aa8ee6943
Refactored profile manager sharing
8 years ago
David Marcec
2a3b335b15
Added IsUserRegistrationRequestPermitted
8 years ago
Lioncash
20c2928c2b
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
Zach Hilman
ec3bef7b4c
loader: Add more descriptive errors
Full list of new errors and descriptions in core/loader/loader.h
8 years ago
Lioncash
b46a5c42ff
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
ff5024ee2a
hle_ipc: Make WriteToOutgoingCommandBuffer()'s reference parameter const
This function doesn't modify anything within the reference Thread
instance.
8 years ago
David Marcec
4e1471ef21
Don't add user if the uuid already exists
8 years ago
Zach Hilman
668458525e
vfs: Fix documentation
8 years ago
Zach Hilman
94cf327e77
vfs: Fix typo in VfsFilesystem docs
8 years ago
Zach Hilman
2b6128fe0b
file_util: Use enum instead of bool for specifing path behavior
8 years ago
Zach Hilman
dad2ae1ee0
loader: Remove unused IdentifyFile overload
8 years ago
Zach Hilman
656e97df16
vfs: Use RealVfsFilesystem for fs-operations in RealVfsDirectory
8 years ago
Zach Hilman
52a2e42cb9
file_sys: Add missing include in savedata_factory
8 years ago
Zach Hilman
4b471f0554
core: Port core to VfsFilesystem for file access
8 years ago
Zach Hilman
aaa8fdea52
vfs: Add unreachable assert to file permissions converter
8 years ago
Zach Hilman
2de2ec25d6
vfs: Add RealVfsFilesystem implementation
8 years ago
Zach Hilman
3bf488ce52
vfs: Add VfsFilesystem interface and default implementation
8 years ago
Zach Hilman
b36dee364e
filesystem: Remove unnecessary if conditions
8 years ago
Lioncash
7353cfc781
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
4afb05d0cc
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
e9978fd4f5
Open first user added
8 years ago
David Marcec
75169c7570
Inital pass of account backend implementation
This commit verified working on puyo
8 years ago
David Marcec
03d7faf583
GetProfileBase and GetProfileBaseAndData added
8 years ago
David Marcec
6f691e71bf
began initial implementation of "ProfileManager"
8 years ago
mailwl
c0d44d3b2a
Service/Account: stub LoadImage function
8 years ago
David Marcec
5f8d253ce0
Switched uuids from u128 to new UUID struct
8 years ago
mailwl
3c498189b6
hid: fix IsSixAxisSensorAtRest() response
8 years ago
bunnei
0f834e2284
nvhost_gpu: Don't over copy IoctlSubmitGpfifo.
8 years ago
bunnei
b7fb9f2071
am: Stub SetScreenShotImageOrientation.
- Used by Super Mario Odyssey.
8 years ago
Lioncash
934a2b9604
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
2bc296801a
acc: Stub GetUserCount. ( #973 )
- Used by Pokken Tournament DX.
8 years ago
Lioncash
d378d98e26
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
cd1a96f389
hle: Remove unused romfs.cpp/.h
These files are no longer used, so we can get rid of them.
8 years ago
Zach Hilman
3e81c09094
loader: Fix scope error in DeconstructedRomDirectory
8 years ago
Lioncash
12ab5a0547
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
d3f64785d1
nvflinger: Correct typo in name of composition event
8 years ago
Lioncash
300ab211e8
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
fa8017295b
nvdrv: Get rid of indirect inclusions
8 years ago
Lioncash
e40b0cf437
nvflinger: Get rid of indirect inclusions
8 years ago
Lioncash
7e49881b7f
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
890e543304
services/hid: Add ActivateNpadWithRevision() to the hid function info array
Updated based off the information on Switch Brew.
8 years ago