bunnei
a5fb52fc7f
Merge pull request #951 from lioncash/glad
externals: Update glad to 0.1.26
7 years ago
bunnei
86153b19ce
Merge pull request #961 from DarkLordZach/nca-as-drd-scope
loader: Fix scope error in DeconstructedRomDirectory
7 years ago
Zach Hilman
9aa2bfc60c
loader: Fix scope error in DeconstructedRomDirectory
7 years ago
Lioncash
6c0eb348f2
externals: Update glad to 0.1.26
Updates the library from 0.1.25. Mainly fixes issues related to macOS,
but we may as well update the library.
7 years ago
bunnei
44f76e2cfd
Merge pull request #931 from DarkLordZach/nca-as-drd
loader: Make AppLoader_NCA rely on directory loading code
7 years ago
bunnei
caf5d8d15a
Merge pull request #947 from lioncash/encoding
game_list: Use QString::fromStdString() where applicable instead of c_str()
7 years ago
Hedges
3e421bb6fb
GDBStub works with both Unicorn and Dynarmic now ( #941 )
* GDBStub works with both Unicorn and Dynarmic now
* Tidy up
7 years ago
bunnei
0f23a124f7
Merge pull request #943 from lioncash/decl
game_list: Join declarations and assignments in onTextChanged()
7 years ago
bunnei
a6ad14902c
Merge pull request #946 from lioncash/compress
qt/main: Collapse if statement in UpdateRecentFiles()
7 years ago
bunnei
48e19379cb
Merge pull request #944 from lioncash/menu
qt: Don't show error dialog when canceling the Load Folder dialog
7 years ago
bunnei
2e734eeb0c
Merge pull request #942 from lioncash/default
qt: Minor cleanup-related changes
7 years ago
bunnei
39e6698f2c
Merge pull request #940 from lioncash/private
kernel/event: Make data members private
7 years ago
bunnei
7dafc8b634
Merge pull request #936 from bunnei/avoid-copies
gl_rasterizer_cache: Avoid superfluous surface copies.
7 years ago
bunnei
51c6d09680
Merge pull request #934 from lioncash/chrono
core_timing: Make GetGlobalTimeUs() return std::chrono::microseconds
7 years ago
James Rowe
88fe478561
Merge pull request #945 from lioncash/exist
qt/main: Better file-existence checking within OnMenuRecentFile() and UpdateUITheme()
7 years ago
Lioncash
4de0824ad2
qt/main: Avoid sign conversions in UpdateRecentFiles()
This was intermixing signed and unsigned values when they could all just
be signed.
7 years ago
Lioncash
35f1943b0f
game_list: Remove unnecessary conversion to std::string in ValidateEntry()
We can just use the file interfaces that Qt provides to prevent needing
to convert to std::string.
7 years ago
Lioncash
2d3b313879
game_list: Use QString::fromStdString() where applicable instead of c_str()
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.
7 years ago
Lioncash
c41c5028db
game_list: Join declarations and assignments in onTextChanged()
There's no need to keep these separate from one another.
7 years ago
Lioncash
9790f8c9ff
qt/main: Collapse if statement in UpdateRecentFiles()
Given the function accepts a boolean, we don't need to use an if
statement here and repeat ourselves.
7 years ago
Lioncash
0c6d371dd0
qt/main: Better file-existence checking within OnMenuRecentFile() and 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.
7 years ago
Lioncash
ab6bc68bc1
qt: Don't show error dialog when canceling the Load Folder dialog
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.
7 years ago
Lioncash
56cde60393
qt/game_list_p: Remove redundant base class constructor invocations
These occur automatically without the need to call them. While we're at
it, also std::move the QString instance into its member variable.
7 years ago
Lioncash
a648516863
qt: Add missing override specifiers where applicable
7 years ago
Lioncash
5de7c31baa
qt: Default destructors where applicable
Makes code consistent with our style of defaulting special member
functions where applicable.
7 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.
7 years ago
bunnei
bca27da66b
Merge pull request #933 from lioncash/memory
memory: Correct prototype of ZeroBlock
7 years ago
Mat M
6ce939f1d0
Merge pull request #937 from mailwl/audout-fix
Service/Audio: audout_a.cpp: remove pragma once
7 years ago
mailwl
d77ba2a4df
Service/Audio: audout_a.cpp: remove pragma once
7 years ago
bunnei
881573c77a
maxwell_3d: Remove outdated assert.
7 years ago
bunnei
2bb2f176b1
gl_rasterizer_cache: Avoid superfluous surface copies.
7 years ago
bunnei
cdb4cd4254
Merge pull request #932 from lioncash/func
core_timing: Use transparent functors where applicable
7 years ago
bunnei
42aae6b040
Merge pull request #929 from lioncash/addr
gdbstub: Minor changes
7 years ago
bunnei
cb37285626
Merge pull request #930 from lioncash/thread
address_arbiter: Return by value from GetThreadsWaitingOnAddress()
7 years ago
bunnei
bccec4825d
Merge pull request #925 from bunnei/audren
Implement audren audio output
7 years ago
Lioncash
610c7e7685
perf_stats: Correct literal used for MAX_LAG_TIME_US
ms is shorthand for milliseconds, not microseconds, and given there's no
comment indicating that this was intentional, it probably wasn't.
7 years ago
Lioncash
c34ee8cf08
core_timing: Make GetGlobalTimeUs() return std::chrono::microseconds
Enforces the time unit being returned and also allows using the standard
time utilities to manipulate it.
7 years ago
Lioncash
ab21a210b1
memory: Make prototype parameter names match their definitions
Keeps the code consistent.
7 years ago
Lioncash
856edeb95d
memory: Correct prototype of ZeroBlock
Previously, the prototype wasn't matching the definition, which has a
Processor parameter before the destination address.
7 years ago
Lioncash
572bff0143
memory: Remove unnecessary const qualifiers in prototypes
These aren't necessary, as value-wise const only matters in the
definition.
7 years ago
Lioncash
82ab069b22
core_timing: Convert typedef into a type alias
Makes the alias a little more readable from left-to-right.
7 years ago
Lioncash
c03f854546
core_timing: Use transparent functors where applicable
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.
7 years ago
Zach Hilman
8d948e4f17
loader: Make AppLoader_NCA rely on directory loading code
Eliminates duplicate code shared between their Load methods, after all the only difference is how the romfs is handled.
8 years ago
bunnei
ee30143bf3
Merge pull request #927 from bunnei/fix-texs
gl_shader_decompiler: Fix TEXS mask and dest.
8 years ago
Lioncash
a3e0a2d3b3
gdbstub: Use type alias for breakpoint maps
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.
8 years ago
Lioncash
6602a1b319
gdbstub: Move all file-static variables into the GDBStub namespace
Keeps everything under the same namespace. While we're at it, enclose
them all within an inner anonymous namespace.
8 years ago
bunnei
5160c0c975
Merge pull request #912 from lioncash/global-var
video_core: Eliminate the g_renderer global variable
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
Lioncash
88023a481d
gdbstub: Replace PAddr alias with VAddr
In all cases, a virtual address is being passed in, not a physical one.
8 years ago
Mat M
ad4082998a
Merge pull request #928 from MerryMage/dynarmic
externals: Update dynarmic to 4f96c63
8 years ago