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
177fd0a00b
yuzutest: Add minor comments
7 years ago
Zach Hilman
3f221f8e3f
kernel: Differentiate kernel and user processes when picking ID
This allows kernel internal type processes to be assigned IDs in the KIP range while userland processes are assigned in the user range.
7 years ago
Zach Hilman
75f7a216c2
yuzu_tester: Display results in table format
7 years ago
Zach Hilman
0df48b790f
yuzutest: Support multiple tests per executable
7 years ago
Zach Hilman
325482d2a2
yuzu_tester: Add 'yuzutest' service
7 years ago
Zach Hilman
cf7a646f0b
yuzu_tester: Add SDL2-based EmuWindow that doesn't show the window
7 years ago
Zach Hilman
b2b51bf223
yuzu_tester: Use config, icon, and main from yuzu-cmd
7 years ago
Zach Hilman
983a52fccd
yuzu_tester: Add project subdirectory
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
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
ReinUsesLisp
d9a8e33b5b
gl_shader_cache: Use static constructors for CachedShader initialization
7 years ago
ReinUsesLisp
e6d3f9c589
gl_rasterizer: Remove unused parameters in descriptor uploads
7 years ago
ReinUsesLisp
1073b32300
video_core/engines: Move ConstBufferInfo out of Maxwell3D
7 years ago
Zach Hilman
bf2e779efb
constants: Extract backup JPEG used by account services
7 years ago
ReinUsesLisp
e8bd976b4d
shader: Split SSY and PBK stack
Hardware testing revealed that SSY and PBK push to a different stack,
allowing code like this:
SSY label1;
PBK label2;
SYNC;
label1: PBK;
label2: EXIT;
7 years ago
Zach Hilman
ae00309771
kernel_executable: Optimize BLZ decompression
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
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
Lioncash
783b996dcd
service/ns: Add missing override specifiers
7 years ago
Lioncash
3a5708eeaa
yuzu/CMakeLists: Disable implicit QString->QUrl conversions
Enforces the use of the proper URL resolution functions. e.g.
url = some_local_path_string;
should actually be:
url = QUrl::fromLocalPath(some_local_path_string);
etc.
This makes it harder to cause bugs when operating with both strings and
URLs at the same time.
7 years ago
Lioncash
12b32a058b
yuzu/CMakeLists: Disable unsafe overloads of QProcess' start() function
Other overloads of start() are considerably much safer to use if we ever
need this in the future and need to pass arguments to the program, given
it contains separate parameters for the program path and the arguments
themselves, whereas this unsafe overload contains both as a single
string.
Given the alternatives are much safer, we can disable this.
7 years ago
Lioncash
5b4f92ca79
yuzu/CMakeLists: Disable implicit type narrowing in connect() calls
Prevents hard-to-diagnose bugs from potentially occurring and requires
any type narrowing to be explicitly performed by our code.
7 years ago
Lioncash
5bcab18c77
yuzu/configuration: Make function naming consistent
7 years ago
Lioncash
c23f162111
kernel/process: Remove unused boost header include
Boost headers typically include a lot of other headers, so removing this
can prevent a bit of unnecessary compiler churn when building.
7 years ago
Zach Hilman
5f6dba8ece
game_list: Accept *.kip as a file extension of executables
7 years ago
Zach Hilman
fd67e22b25
loader: Add recognition for KIP file type
7 years ago
Zach Hilman
ef42e591df
loader: Add KIP and INI file parser-specific errors
7 years ago
Zach Hilman
6fb2fa51eb
loader: Add AppLoader_KIP for KIP files
7 years ago
Zach Hilman
04a69eb6c7
program_metadata: Add function to load meta from raw parameters
Needed for KIP loading as KIPs do not have an NPDM but do have the essential parts of the data within.
7 years ago
Zach Hilman
8662c6d579
partition_data_manager: Remove KIP processing and use FileSys
Previously, this TU contained the necessary headers to parse KIP/INI but now it should just use the FileSys class.
7 years ago
Zach Hilman
48bb330ad1
file_sys: Add classes to parse KIP1 and INI1 files
7 years ago
Lioncash
debd00b300
core/core_timing_util: Amend casing of cyclesTo* functions
Makes the casing consistent with all of our general function naming
conventions.
7 years ago
Lioncash
97882b84a8
core/core_timing_util: Use std::chrono types for specifying time units
Makes the interface more type-safe and consistent in terms of return
values.
7 years ago
Lioncash
c5d6bd7f15
core/core_timing_utils: Simplify overload set
Removes unused overloads, simplifying the overall interface,
deduplicating some code.
7 years ago
Fernando Sahmkow
a8250f511b
shader_bytecode: Mark EXIT as flow instruction
7 years ago