summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-08-07Make building cubeb optionalKAMiKAZOW
2018-08-06Merge pull request #931 from DarkLordZach/nca-as-drdbunnei
loader: Make AppLoader_NCA rely on directory loading code
2018-08-06Merge pull request #947 from lioncash/encodingbunnei
game_list: Use QString::fromStdString() where applicable instead of c_str()
2018-08-06GDBStub works with both Unicorn and Dynarmic now (#941)Hedges
* GDBStub works with both Unicorn and Dynarmic now * Tidy up
2018-08-06Merge pull request #943 from lioncash/declbunnei
game_list: Join declarations and assignments in onTextChanged()
2018-08-06Merge pull request #946 from lioncash/compressbunnei
qt/main: Collapse if statement in UpdateRecentFiles()
2018-08-06Merge pull request #944 from lioncash/menubunnei
qt: Don't show error dialog when canceling the Load Folder dialog
2018-08-06Merge pull request #942 from lioncash/defaultbunnei
qt: Minor cleanup-related changes
2018-08-06Merge pull request #940 from lioncash/privatebunnei
kernel/event: Make data members private
2018-08-06Merge pull request #936 from bunnei/avoid-copiesbunnei
gl_rasterizer_cache: Avoid superfluous surface copies.
2018-08-06Merge pull request #934 from lioncash/chronobunnei
core_timing: Make GetGlobalTimeUs() return std::chrono::microseconds
2018-08-06qt/main: Avoid sign conversions in UpdateRecentFiles()Lioncash
This was intermixing signed and unsigned values when they could all just be signed.
2018-08-06game_list: Remove unnecessary conversion to std::string in ValidateEntry()Lioncash
We can just use the file interfaces that Qt provides to prevent needing to convert to std::string.
2018-08-06game_list: Use QString::fromStdString() where applicable instead of c_str()Lioncash
The codec used by Qt for const char* and std::string don't necessarily have to be the same depending on locale. Therefore, we should be using the correct functions to do the conversions.
2018-08-06game_list: Join declarations and assignments in onTextChanged()Lioncash
There's no need to keep these separate from one another.
2018-08-06qt/main: Collapse if statement in UpdateRecentFiles()Lioncash
Given the function accepts a boolean, we don't need to use an if statement here and repeat ourselves.
2018-08-06qt/main: Better file-existence checking within OnMenuRecentFile() and ↵Lioncash
UpdateUITheme() In OnMenuRecentFile() we don't need to construct a QFileInfo instance just to check if a file exists, we can just use the static member function to do that (which Qt's documentation also notes as quicker than constructing an instance). In UpdateUITheme(), we just want to try and open the file and check the success of that operation. Technically speaking, between the existence check and the open call, the file can be deleted or moved, but still appear to succeed in code. i.e. 1. Existence check -> Returns true 2. File is moved/deleted 3. Open is called, the return value of which isn't checked 4. Nonsense behavior This way we combine the existence check and the open into one.
2018-08-06qt: Don't show error dialog when canceling the Load Folder dialogLioncash
Previously, when canceling out of the Load Folder dialog, a user would get an error dialog about the selected folder not containing a main file, however, by canceling out of the dialog, no selection was actually made.
2018-08-06qt/game_list_p: Remove redundant base class constructor invocationsLioncash
These occur automatically without the need to call them. While we're at it, also std::move the QString instance into its member variable.
2018-08-06qt: Add missing override specifiers where applicableLioncash
2018-08-06qt: Default destructors where applicableLioncash
Makes code consistent with our style of defaulting special member functions where applicable.
2018-08-06kernel/event: Make data members privateLioncash
Instead we can simply provide accessors to the required data instead of giving external read/write access to the variables directly.
2018-08-06Merge pull request #933 from lioncash/memorybunnei
memory: Correct prototype of ZeroBlock
2018-08-06Service/Audio: audout_a.cpp: remove pragma oncemailwl
2018-08-05maxwell_3d: Remove outdated assert.bunnei
2018-08-05gl_rasterizer_cache: Avoid superfluous surface copies.bunnei
2018-08-05Merge pull request #932 from lioncash/funcbunnei
core_timing: Use transparent functors where applicable
2018-08-05Merge pull request #929 from lioncash/addrbunnei
gdbstub: Minor changes
2018-08-05Merge pull request #930 from lioncash/threadbunnei
address_arbiter: Return by value from GetThreadsWaitingOnAddress()
2018-08-05Merge pull request #925 from bunnei/audrenbunnei
Implement audren audio output
2018-08-05perf_stats: Correct literal used for MAX_LAG_TIME_USLioncash
ms is shorthand for milliseconds, not microseconds, and given there's no comment indicating that this was intentional, it probably wasn't.
2018-08-05core_timing: Make GetGlobalTimeUs() return std::chrono::microsecondsLioncash
Enforces the time unit being returned and also allows using the standard time utilities to manipulate it.
2018-08-05memory: Make prototype parameter names match their definitionsLioncash
Keeps the code consistent.
2018-08-05memory: Correct prototype of ZeroBlockLioncash
Previously, the prototype wasn't matching the definition, which has a Processor parameter before the destination address.
2018-08-05memory: Remove unnecessary const qualifiers in prototypesLioncash
These aren't necessary, as value-wise const only matters in the definition.
2018-08-05core_timing: Convert typedef into a type aliasLioncash
Makes the alias a little more readable from left-to-right.
2018-08-05core_timing: Use transparent functors where applicableLioncash
Gets rid of the need to hardcode the type in multiple places. This will now be deduced automatically, based off the elements in the container being provided to the algorithm.
2018-08-05loader: Make AppLoader_NCA rely on directory loading codeZach Hilman
Eliminates duplicate code shared between their Load methods, after all the only difference is how the romfs is handled.
2018-08-05Merge pull request #927 from bunnei/fix-texsbunnei
gl_shader_decompiler: Fix TEXS mask and dest.
2018-08-05gdbstub: Use type alias for breakpoint mapsLioncash
Rather than having to type out the full std::map type signature, we can just use a straightforward alias. While we're at it, rename GetBreakpointList to GetBreakpointMap, which makes the name more accurate. We can also get rid of unnecessary u64 static_casts, since VAddr is an alias for a u64.
2018-08-05gdbstub: Move all file-static variables into the GDBStub namespaceLioncash
Keeps everything under the same namespace. While we're at it, enclose them all within an inner anonymous namespace.
2018-08-05Merge pull request #912 from lioncash/global-varbunnei
video_core: Eliminate the g_renderer global variable
2018-08-05address_arbiter: Return by value from GetThreadsWaitingOnAddress()Lioncash
In all cases the vector being supplied is empty, so we can just return by value in these instances.
2018-08-05gdbstub: Replace PAddr alias with VAddrLioncash
In all cases, a virtual address is being passed in, not a physical one.
2018-08-05gl_shader_decompiler: Fix TEXS mask and dest.bunnei
2018-08-05Merge pull request #926 from ogniK5377/vertex-attrib-formatbunnei
gl_rasterizer: Fix glVertexAttribFormat for integers
2018-08-04audio_core: Implement audren_u audio playback.bunnei
2018-08-05added braces for conditionsDavid Marcec
2018-08-05fix the attrib format for intsDavid Marcec
2018-08-04Merge pull request #924 from lioncash/arpbunnei
service: Add arp services