Zach Hilman
aca05af798
Merge pull request #2581 from lioncash/hex
common/hex_util: Combine HexVectorToString() and HexArrayToString()
7 years ago
bunnei
6507034f95
Merge pull request #2582 from lioncash/reserved
file_sys/ips_layer: Remove unnecessary reserve() call
7 years ago
Zach Hilman
4c48b437f8
Merge pull request #2580 from lioncash/redundant
kernel/vm_manager: Remove redundant Reset call in destructor
7 years ago
Zach Hilman
3cf9150679
Merge pull request #2577 from lioncash/fs
file_sys/card_image: Minor cleanup
7 years ago
Lioncash
af914546f2
file_sys/ips_layer: Remove unnecessary reserve() call
Given 'replace' is assigned to on the following line, this isn't
necessary, given the underlying data is going to be overwritten
entirely.
7 years ago
Lioncash
37ff16bbb0
common/hex_util: Reserve std::string memory ahead of time
Avoids potentially performing multiple reallocations (depending on the
size of the input data) by reserving the necessary amount of memory
ahead of time.
This is trivially doable, so there's no harm in it.
7 years ago
Lioncash
59d55c8137
common/hex_util: Combine HexVectorToString() and HexArrayToString()
These can be generified together by using a concept type to designate
them. This also has the benefit of not making copies of potentially very
large arrays.
7 years ago
Lioncash
14aca37172
file_sys/card_image: Remove obsolete TODO
We already support Rev 1+.
7 years ago
Lioncash
b0fc1ae7bf
kernel/vm_manager: Remove redundant Reset call in destructor
This is performing more work than would otherwise be necessary during
VMManager's destruction. All we actually want to occur in this scenario
is for any allocated memory to be freed, which will happen automatically
as the VMManager instance goes out of scope.
Anything else being done is simply unnecessary work.
7 years ago
bunnei
835dec3388
Merge pull request #2578 from lioncash/cnmt
file_sys/nca_metadata: Update CNMT structures
7 years ago
bunnei
1d0378459b
Merge pull request #2572 from FernandoS27/gpu-mem
GPUVM: Correct GPU VM virtual address space
7 years ago
Lioncash
348c03b1bd
file_sys/nca_metadata: Update CNMT structures
Names a few more entries in relevant structures. Information based off
SwitchBrew and my own RE.
7 years ago
Lioncash
c45be86d6e
file_sys/card_image: Deduplicate casts within AddNCAFromPartition()
Makes for nicer reading.
7 years ago
Lioncash
f5f9c52900
file_sys/card_image: Make bracing consistent
Makes for more consistent reading.
7 years ago
Lioncash
8bfb8e3dce
file_sys/card_image: Assign collapsed NCA contents directly to ncas member
Same thing, significantly less noisy.
7 years ago
Lioncash
907c499608
file_sys/card_image: Deduplicate type cast
Same thing, less duplication. We can also std::move raw into the
PartitionFilesystem constructor.
7 years ago
Lioncash
c305601f9b
file_sys/card_image: Get rid of a magic number
We can just use the size of the array to dehardcode it.
7 years ago
Lioncash
bfafb5f7d1
file_sys/card_image: Use std::array deduction guides
Same thing, less code.
7 years ago
Zach Hilman
58c127c1d8
Merge pull request #2571 from lioncash/ref
kernel/process: Make Create()'s name parameter be taken by value
7 years ago
Zach Hilman
f54d45e8f9
Merge pull request #2570 from lioncash/svc
kernel/svc: Handle TotalPhysicalMemoryAvailableWithoutMmHeap and TotalPhysicalMemoryUsedWithoutMmHeap
7 years ago
Lioncash
9f6aa8af4a
kernel/process: Make Create()'s name parameter be taken by value
Makes the interface more flexible in terms of how Create() may be
called, while still allowing the parameter itself to be moved into.
7 years ago
Lioncash
3a22c12704
kernel/svc: Implement TotalMemoryUsedWithoutMmHeap/TotalMemoryAvailableWithoutMmHeap
Given we don't currently implement the personal heap yet, the existing
memory querying functions are essentially doing what the memory querying
types introduced in 6.0.0 do.
So, we can build the necessary machinery over the top of those and just
use them as part of info types.
7 years ago
Lioncash
a331973720
kernel/svc: Amend naming for TotalMemoryUsage in svcGetInfo()
Disambiguates and makes the name a little more consistent with
TotalPhysicalMemoryUsed.
7 years ago
Lioncash
9f62c69fca
kernel/svc: Remove duplicate enum entry in svcGetInfo()
7 years ago
Fernando Sahmkow
ab3bb046a8
GPUVM: Correct GPU VM virtual address space
7 years ago
Zach Hilman
736ab3acf7
Merge pull request #2564 from ReinUsesLisp/block-dim-x-fix
kepler_compute: Minor changes
7 years ago
Zach Hilman
a2a21b910e
Merge pull request #2567 from FearlessTobi/patch-1
.github: Create FUNDING.yml
7 years ago
Tobias
e5c441d370
.github: Create FUNDING.yml
7 years ago
Zach Hilman
f3b36847ab
Merge pull request #2553 from lioncash/language
yuzu/configuration: Make all widgets and dialogs aware of language changes
7 years ago
ReinUsesLisp
51d624bf2c
kepler_compute: Use std::array for cbuf info
7 years ago
ReinUsesLisp
667ecbda37
kepler_compute: Fix block_dim_x encoding
7 years ago
Zach Hilman
29a285d2fb
Merge pull request #2293 from DarkLordZach/system-constants
core: Remove duplicated account JPEG data structure
7 years ago
Zach Hilman
bf2e779efb
constants: Extract backup JPEG used by account services
7 years ago
Zach Hilman
3c639f5ff1
Merge pull request #2514 from ReinUsesLisp/opengl-compat
video_core: Drop OpenGL core in favor of OpenGL compatibility
7 years ago
bunnei
51f8ffce6b
Merge pull request #2558 from ReinUsesLisp/shader-nodes
shader: Move Node declarations out of the shader IR header
7 years ago
ReinUsesLisp
d7f13b7e6e
cmake: Add missing shader hash file entries
7 years ago
ReinUsesLisp
419d5bf5db
shader/node: Minor changes
Reflect std::shared_ptr nature of Node on initializers and remove
constant members in nodes.
Add some commentaries.
7 years ago
ReinUsesLisp
056ff86fc9
shader: Move Node declarations out of the shader IR header
Analysis passes do not have a good reason to depend on shader_ir.h to
work on top of nodes. This splits node-related declarations to their own
file and leaves the IR in shader_ir.h
7 years ago
Zach Hilman
e31251a4ba
Merge pull request #2552 from ReinUsesLisp/shader-shared-ptr
shader: Use shared_ptr to store nodes and move initialization to file
7 years ago
Zach Hilman
9a5dcd6e0f
Merge pull request #2549 from lioncash/header
kernel/process: Remove unused boost header include
7 years ago
Zach Hilman
5432bbea4c
Merge pull request #2550 from lioncash/frontend
yuzu/CMakeLists: Pass compilation flags that make it more difficult to cause bugs in Qt code
7 years ago
bunnei
69d0f742d8
Merge pull request #2551 from lioncash/dtor
service/ns: Add missing override specifiers
7 years ago
Lioncash
fb580dcda2
yuzu/configuration: Make all widgets and dialogs aware of language changes
To prepare for translation support, this makes all of the widgets
cognizant of the language change event that occurs whenever
installTranslator() is called and automatically retranslates their text
where necessary.
This is important as calling the backing UI's retranslateUi() is often
not enough, particularly in cases where we add our own strings that
aren't controlled by it. In that case we need to manually refresh the
strings ourselves.
7 years ago
ReinUsesLisp
fd392543e8
shader: Use shared_ptr to store nodes and move initialization to file
Instead of having a vector of unique_ptr stored in a vector and
returning star pointers to this, use shared_ptr. While changing
initialization code, move it to a separate file when possible.
This is a first step to allow code analysis and node generation beyond
the ShaderIR class.
7 years ago
bunnei
72f09c55a8
Merge pull request #2520 from ReinUsesLisp/vulkan-refresh
vk_device,vk_shader_decompiler: Miscellaneous changes
7 years ago
bunnei
c371527ae8
Merge pull request #2540 from ReinUsesLisp/remove-guest-position
gl_shader_decompiler: Remove guest "position" varying
7 years ago
bunnei
958729a303
Merge pull request #2419 from DarkLordZach/srv-lr-iface
lr: Add command handler skeletons for Open*LocationResolver
7 years ago
bunnei
02f5a7327c
Merge pull request #2521 from lioncash/naming
yuzu/configuration: Make function naming consistent
7 years ago
bunnei
94cf5f427a
Merge pull request #2512 from ReinUsesLisp/comp-indexing
gl_shader_decompiler: Pessimize uniform buffer access on AMD's prorpietary driver
7 years ago
Lioncash
783b996dcd
service/ns: Add missing override specifiers
7 years ago