Lioncash
a602bcaaf8
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
7bdef6106e
file_sys/card_image: Deduplicate casts within AddNCAFromPartition()
Makes for nicer reading.
7 years ago
Lioncash
81d361d9f8
file_sys/card_image: Make bracing consistent
Makes for more consistent reading.
7 years ago
Lioncash
e34368249f
file_sys/card_image: Assign collapsed NCA contents directly to ncas member
Same thing, significantly less noisy.
7 years ago
Lioncash
288d027e89
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
825ffd7b1f
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
bf35138d1d
file_sys/card_image: Use std::array deduction guides
Same thing, less code.
7 years ago
Zach Hilman
3a26b49c2c
yuzutest: Add minor comments
7 years ago
Zach Hilman
fc0bf91a96
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
511bf3435d
yuzu_tester: Display results in table format
7 years ago
Zach Hilman
f279e792b7
yuzutest: Support multiple tests per executable
7 years ago
Zach Hilman
5ddc9cede5
yuzu_tester: Add 'yuzutest' service
7 years ago
Zach Hilman
ae5a46256e
yuzu_tester: Add SDL2-based EmuWindow that doesn't show the window
7 years ago
Zach Hilman
819006d0d3
yuzu_tester: Use config, icon, and main from yuzu-cmd
7 years ago
Zach Hilman
c508a8d82a
yuzu_tester: Add project subdirectory
7 years ago
Lioncash
fea6568955
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
3f87664d8f
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
c1a8f684df
kernel/svc: Amend naming for TotalMemoryUsage in svcGetInfo()
Disambiguates and makes the name a little more consistent with
TotalPhysicalMemoryUsed.
7 years ago
Lioncash
81b1102090
kernel/svc: Remove duplicate enum entry in svcGetInfo()
7 years ago
Fernando Sahmkow
f79823fda7
GPUVM: Correct GPU VM virtual address space
7 years ago
ReinUsesLisp
528c15051c
kepler_compute: Use std::array for cbuf info
7 years ago
ReinUsesLisp
17d5fb6d06
kepler_compute: Fix block_dim_x encoding
7 years ago
ReinUsesLisp
4ec8a3df08
gl_shader_cache: Use static constructors for CachedShader initialization
7 years ago
ReinUsesLisp
5669ff3cbd
gl_rasterizer: Remove unused parameters in descriptor uploads
7 years ago
ReinUsesLisp
2f2a61887a
video_core/engines: Move ConstBufferInfo out of Maxwell3D
7 years ago
Zach Hilman
11f2f0f45c
constants: Extract backup JPEG used by account services
7 years ago
ReinUsesLisp
fe8e6618f2
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
9db119f8a2
kernel_executable: Optimize BLZ decompression
7 years ago
ReinUsesLisp
dec1cbaf7f
cmake: Add missing shader hash file entries
7 years ago
ReinUsesLisp
769a50661a
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
e1b3be7ced
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
c09ff382a4
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
bf4dfb3ad4
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
8304aaf282
service/ns: Add missing override specifiers
7 years ago
Lioncash
d7d5bffa18
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
5b93290183
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
b5e1e87922
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
e1d755bdda
yuzu/configuration: Make function naming consistent
7 years ago
Lioncash
19dcb50692
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
c417b4fe28
game_list: Accept *.kip as a file extension of executables
7 years ago
Zach Hilman
ce9f7ac4f2
loader: Add recognition for KIP file type
7 years ago
Zach Hilman
a76bd49268
loader: Add KIP and INI file parser-specific errors
7 years ago
Zach Hilman
c3548967b1
loader: Add AppLoader_KIP for KIP files
7 years ago
Zach Hilman
b550a01f74
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
0f37096820
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
421c3e831a
file_sys: Add classes to parse KIP1 and INI1 files
7 years ago
Lioncash
2548661c08
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
42f5fd0ab3
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
79189c7e3e
core/core_timing_utils: Simplify overload set
Removes unused overloads, simplifying the overall interface,
deduplicating some code.
7 years ago
Fernando Sahmkow
a32c52b1d8
shader_bytecode: Mark EXIT as flow instruction
7 years ago