Browse Source
Merge pull request #7104 from Morph1984/style
style: Remove extra space preceding the :: operator
pull/15/merge
Mai M
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with
10 additions and
10 deletions
-
src/core/file_sys/program_metadata.cpp
-
src/core/hle/kernel/k_handle_table.cpp
-
src/core/hle/service/hid/hid.cpp
-
src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp
-
src/core/hle/service/time/system_clock_core.cpp
-
src/core/hle/service/time/time_zone_service.cpp
-
src/shader_recompiler/backend/glsl/emit_glsl_context_get_set.cpp
-
src/yuzu/configuration/configure_profile_manager.cpp
|
|
|
@ -77,7 +77,7 @@ void ProgramMetadata::LoadManual(bool is_64_bit, ProgramAddressSpaceType address |
|
|
|
aci_header.title_id = title_id; |
|
|
|
aci_file_access.permissions = filesystem_permissions; |
|
|
|
npdm_header.system_resource_size = system_resource_size; |
|
|
|
aci_kernel_capabilities = std ::move(capabilities); |
|
|
|
aci_kernel_capabilities = std::move(capabilities); |
|
|
|
} |
|
|
|
|
|
|
|
bool ProgramMetadata::Is64BitProgram() const { |
|
|
|
|
|
|
|
@ -7,7 +7,7 @@ |
|
|
|
namespace Kernel { |
|
|
|
|
|
|
|
KHandleTable::KHandleTable(KernelCore& kernel_) : kernel{kernel_} {} |
|
|
|
KHandleTable ::~KHandleTable() = default; |
|
|
|
KHandleTable::~KHandleTable() = default; |
|
|
|
|
|
|
|
ResultCode KHandleTable::Finalize() { |
|
|
|
// Get the table and clear our record of it.
|
|
|
|
|
|
|
|
@ -106,7 +106,7 @@ void IAppletResource::DeactivateController(HidController controller) { |
|
|
|
controllers[static_cast<size_t>(controller)]->DeactivateController(); |
|
|
|
} |
|
|
|
|
|
|
|
IAppletResource ::~IAppletResource() { |
|
|
|
IAppletResource::~IAppletResource() { |
|
|
|
system.CoreTiming().UnscheduleEvent(pad_update_event, 0); |
|
|
|
system.CoreTiming().UnscheduleEvent(motion_update_event, 0); |
|
|
|
} |
|
|
|
|
|
|
|
@ -16,7 +16,7 @@ namespace Service::Nvidia::Devices { |
|
|
|
|
|
|
|
nvdisp_disp0::nvdisp_disp0(Core::System& system_, std::shared_ptr<nvmap> nvmap_dev_) |
|
|
|
: nvdevice{system_}, nvmap_dev{std::move(nvmap_dev_)} {} |
|
|
|
nvdisp_disp0 ::~nvdisp_disp0() = default; |
|
|
|
nvdisp_disp0::~nvdisp_disp0() = default; |
|
|
|
|
|
|
|
NvResult nvdisp_disp0::Ioctl1(DeviceFD fd, Ioctl command, const std::vector<u8>& input, |
|
|
|
std::vector<u8>& output) { |
|
|
|
|
|
|
|
@ -13,7 +13,7 @@ SystemClockCore::SystemClockCore(SteadyClockCore& steady_clock_core_) |
|
|
|
context.steady_time_point.clock_source_id = steady_clock_core.GetClockSourceId(); |
|
|
|
} |
|
|
|
|
|
|
|
SystemClockCore ::~SystemClockCore() = default; |
|
|
|
SystemClockCore::~SystemClockCore() = default; |
|
|
|
|
|
|
|
ResultCode SystemClockCore::GetCurrentTime(Core::System& system, s64& posix_time) const { |
|
|
|
posix_time = 0; |
|
|
|
|
|
|
|
@ -10,8 +10,8 @@ |
|
|
|
|
|
|
|
namespace Service::Time { |
|
|
|
|
|
|
|
ITimeZoneService ::ITimeZoneService(Core::System& system_, |
|
|
|
TimeZone::TimeZoneContentManager& time_zone_manager_) |
|
|
|
ITimeZoneService::ITimeZoneService(Core::System& system_, |
|
|
|
TimeZone::TimeZoneContentManager& time_zone_manager_) |
|
|
|
: ServiceFramework{system_, "ITimeZoneService"}, time_zone_content_manager{time_zone_manager_} { |
|
|
|
static const FunctionInfo functions[] = { |
|
|
|
{0, &ITimeZoneService::GetDeviceLocationName, "GetDeviceLocationName"}, |
|
|
|
|
|
|
|
@ -58,8 +58,8 @@ void GetCbuf(EmitContext& ctx, std::string_view ret, const IR::Value& binding, |
|
|
|
const auto cbuf{fmt::format("{}_cbuf{}", ctx.stage_name, binding.U32())}; |
|
|
|
const auto cbuf_cast{fmt::format("{}({}[{}]{{}})", cast, cbuf, index)}; |
|
|
|
const auto extraction{num_bits == 32 ? cbuf_cast |
|
|
|
: fmt ::format("bitfieldExtract({},int({}),{})", cbuf_cast, |
|
|
|
bit_offset, num_bits)}; |
|
|
|
: fmt::format("bitfieldExtract({},int({}),{})", cbuf_cast, |
|
|
|
bit_offset, num_bits)}; |
|
|
|
if (!component_indexing_bug) { |
|
|
|
const auto result{fmt::format(fmt::runtime(extraction), swizzle)}; |
|
|
|
ctx.Add("{}={};", ret, result); |
|
|
|
|
|
|
|
@ -76,7 +76,7 @@ QString GetProfileUsernameFromUser(QWidget* parent, const QString& description_t |
|
|
|
} |
|
|
|
} // Anonymous namespace
|
|
|
|
|
|
|
|
ConfigureProfileManager ::ConfigureProfileManager(QWidget* parent) |
|
|
|
ConfigureProfileManager::ConfigureProfileManager(QWidget* parent) |
|
|
|
: QWidget(parent), ui(new Ui::ConfigureProfileManager), |
|
|
|
profile_manager(std::make_unique<Service::Account::ProfileManager>()) { |
|
|
|
ui->setupUi(this); |
|
|
|
|