- Jul 21, 2018
- Jul 20, 2018
-
-
bunnei authored
apm: Improve stub for GetPerformanceConfiguration.
-
bunnei authored
ipc_helpers: Add PushEnum() member function to ResponseBuilder
-
Lioncash authored
Allows avoiding string copies by letting the strings be moved into the function calls.
-
Lioncash authored
This avoids a redundant std::string construction if a key doesn't exist in the map already. e.g. data[key] requires constructing a new default instance of the value in the map (but this is wasteful, since we're already setting something into the map over top of it).
-
Lioncash authored
Avoids potential dynamic allocation occuring during program launch
-
Lioncash authored
Allows avoiding constructing std::string instances, since this only reads an arbitrary sequence of characters. We can also make ParseFilterRule() internal, since it doesn't depend on any private instance state of Filter
-
Lioncash authored
A few inclusions were being satisfied indirectly. To prevent breakages in the future, include these directly.
-
Lioncash authored
These can just use a view to a string since its only comparing against two names in both cases for matches. This avoids constructing std::string instances where they aren't necessary.
-
bunnei authored
-
Lioncash authored
Allows pushing strongly-typed enum members without the need to always cast them at the call sites. Note that we *only* allow strongly-typed enums in this case. The reason for this is that strongly typed enums have a guaranteed defined size, so the size of the data being pushed is always deterministic. With regular enums this can be a little more error-prone, so we disallow them. This function simply uses the underlying type of the enum to determine the size of the data. For example, if an enum is defined as: enum class SomeEnum : u16 { SomeEntry }; if PushEnum(SomeEnum::SomeEntry); is called, then it will push a u16-size amount of data.
-
bunnei authored
HLE/ACC: Stub IManagerForApplication::GetAccountId to return an error.
-
bunnei authored
externals: Update glad to version 0.1.25
-
bunnei authored
gl_state: Get rid of mismatched sign conversions in Apply()
-
bunnei authored
filesys/loader: std::move VirtualFile instances in constructors where applicable
-
bunnei authored
audout_u/audren_u: Ensure null terminators are written out in ListAudioOutsImpl(), ListAudioDeviceName(), and GetActiveAudioDeviceName()
-
bunnei authored
maxwell_3d: Remove unused variable within GetStageTextures()
-
bunnei authored
thread: Convert ThreadStatus into an enum class
-
bunnei authored
partition_filesystem: Return pfs_dirs member variable within GetSubdirectories()
-
bunnei authored
nso: Minor changes
-
bunnei authored
gl_shader_decompiler: Eliminate variable and declaration shadowing
-
Subv authored
And make IManagerForApplication::CheckAvailability always return false. Returning a bogus id from GetAccountId causes games to crash on boot. We should investigate this with a hwtest and either stub it properly or implement it.
-
Lioncash authored
Keeps the OpenGL loader library up to date. Previously we were at version 0.1.16
-
Lioncash authored
-
Lioncash authored
While we're at it, amend the loop variable type to be the same width as that returned by the .size() call.
-
Lioncash authored
This avoids unnecessary atomic reference count increments and decrements
-
Lioncash authored
Avoids potentially unnecessary atomic reference count incrementing and decrementing, as well as string copying.
-
bunnei authored
gl_shader_decompiler: Remove unnecessary const from return values
-
bunnei authored
pl_u: Simplify WriteBuffer() calls in GetSharedFontInOrderOfPriority()
-
Lioncash authored
std::string doesn't include the null-terminator in its data() + size() range. This ensures that the null-terminator will also be written to the buffer
-
Lioncash authored
Uses a type that doesn't potentially dynamically allocate, and ensures that the name of the interface is properly null-terminated when writing it to the buffer.
-
Lioncash authored
-
Lioncash authored
Makes the thread status strongly typed, so implicit conversions can't happen. It also makes it easier to catch mistakes at compile time.
-
Lioncash authored
This should be returned here, otherwise pfs_dirs is effectively only ever added to, but never read.
-
Lioncash authored
-
Lioncash authored
-
Lioncash authored
Ensures that no identifiers are being hidden, which also reduces compiler warnings.
-