summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-09-23Stubbed IRS (#1349)David
* Stubbed IRS Currently we have no ideal way of implementing IRS. For the time being we should have the functions stubbed until we come up with a way to emulate IRS properly. * Added IRS to logging backend * Forward declared shared memory for irs
2018-09-23Merge pull request #1354 from ogniK5377/ssl-versionbunnei
Corrected SSL::SetInterfaceVersion
2018-09-23Added glObjectLabels for renderdoc for textures and shader programs (#1384)David
* Added glObjectLabels for renderdoc for textures and shader programs * Changed hardcoded "Texture" name to reflect the texture type instead * Removed string initialize
2018-09-23Merge pull request #1387 from FearlessTobi/port-4245bunnei
Port citra-emu/citra#4245: "common/thread: remove YieldCPU()"
2018-09-23Merge pull request #1391 from ogniK5377/GetAudioRendererStatebunnei
Added audren:u#GetAudioRendererState
2018-09-23correct BC6Hgreggameplayer
2018-09-23Added audren:u#GetAudioRendererStateDavid Marcec
2018-09-22Merge pull request #1378 from lioncash/threadbunnei
process: Make a few member variables private where applicable
2018-09-22common/thread: remove YieldCPU()Weiyi Wang
simply use the standard library yield()
2018-09-22Merge pull request #1380 from lioncash/constbunnei
shader_bytecode: Make operator== and operator!= of IpaMode const qualified
2018-09-22Merge pull request #1382 from lioncash/incbunnei
gl_state: Remove unused type alias
2018-09-22Merge pull request #1376 from Subv/timestretch_tracebunnei
Logging: Change the TimeStretch::Process log from debug to trace level.
2018-09-22Merge pull request #1381 from valentinvanelslande/patch-1bunnei
yuzu_cmd: fix sd card directory set to nand directory
2018-09-21game_list: Add Qt SmoothTransformation to picture scalingZach Hilman
2018-09-21gl_state: Remove unused type aliasLioncash
This isn't used anywhere within the header, so we can remove it, along with the include that was previously necessary. This also uncovers an indirect include in the cpp file for the assertion macros.
2018-09-21Update config.cppValentin Vanelslande
2018-09-21shader_bytecode: Lay out the Ipa-related enums betterLioncash
This is more consistent with the surrounding enums.
2018-09-21shader_bytecode: Make operator== and operator!= of IpaMode const qualifiedLioncash
These don't affect the state of the struct and can be const member functions.
2018-09-21Merge pull request #1379 from lioncash/bitwisebunnei
gl_stream_buffer: Fix use of bitwise OR instead of logical OR in Map()
2018-09-21gl_stream_buffer: Fix use of bitwise OR instead of logical OR in Map()Lioncash
This was very likely intended to be a logical OR based off the conditioning and testing of inversion in one case. Even if this was intentional, this is the kind of non-obvious thing one should be clarifying with a comment.
2018-09-21svc: Move most process termination code to its own function within ProcessLioncash
Reduces the use of Process class members externally and keeps most code related to tearing down a process with the rest of the process code.
2018-09-21thread/process: Move TLS slot marking/freeing to the process classLioncash
Allows making several members of the process class private, it also avoids going through Core::CurrentProcess() just to retrieve the owning process.
2018-09-21Added support for uncompressed NSOs (#1374)David
* Added support for uncompressed NSOs * Moved compressed section check to NsoHeader
2018-09-20Merge pull request #1337 from DarkLordZach/create-fs-cmdbunnei
yuzu-cmd: Add filesystem service initializer call
2018-09-20Merge pull request #1372 from lioncash/threadbunnei
kernel/thread: Use owner_process when setting the page table in SetupMainThread()
2018-09-20Merge pull request #1371 from lioncash/fwd-armbunnei
arm_interface: Replace kernel vm_manager include with a forward declaration
2018-09-20Merge pull request #1375 from Subv/gl_clearbunnei
RasterizerGL: Use the correct framebuffer when clearing via the CLEAR_BUFFERS register.
2018-09-20Logging: Change the TimeStretch::Process log from debug to trace level.Subv
This function is called too many times and makes the debug logging basically unusable due to the spam.
2018-09-20RasterizerGL: Use the correct framebuffer when clearing via the ↵Subv
CLEAR_BUFFERS register. Previously we were clearing the default backbuffer framebuffer. Found thanks to a Piglit test :)
2018-09-20Merge pull request #1364 from lioncash/contentbunnei
file-sys: Default heavy-weight class destructors in the cpp file
2018-09-20Merge pull request #1367 from lioncash/pluralbunnei
game_list: Handle plurals within setFilterResult() better
2018-09-20Merge pull request #1368 from ogniK5377/nifm-fixbunnei
Added IRequest::Submit
2018-09-20Merge pull request #1352 from lioncash/sharingbunnei
ring_buffer: Use std::hardware_destructive_interference_size to determine alignment size for avoiding false sharing
2018-09-21Revert GetRequestStateDavid Marcec
Even though setting this value to 3 is more correct. We break more games than we fix due to missing implementations. We should keep this as 0 for the time being
2018-09-20kernel/thread: Use owner_process when setting the page table in ↵Lioncash
SetupMainThread() The owning process of a thread is required to exist before the thread, so we can enforce this API-wise by using a reference. We can also avoid the reliance on the system instance by using that parameter to access the page table that needs to be set.
2018-09-20arm_interface: Replace kernel vm_manager include with a forward declarationLioncash
Avoids an unnecessary inclusion and also uncovers three places where indirect inclusions were relied upon, which allows us to also resolve those.
2018-09-20Merge pull request #1370 from Hedges/GDBCleanMat M
Correct endianness of BRK
2018-09-20Merge pull request #1362 from MerryMage/dynarmicMat M
externals: Update dynarmic to 171d116
2018-09-20Correct endianness of BKPTJarek Syrylak
2018-09-20arm_dynarmic: Halt when BRK encounteredMerryMage
2018-09-21Fixed submitDavid Marcec
2018-09-21Added IRequest::SubmitDavid Marcec
This fixes updated versions of SMO. Currently unable to test as I don't have an updated version
2018-09-20Merge pull request #1358 from DarkLordZach/temp-storagebunnei
savedata_factory: Add TemporaryStorage SaveDataType
2018-09-20Merge pull request #1363 from lioncash/controlbunnei
control_metadata: Move language name array definition to the cpp file
2018-09-20Merge pull request #1361 from lioncash/naxbunnei
xts_archive/nax: Minor interface changes
2018-09-20game_list: Handle plurals within setFilterResult() betterLioncash
Qt provides an overload of tr() that operates on quantities in relation to pluralization. This also allows the translation to adapt based on the target language rules better. For example, the previous code would result in an incorrect translation for the French language (which doesn't use the pluralized version of "result" in the case of a total of zero. While in English it's correct to use the pluralized version of "result", that is, "results" --- For example: English: "0 results" French: "0 résultat" (uses the singular form) In French, the noun being counted is singular if the quantity is 0 or 1. In English, on the other hand, if the noun being counted has a quantity of 0 or N > 1, then the noun is pluralized. --- For another example in a language that has different counting methods than the above, consider English and Irish. Irish has a special form of of a grammatical number called a dual. Which alters how a word is written when N of something is 2. This won't appear in this case with a direct number "2", but it would change if we ever used "Two" to refer to two of something. For example: English: "Zero results" Irish: "Toradh ar bith" English: "One result" Irish: "Toradh amháin" English: "Two results" Irish: "Dhá thorthaí" <- Dual case Which is an important distinction to make between singular and plural, because in other situations, "two" on its own would be written as "dó" in Irish. There's also a few other cases where the order the words are placed *and* whether or not the plural or singular variant of the word is used *and* whether or not the word is placed after or between a set of numbers can vary. Counting in Irish also differs depending on whether or not you're counting things (like above) or counting people, in which case an entirely different set of numbers are used. It's not important for this case, but it's provided as an example as to why one should never assume the placement of values in text will be like that of English or other languages. Some languages have very different ways to represent counting, and breaking up the translated string like this isn't advisable because it makes it extremely difficult to get right depending on what language a translator is translating text into due to the ambiguity of the strings being presented for translation. In this case a translator would see three fragmented strings on Transifex (and not necessarily grouped beside one another, but even then, it would still be annoying to decipher): - "of" - "result" - "results" There is no way a translator is going to know what those sets of words are actually used for unless they look at the code to see what is being done with them (which they shouldn't have to do).
2018-09-20Removed unneeded event clearDavid Marcec
2018-09-20Implemented NTC & IEnsureNetworkClockAvailabilityServiceDavid Marcec
Needed because of the recent nim fixes
2018-09-19file-sys: Default heavy-weight class destructors in the cpp fileLioncash
Several classes have a lot of non-trivial members within them, or don't but likely should have the destructor defaulted in the cpp file for future-proofing/being more friendly to forward declarations. Leaving the destructor unspecified allows the compiler to inline the destruction code all over the place, which is generally undesirable from a code bloat perspective.
2018-09-19control_metadata: Remove unnecessary else within GetLanguageEntry()Lioncash
There's no need to indent the code here, given the if case contains a return statement at the end of it.