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
Zach Hilman
bf2e779efb
constants: Extract backup JPEG used by account services
7 years ago
Zach Hilman
ae00309771
kernel_executable: Optimize BLZ decompression
7 years ago
Lioncash
783b996dcd
service/ns: Add missing override specifiers
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
Lioncash
564f80d4fd
yuzu/bootmanager: Treat the resolution factor as a u32
Treating it as a u16 can result in a sign-conversion warning when
performing arithmetic with it, as u16 promotes to an int when aritmetic
is performed on it, not unsigned int.
This also makes the interface more uniform, as the layout interface now
operates on u32 across the board.
7 years ago
ReinUsesLisp
b70a0ec46d
rasterizer_opengl: Remove OpenGL core profile
7 years ago
Lioncash
9ac89fde57
core/core: Remove unnecessary includes
The contents of these includes aren't used anywhere in this translation
unit.
7 years ago
Lioncash
7dd4fbf551
core/loader: Remove LoadKernelSystemMode
This is a hold-over from Citra and doesn't apply to yuzu.
7 years ago
Lioncash
5a776e5dc9
core/telemetry_session: Remove unnecessary web service nulling out in destructor
This will automatically occur when the backend instance goes out of
scope at the end of the destructor's execution.
7 years ago
Lioncash
5fe132ec98
core/telemetry_session: Remove usages of the global system accessor
Makes the dependency explicit in the TelemetrySession's interface
instead of making it a hidden dependency.
This also revealed a hidden issue with the way the telemetry session was
being initialized. It was attempting to retrieve the app loader and log
out title-specific information. However, this isn't always guaranteed to
be possible.
During the initialization phase, everything is being constructed. It
doesn't mean an actual title has been selected. This is what the Load()
function is for. This potentially results in dead code paths involving
the app loader. Instead, we explicitly add this information when we know
the app loader instance is available.
7 years ago
Lioncash
8174fa5f9d
core/telemetry_session: Explicitly delete copy and move constructors
NonCopyable is misleading here. It also makes the class non-moveable as
well, so we can be explicit about this.
7 years ago
Lioncash
f7180e3422
core/telemetry_session: Remove unused include
7 years ago
Zach Hilman
7b531ebaae
ncm: Implement LR OpenAddOnContentLocationResolver (2)
Returns an object of type IAddOnContentLocationResolver for the provided StorageId.
7 years ago
Zach Hilman
2630a22608
ncm: Implement LR OpenRegisteredLocationResolver (1)
Returns an object of type IRegisteredLocationResolver for the StorageId.
7 years ago
Zach Hilman
feeda71211
ncm: Implement LR OpenLocationResolver (0)
Returns an object of type ILocationResolver with the provided StorageId.
7 years ago
Zach Hilman
227430a157
loader: Move NSO module tracking to AppLoader
Also cleanup of general stuff
7 years ago
ReinUsesLisp
2410482b11
emu_window: Pass OnMinimalClientAreaChangeRequest argument by copy
There's no performance improvement in passing an unsigned pair by
reference.
7 years ago
Lioncash
e55ce09875
core_timing_util: Silence sign-comparison warnings
We can just make the conversion explicit instead of implicit here to
silence -Wsign-compare warnings.
7 years ago
Lioncash
fc1d10d33a
loader/nso: Silence sign-comparison warning
This was previously performing a size_t == int comparison. Silences a
-Wsign-compare warning.
7 years ago
Zach Hilman
bdfb6260d5
prepo: Save reports from PlayReport service
Logs a lot of seemingly innocuous telemetry games generate.
7 years ago
Zach Hilman
1509f4921d
fatal: Save report on fatal:u call
Matches offical behavior with creport and replaces old log/text based report system.
7 years ago
Zach Hilman
30368b0571
service: Save report on unimplemented function call
7 years ago
Zach Hilman
f5659d962c
applets/error: Save report on error applet
This matches official behavior with the erpt/eclct/eupld service chain.
7 years ago
Zach Hilman
0ab58dcc13
applets: Save report on stubbed applet
This also reworks the applet data storage to be peekable.
7 years ago
Zach Hilman
7c698b4f31
svc: Save report on call to svcBreak
7 years ago
Zach Hilman
8d16f91049
core: Add Reporter class to take/save reports
7 years ago
Zach Hilman
a3c66e920b
settings: Add 'Reporting Services' config option
Full enable/disable for all reports.
7 years ago
Zach Hilman
a102ace3c5
arm_interface: Expand backtrace generation
Returns results as a vector of entries for further processing. Logs addresses, offsets, and mangled name.
7 years ago
Zach Hilman
c1475193ba
core: Track load offsets of NSO modules
Needed for backtrace decomposition
7 years ago
Michael Scire
33290c231a
Fix bitmask logic inversion
7 years ago
Michael Scire
6c068e4636
fix introduced clang-format errors
7 years ago
Michael Scire
35293a8285
Address review comments
7 years ago
Michael Scire
8fa667eab8
clang-format fixes
7 years ago
Michael Scire
e417da5070
Implement IApplicationFunctions::GetDesiredLanguage
7 years ago
Lioncash
36df21b48e
service/aoc: Avoid allocating and discarding data
Previously, the code was accumulating data into a std::vector and then
tossing all of it away if a setting was disabled.
Instead, we can just check if it's disabled and do no work at all if
possible. If it's enabled, then we can append to the vector and
allocate.
Unlikely to impact usage much, but it is slightly less sloppy with
resources.
7 years ago
Lioncash
77443d3e04
service/aoc: Remove unnecessary includes
Removes two header dependencies related to file handling that aren't
actually used within the source file.
7 years ago