From 3eef564ff8298a8e70e66ab16302a82217e1ffd1 Mon Sep 17 00:00:00 2001 From: Margen67 Date: Fri, 18 Jul 2025 11:26:28 -0700 Subject: [PATCH] [format] Require EOF newline --- .clang-format | 3 +++ src/xenia/apu/audio_media_player.cc | 2 +- src/xenia/apu/xma_context_new.h | 2 +- src/xenia/apu/xma_helpers.h | 2 +- src/xenia/base/bit_map.cc | 2 +- src/xenia/base/main_init_posix.cc | 2 +- src/xenia/base/main_init_win.cc | 2 +- src/xenia/base/platform_amd64.cc | 2 +- src/xenia/base/simple_freelist.h | 2 +- src/xenia/base/split_map.h | 2 +- src/xenia/cpu/backend/x64/x64_code_cache_posix.cc | 2 +- src/xenia/cpu/backend/x64/x64_seq_control.cc | 2 +- src/xenia/cpu/breakpoint.cc | 2 +- src/xenia/cpu/breakpoint.h | 2 +- src/xenia/cpu/stack_walker_posix.cc | 2 +- src/xenia/cpu/thread.cc | 2 +- src/xenia/gpu/draw_util.cc | 2 +- src/xenia/gpu/draw_util.h | 2 +- src/xenia/gpu/null/null_command_processor.cc | 2 +- src/xenia/gpu/null/null_command_processor.h | 2 +- src/xenia/gpu/null/null_graphics_system.cc | 2 +- src/xenia/gpu/null/null_graphics_system.h | 2 +- src/xenia/gpu/pm4_command_processor_declare.h | 4 +--- src/xenia/gpu/pm4_command_processor_implement.h | 2 +- src/xenia/gpu/texture_info_formats.inl | 2 +- src/xenia/gpu/vulkan/deferred_command_buffer.h | 2 +- src/xenia/gpu/xenos.cc | 2 +- src/xenia/guest_pointers.h | 2 +- src/xenia/helper/sdl/sdl_helper.h | 2 +- src/xenia/hid/skylander/skylander_emulated.cc | 2 +- src/xenia/hid/skylander/skylander_emulated.h | 2 +- src/xenia/hid/skylander/skylander_hardware.cc | 2 +- src/xenia/hid/skylander/skylander_hardware.h | 2 +- src/xenia/hid/skylander/skylander_portal.cc | 2 +- src/xenia/hid/skylander/skylander_portal.h | 2 +- src/xenia/kernel/smc.cc | 2 +- src/xenia/kernel/title_id_utils.h | 2 +- src/xenia/kernel/util/crypto_utils.h | 2 +- src/xenia/kernel/util/game_info_database.cc | 2 +- src/xenia/kernel/util/game_info_database.h | 2 +- src/xenia/kernel/util/kernel_fwd.h | 2 +- src/xenia/kernel/util/presence_string_builder.cc | 2 +- src/xenia/kernel/util/presence_string_builder.h | 2 +- src/xenia/kernel/xam/user_data.cc | 2 +- src/xenia/kernel/xam/user_data.h | 2 +- src/xenia/kernel/xam/user_property.cc | 2 +- src/xenia/kernel/xam/user_property.h | 2 +- src/xenia/kernel/xam/user_tracker.h | 2 +- src/xenia/kernel/xam/xam_media.cc | 2 +- src/xenia/kernel/xam/xam_profile.cc | 2 +- src/xenia/kernel/xam/xam_state.h | 2 +- src/xenia/kernel/xam/xam_user.cc | 2 +- src/xenia/kernel/xam/xdbf/gpd_info.h | 2 +- src/xenia/kernel/xam/xdbf/gpd_info_profile.h | 2 +- src/xenia/kernel/xam/xdbf/gpd_info_title.h | 2 +- src/xenia/kernel/xsocket.h | 2 +- src/xenia/ui/imgui_guest_notification.h | 2 +- src/xenia/ui/imgui_host_notification.h | 2 +- src/xenia/ui/imgui_notification.h | 2 +- src/xenia/ui/renderdoc_api.h | 2 +- src/xenia/ui/vulkan/vulkan_mem_alloc.h | 2 +- src/xenia/vfs/devices/xcontent_container_device.cc | 2 +- src/xenia/vfs/devices/xcontent_container_entry.cc | 2 +- src/xenia/vfs/devices/xcontent_container_entry.h | 2 +- src/xenia/vfs/devices/xcontent_container_file.cc | 2 +- .../vfs/devices/xcontent_devices/stfs_container_entry.cc | 2 +- src/xenia/vfs/devices/xcontent_devices/stfs_container_entry.h | 2 +- src/xenia/vfs/devices/xcontent_devices/stfs_container_file.cc | 2 +- .../vfs/devices/xcontent_devices/svod_container_entry.cc | 2 +- src/xenia/vfs/devices/xcontent_devices/svod_container_entry.h | 2 +- src/xenia/vfs/devices/xcontent_devices/svod_container_file.cc | 2 +- src/xenia/vfs/file.h | 2 +- 72 files changed, 74 insertions(+), 73 deletions(-) diff --git a/.clang-format b/.clang-format index e4310ac3c..40ef96791 100644 --- a/.clang-format +++ b/.clang-format @@ -3,6 +3,9 @@ BasedOnStyle: Google DerivePointerAlignment: false PointerAlignment: Left SortIncludes: true +KeepEmptyLines: + AtStartOfFile: false +InsertNewlineAtEOF: true # Regroup causes unnecessary noise due to clang-format bug. IncludeBlocks: Preserve diff --git a/src/xenia/apu/audio_media_player.cc b/src/xenia/apu/audio_media_player.cc index db835ac23..b88e5aab2 100644 --- a/src/xenia/apu/audio_media_player.cc +++ b/src/xenia/apu/audio_media_player.cc @@ -554,4 +554,4 @@ void AudioMediaPlayer::DeleteDriver() { } } // namespace apu -} // namespace xe \ No newline at end of file +} // namespace xe diff --git a/src/xenia/apu/xma_context_new.h b/src/xenia/apu/xma_context_new.h index 71f9b9227..1d86c7af4 100644 --- a/src/xenia/apu/xma_context_new.h +++ b/src/xenia/apu/xma_context_new.h @@ -133,4 +133,4 @@ class XmaContextNew : public XmaContext { } // namespace apu } // namespace xe -#endif // XENIA_APU_XMA_CONTEXT_H_ \ No newline at end of file +#endif // XENIA_APU_XMA_CONTEXT_H_ diff --git a/src/xenia/apu/xma_helpers.h b/src/xenia/apu/xma_helpers.h index dbbad959b..d0779cafc 100644 --- a/src/xenia/apu/xma_helpers.h +++ b/src/xenia/apu/xma_helpers.h @@ -49,4 +49,4 @@ static uint32_t GetPacketFrameOffset(const uint8_t* packet) { } // namespace apu } // namespace xe -#endif // XENIA_APU_XMA_HELPERS_H_ \ No newline at end of file +#endif // XENIA_APU_XMA_HELPERS_H_ diff --git a/src/xenia/base/bit_map.cc b/src/xenia/base/bit_map.cc index 66a7a4923..1b1d415ca 100644 --- a/src/xenia/base/bit_map.cc +++ b/src/xenia/base/bit_map.cc @@ -113,4 +113,4 @@ void BitMap::Reset() { } } -} // namespace xe \ No newline at end of file +} // namespace xe diff --git a/src/xenia/base/main_init_posix.cc b/src/xenia/base/main_init_posix.cc index 651d26903..a599a31d9 100644 --- a/src/xenia/base/main_init_posix.cc +++ b/src/xenia/base/main_init_posix.cc @@ -43,4 +43,4 @@ class StartupCpuFeatureCheck { // Ref: // https://reviews.llvm.org/D12689#243295 __attribute__(( - init_priority(101))) static StartupCpuFeatureCheck gStartupAvxCheck; \ No newline at end of file + init_priority(101))) static StartupCpuFeatureCheck gStartupAvxCheck; diff --git a/src/xenia/base/main_init_win.cc b/src/xenia/base/main_init_win.cc index a0065aac6..0db3576cb 100644 --- a/src/xenia/base/main_init_win.cc +++ b/src/xenia/base/main_init_win.cc @@ -43,4 +43,4 @@ class StartupCpuFeatureCheck { // https://docs.microsoft.com/en-us/cpp/preprocessor/init-seg #pragma warning(suppress : 4073) #pragma init_seg(lib) -static StartupCpuFeatureCheck gStartupAvxCheck; \ No newline at end of file +static StartupCpuFeatureCheck gStartupAvxCheck; diff --git a/src/xenia/base/platform_amd64.cc b/src/xenia/base/platform_amd64.cc index 48b1c6102..c4f8fa3e1 100644 --- a/src/xenia/base/platform_amd64.cc +++ b/src/xenia/base/platform_amd64.cc @@ -132,4 +132,4 @@ void InitFeatureFlags() { g_did_initialize_feature_flags = true; } } // namespace amd64 -} // namespace xe \ No newline at end of file +} // namespace xe diff --git a/src/xenia/base/simple_freelist.h b/src/xenia/base/simple_freelist.h index 6d1afd8db..8b8650e77 100644 --- a/src/xenia/base/simple_freelist.h +++ b/src/xenia/base/simple_freelist.h @@ -36,4 +36,4 @@ struct SimpleFreelist { } void Reset() { head_ = nullptr; } }; -} // namespace xe \ No newline at end of file +} // namespace xe diff --git a/src/xenia/base/split_map.h b/src/xenia/base/split_map.h index e52857020..7b84eddd9 100644 --- a/src/xenia/base/split_map.h +++ b/src/xenia/base/split_map.h @@ -82,4 +82,4 @@ class split_map { }; } // namespace xe -#endif // XENIA_BASE_SPLIT_MAP_H_ \ No newline at end of file +#endif // XENIA_BASE_SPLIT_MAP_H_ diff --git a/src/xenia/cpu/backend/x64/x64_code_cache_posix.cc b/src/xenia/cpu/backend/x64/x64_code_cache_posix.cc index e889eba0c..7f12212d5 100644 --- a/src/xenia/cpu/backend/x64/x64_code_cache_posix.cc +++ b/src/xenia/cpu/backend/x64/x64_code_cache_posix.cc @@ -48,4 +48,4 @@ bool PosixX64CodeCache::Initialize() { return X64CodeCache::Initialize(); } } // namespace x64 } // namespace backend } // namespace cpu -} // namespace xe \ No newline at end of file +} // namespace xe diff --git a/src/xenia/cpu/backend/x64/x64_seq_control.cc b/src/xenia/cpu/backend/x64/x64_seq_control.cc index 2e2d273cc..5c78a52ae 100644 --- a/src/xenia/cpu/backend/x64/x64_seq_control.cc +++ b/src/xenia/cpu/backend/x64/x64_seq_control.cc @@ -611,4 +611,4 @@ EMITTER_OPCODE_TABLE(OPCODE_BRANCH_FALSE, BRANCH_FALSE_I8, BRANCH_FALSE_I16, } // namespace x64 } // namespace backend } // namespace cpu -} // namespace xe \ No newline at end of file +} // namespace xe diff --git a/src/xenia/cpu/breakpoint.cc b/src/xenia/cpu/breakpoint.cc index 13fcc22dc..97af406e3 100644 --- a/src/xenia/cpu/breakpoint.cc +++ b/src/xenia/cpu/breakpoint.cc @@ -122,4 +122,4 @@ void Breakpoint::ForEachHostAddress( } } // namespace cpu -} // namespace xe \ No newline at end of file +} // namespace xe diff --git a/src/xenia/cpu/breakpoint.h b/src/xenia/cpu/breakpoint.h index b0ad8f611..dc62a063c 100644 --- a/src/xenia/cpu/breakpoint.h +++ b/src/xenia/cpu/breakpoint.h @@ -133,4 +133,4 @@ class Breakpoint { } // namespace cpu } // namespace xe -#endif // XENIA_CPU_BREAKPOINT_H_ \ No newline at end of file +#endif // XENIA_CPU_BREAKPOINT_H_ diff --git a/src/xenia/cpu/stack_walker_posix.cc b/src/xenia/cpu/stack_walker_posix.cc index eba6e30cc..d38020a51 100644 --- a/src/xenia/cpu/stack_walker_posix.cc +++ b/src/xenia/cpu/stack_walker_posix.cc @@ -21,4 +21,4 @@ std::unique_ptr StackWalker::Create( } } // namespace cpu -} // namespace xe \ No newline at end of file +} // namespace xe diff --git a/src/xenia/cpu/thread.cc b/src/xenia/cpu/thread.cc index 5cc9736f1..8a3d4b8d3 100644 --- a/src/xenia/cpu/thread.cc +++ b/src/xenia/cpu/thread.cc @@ -26,4 +26,4 @@ uint32_t Thread::GetCurrentThreadId() { } } // namespace cpu -} // namespace xe \ No newline at end of file +} // namespace xe diff --git a/src/xenia/gpu/draw_util.cc b/src/xenia/gpu/draw_util.cc index b30b57bbb..6b5fc0d4a 100644 --- a/src/xenia/gpu/draw_util.cc +++ b/src/xenia/gpu/draw_util.cc @@ -1382,4 +1382,4 @@ ResolveCopyShaderIndex ResolveInfo::GetCopyShader( } // namespace draw_util } // namespace gpu -} // namespace xe \ No newline at end of file +} // namespace xe diff --git a/src/xenia/gpu/draw_util.h b/src/xenia/gpu/draw_util.h index ce395185e..81770ad8e 100644 --- a/src/xenia/gpu/draw_util.h +++ b/src/xenia/gpu/draw_util.h @@ -767,4 +767,4 @@ bool GetResolveInfo(const RegisterFile& regs, const Memory& memory, } // namespace gpu } // namespace xe -#endif // XENIA_GPU_DRAW_UTIL_H_ \ No newline at end of file +#endif // XENIA_GPU_DRAW_UTIL_H_ diff --git a/src/xenia/gpu/null/null_command_processor.cc b/src/xenia/gpu/null/null_command_processor.cc index e706d5bbf..24778ff34 100644 --- a/src/xenia/gpu/null/null_command_processor.cc +++ b/src/xenia/gpu/null/null_command_processor.cc @@ -55,4 +55,4 @@ void NullCommandProcessor::InitializeTrace() {} } // namespace null } // namespace gpu -} // namespace xe \ No newline at end of file +} // namespace xe diff --git a/src/xenia/gpu/null/null_command_processor.h b/src/xenia/gpu/null/null_command_processor.h index 11c829018..07748d0ea 100644 --- a/src/xenia/gpu/null/null_command_processor.h +++ b/src/xenia/gpu/null/null_command_processor.h @@ -52,4 +52,4 @@ class NullCommandProcessor : public CommandProcessor { } // namespace gpu } // namespace xe -#endif // XENIA_GPU_NULL_NULL_COMMAND_PROCESSOR_H_ \ No newline at end of file +#endif // XENIA_GPU_NULL_NULL_COMMAND_PROCESSOR_H_ diff --git a/src/xenia/gpu/null/null_graphics_system.cc b/src/xenia/gpu/null/null_graphics_system.cc index 57d5e958f..4f213e6b5 100644 --- a/src/xenia/gpu/null/null_graphics_system.cc +++ b/src/xenia/gpu/null/null_graphics_system.cc @@ -39,4 +39,4 @@ std::unique_ptr NullGraphicsSystem::CreateCommandProcessor() { } // namespace null } // namespace gpu -} // namespace xe \ No newline at end of file +} // namespace xe diff --git a/src/xenia/gpu/null/null_graphics_system.h b/src/xenia/gpu/null/null_graphics_system.h index d5b8d32b9..af0be31d1 100644 --- a/src/xenia/gpu/null/null_graphics_system.h +++ b/src/xenia/gpu/null/null_graphics_system.h @@ -40,4 +40,4 @@ class NullGraphicsSystem : public GraphicsSystem { } // namespace gpu } // namespace xe -#endif // XENIA_GPU_NULL_NULL_GRAPHICS_SYSTEM_H_ \ No newline at end of file +#endif // XENIA_GPU_NULL_NULL_GRAPHICS_SYSTEM_H_ diff --git a/src/xenia/gpu/pm4_command_processor_declare.h b/src/xenia/gpu/pm4_command_processor_declare.h index 1117140c9..93a9aaf60 100644 --- a/src/xenia/gpu/pm4_command_processor_declare.h +++ b/src/xenia/gpu/pm4_command_processor_declare.h @@ -1,5 +1,3 @@ - - #if defined(OVERRIDING_BASE_CMDPROCESSOR) #define PM4_OVERRIDE override #else @@ -107,4 +105,4 @@ XE_NOINLINE XE_COLD bool ExecutePacketType0_CountOverflow(uint32_t count); -#undef PM4_OVERRIDE \ No newline at end of file +#undef PM4_OVERRIDE diff --git a/src/xenia/gpu/pm4_command_processor_implement.h b/src/xenia/gpu/pm4_command_processor_implement.h index 614bf0f89..c498f37e9 100644 --- a/src/xenia/gpu/pm4_command_processor_implement.h +++ b/src/xenia/gpu/pm4_command_processor_implement.h @@ -1434,4 +1434,4 @@ void COMMAND_PROCESSOR::ExecutePacket(uint32_t ptr, uint32_t count) { } } while (reader_.read_count()); reader_ = old_reader; -} \ No newline at end of file +} diff --git a/src/xenia/gpu/texture_info_formats.inl b/src/xenia/gpu/texture_info_formats.inl index 303a91e31..c47cdf9db 100644 --- a/src/xenia/gpu/texture_info_formats.inl +++ b/src/xenia/gpu/texture_info_formats.inl @@ -61,4 +61,4 @@ FORMAT_INFO(k_1_REVERSE, kUncompressed, 1, 1, 1), FORMAT_INFO(k_CTX1, kCompressed, 4, 4, 4), FORMAT_INFO(k_DXT3A_AS_1_1_1_1, kCompressed, 4, 4, 4), FORMAT_INFO(k_8_8_8_8_GAMMA_EDRAM, kUncompressed, 1, 1, 32), - FORMAT_INFO(k_2_10_10_10_FLOAT_EDRAM, kUncompressed, 1, 1, 32), \ No newline at end of file + FORMAT_INFO(k_2_10_10_10_FLOAT_EDRAM, kUncompressed, 1, 1, 32), diff --git a/src/xenia/gpu/vulkan/deferred_command_buffer.h b/src/xenia/gpu/vulkan/deferred_command_buffer.h index f151ab3ba..9747ac526 100644 --- a/src/xenia/gpu/vulkan/deferred_command_buffer.h +++ b/src/xenia/gpu/vulkan/deferred_command_buffer.h @@ -547,4 +547,4 @@ class DeferredCommandBuffer { } // namespace gpu } // namespace xe -#endif // XENIA_GPU_VULKAN_DEFERRED_COMMAND_BUFFER_H_ \ No newline at end of file +#endif // XENIA_GPU_VULKAN_DEFERRED_COMMAND_BUFFER_H_ diff --git a/src/xenia/gpu/xenos.cc b/src/xenia/gpu/xenos.cc index 3f86ac256..398f5ff7a 100644 --- a/src/xenia/gpu/xenos.cc +++ b/src/xenia/gpu/xenos.cc @@ -242,4 +242,4 @@ const char* GetPrimitiveTypeEnglishDescription(xenos::PrimitiveType prim_type) { } } // namespace xenos } // namespace gpu -} // namespace xe \ No newline at end of file +} // namespace xe diff --git a/src/xenia/guest_pointers.h b/src/xenia/guest_pointers.h index 6794e11f5..80fef0ada 100644 --- a/src/xenia/guest_pointers.h +++ b/src/xenia/guest_pointers.h @@ -48,4 +48,4 @@ struct TypedGuestPointer { }; } // namespace xe -#endif // XENIA_GUEST_POINTERS_H_ \ No newline at end of file +#endif // XENIA_GUEST_POINTERS_H_ diff --git a/src/xenia/helper/sdl/sdl_helper.h b/src/xenia/helper/sdl/sdl_helper.h index 43504be20..ce4ffefc4 100644 --- a/src/xenia/helper/sdl/sdl_helper.h +++ b/src/xenia/helper/sdl/sdl_helper.h @@ -35,4 +35,4 @@ class SDLHelper { } // namespace helper } // namespace xe -#endif // XENIA_HELPER_SDL_SDL_HELPER_H_ \ No newline at end of file +#endif // XENIA_HELPER_SDL_SDL_HELPER_H_ diff --git a/src/xenia/hid/skylander/skylander_emulated.cc b/src/xenia/hid/skylander/skylander_emulated.cc index d21e1b5dd..1a0a0bf8b 100644 --- a/src/xenia/hid/skylander/skylander_emulated.cc +++ b/src/xenia/hid/skylander/skylander_emulated.cc @@ -29,4 +29,4 @@ X_STATUS SkylanderPortalEmulated::write(std::vector& data) { }; } // namespace hid -} // namespace xe \ No newline at end of file +} // namespace xe diff --git a/src/xenia/hid/skylander/skylander_emulated.h b/src/xenia/hid/skylander/skylander_emulated.h index 9008418c4..b49ab6223 100644 --- a/src/xenia/hid/skylander/skylander_emulated.h +++ b/src/xenia/hid/skylander/skylander_emulated.h @@ -31,4 +31,4 @@ class SkylanderPortalEmulated final : public SkylanderPortal { } // namespace hid } // namespace xe -#endif \ No newline at end of file +#endif diff --git a/src/xenia/hid/skylander/skylander_hardware.cc b/src/xenia/hid/skylander/skylander_hardware.cc index e27844768..113f7b9b1 100644 --- a/src/xenia/hid/skylander/skylander_hardware.cc +++ b/src/xenia/hid/skylander/skylander_hardware.cc @@ -118,4 +118,4 @@ X_STATUS SkylanderPortalLibusb::write(std::vector& data) { }; } // namespace hid -} // namespace xe \ No newline at end of file +} // namespace xe diff --git a/src/xenia/hid/skylander/skylander_hardware.h b/src/xenia/hid/skylander/skylander_hardware.h index d8b5b84bc..493e5eb36 100644 --- a/src/xenia/hid/skylander/skylander_hardware.h +++ b/src/xenia/hid/skylander/skylander_hardware.h @@ -44,4 +44,4 @@ class SkylanderPortalLibusb final : public SkylanderPortal { } // namespace hid } // namespace xe -#endif \ No newline at end of file +#endif diff --git a/src/xenia/hid/skylander/skylander_portal.cc b/src/xenia/hid/skylander/skylander_portal.cc index fe46d4983..817fa9f15 100644 --- a/src/xenia/hid/skylander/skylander_portal.cc +++ b/src/xenia/hid/skylander/skylander_portal.cc @@ -16,4 +16,4 @@ SkylanderPortal::SkylanderPortal() {} SkylanderPortal::~SkylanderPortal() {} } // namespace hid -} // namespace xe \ No newline at end of file +} // namespace xe diff --git a/src/xenia/hid/skylander/skylander_portal.h b/src/xenia/hid/skylander/skylander_portal.h index 7962184a2..34301d423 100644 --- a/src/xenia/hid/skylander/skylander_portal.h +++ b/src/xenia/hid/skylander/skylander_portal.h @@ -37,4 +37,4 @@ class SkylanderPortal { } // namespace hid } // namespace xe -#endif \ No newline at end of file +#endif diff --git a/src/xenia/kernel/smc.cc b/src/xenia/kernel/smc.cc index 003f70d72..14a6c25d7 100644 --- a/src/xenia/kernel/smc.cc +++ b/src/xenia/kernel/smc.cc @@ -184,4 +184,4 @@ void SystemManagementController::SetLedState(X_SMC_DATA* smc_message, } } // namespace kernel -} // namespace xe \ No newline at end of file +} // namespace xe diff --git a/src/xenia/kernel/title_id_utils.h b/src/xenia/kernel/title_id_utils.h index 995f5dafd..46ad9a54d 100644 --- a/src/xenia/kernel/title_id_utils.h +++ b/src/xenia/kernel/title_id_utils.h @@ -108,4 +108,4 @@ static_assert(!IsOriginalXboxTitle(0x4D5308BC)); // 360 Game } // namespace kernel } // namespace xe -#endif \ No newline at end of file +#endif diff --git a/src/xenia/kernel/util/crypto_utils.h b/src/xenia/kernel/util/crypto_utils.h index 0c96f9103..91d0fadc0 100644 --- a/src/xenia/kernel/util/crypto_utils.h +++ b/src/xenia/kernel/util/crypto_utils.h @@ -30,4 +30,4 @@ void RC4(const uint8_t* key, uint32_t key_size_in, const uint8_t* data, } // namespace kernel } // namespace xe -#endif // XENIA_KERNEL_UTIL_CRYPTO_UTILS_H_ \ No newline at end of file +#endif // XENIA_KERNEL_UTIL_CRYPTO_UTILS_H_ diff --git a/src/xenia/kernel/util/game_info_database.cc b/src/xenia/kernel/util/game_info_database.cc index 848056355..5b38540fe 100644 --- a/src/xenia/kernel/util/game_info_database.cc +++ b/src/xenia/kernel/util/game_info_database.cc @@ -281,4 +281,4 @@ std::vector GameInfoDatabase::GetAchievements() } // namespace util } // namespace kernel -} // namespace xe \ No newline at end of file +} // namespace xe diff --git a/src/xenia/kernel/util/game_info_database.h b/src/xenia/kernel/util/game_info_database.h index 765d7d7c1..485a52203 100644 --- a/src/xenia/kernel/util/game_info_database.h +++ b/src/xenia/kernel/util/game_info_database.h @@ -135,4 +135,4 @@ class GameInfoDatabase { } // namespace kernel } // namespace xe -#endif // XENIA_KERNEL_UTIL_GAME_INFO_DATABASE_H_ \ No newline at end of file +#endif // XENIA_KERNEL_UTIL_GAME_INFO_DATABASE_H_ diff --git a/src/xenia/kernel/util/kernel_fwd.h b/src/xenia/kernel/util/kernel_fwd.h index 5d16e3d94..4e605cad9 100644 --- a/src/xenia/kernel/util/kernel_fwd.h +++ b/src/xenia/kernel/util/kernel_fwd.h @@ -26,4 +26,4 @@ namespace xe::kernel::util { class NativeList; class ObjectTable; } // namespace xe::kernel::util -#endif \ No newline at end of file +#endif diff --git a/src/xenia/kernel/util/presence_string_builder.cc b/src/xenia/kernel/util/presence_string_builder.cc index 75ade3aaa..708720728 100644 --- a/src/xenia/kernel/util/presence_string_builder.cc +++ b/src/xenia/kernel/util/presence_string_builder.cc @@ -150,4 +150,4 @@ std::queue AttributeStringFormatter::GetPresenceFormatSpecifiers() } } // namespace util } // namespace kernel -} // namespace xe \ No newline at end of file +} // namespace xe diff --git a/src/xenia/kernel/util/presence_string_builder.h b/src/xenia/kernel/util/presence_string_builder.h index 098c33ee7..645ac0973 100644 --- a/src/xenia/kernel/util/presence_string_builder.h +++ b/src/xenia/kernel/util/presence_string_builder.h @@ -77,4 +77,4 @@ class AttributeStringFormatter { } // namespace kernel } // namespace xe -#endif // XENIA_KERNEL_UTIL_PRESENCE_STRING_BUILDER_H_ \ No newline at end of file +#endif // XENIA_KERNEL_UTIL_PRESENCE_STRING_BUILDER_H_ diff --git a/src/xenia/kernel/xam/user_data.cc b/src/xenia/kernel/xam/user_data.cc index 05e0fbda6..e64983d74 100644 --- a/src/xenia/kernel/xam/user_data.cc +++ b/src/xenia/kernel/xam/user_data.cc @@ -127,4 +127,4 @@ UserData::UserData(const X_USER_DATA_TYPE data_type, } // namespace xam } // namespace kernel -} // namespace xe \ No newline at end of file +} // namespace xe diff --git a/src/xenia/kernel/xam/user_data.h b/src/xenia/kernel/xam/user_data.h index 4449c02b9..bc5b50acc 100644 --- a/src/xenia/kernel/xam/user_data.h +++ b/src/xenia/kernel/xam/user_data.h @@ -202,4 +202,4 @@ class UserData { } // namespace kernel } // namespace xe -#endif \ No newline at end of file +#endif diff --git a/src/xenia/kernel/xam/user_property.cc b/src/xenia/kernel/xam/user_property.cc index c7d55a8ff..97470e008 100644 --- a/src/xenia/kernel/xam/user_property.cc +++ b/src/xenia/kernel/xam/user_property.cc @@ -78,4 +78,4 @@ void Property::WriteToGuest(XUSER_PROPERTY* property) const { } // namespace xam } // namespace kernel -} // namespace xe \ No newline at end of file +} // namespace xe diff --git a/src/xenia/kernel/xam/user_property.h b/src/xenia/kernel/xam/user_property.h index a976fdc56..42ebc415c 100644 --- a/src/xenia/kernel/xam/user_property.h +++ b/src/xenia/kernel/xam/user_property.h @@ -62,4 +62,4 @@ class Property : public UserData { } // namespace kernel } // namespace xe -#endif \ No newline at end of file +#endif diff --git a/src/xenia/kernel/xam/user_tracker.h b/src/xenia/kernel/xam/user_tracker.h index 0fd198d9b..8c089adc2 100644 --- a/src/xenia/kernel/xam/user_tracker.h +++ b/src/xenia/kernel/xam/user_tracker.h @@ -124,4 +124,4 @@ class UserTracker { } // namespace kernel } // namespace xe -#endif \ No newline at end of file +#endif diff --git a/src/xenia/kernel/xam/xam_media.cc b/src/xenia/kernel/xam/xam_media.cc index feefd30eb..104d2828e 100644 --- a/src/xenia/kernel/xam/xam_media.cc +++ b/src/xenia/kernel/xam/xam_media.cc @@ -69,4 +69,4 @@ DECLARE_XAM_EXPORT1(XamMediaVerificationInject, kNone, kStub); } // namespace kernel } // namespace xe -DECLARE_XAM_EMPTY_REGISTER_EXPORTS(Media); \ No newline at end of file +DECLARE_XAM_EMPTY_REGISTER_EXPORTS(Media); diff --git a/src/xenia/kernel/xam/xam_profile.cc b/src/xenia/kernel/xam/xam_profile.cc index 07501b0ac..cfa3d42a7 100644 --- a/src/xenia/kernel/xam/xam_profile.cc +++ b/src/xenia/kernel/xam/xam_profile.cc @@ -103,4 +103,4 @@ DECLARE_XAM_EXPORT1(XamProfileGetCreationStatus, kNone, kStub); } // namespace kernel } // namespace xe -DECLARE_XAM_EMPTY_REGISTER_EXPORTS(Profile); \ No newline at end of file +DECLARE_XAM_EMPTY_REGISTER_EXPORTS(Profile); diff --git a/src/xenia/kernel/xam/xam_state.h b/src/xenia/kernel/xam/xam_state.h index c53a950bd..2c0d74451 100644 --- a/src/xenia/kernel/xam/xam_state.h +++ b/src/xenia/kernel/xam/xam_state.h @@ -71,4 +71,4 @@ class XamState { } // namespace kernel } // namespace xe -#endif \ No newline at end of file +#endif diff --git a/src/xenia/kernel/xam/xam_user.cc b/src/xenia/kernel/xam/xam_user.cc index 8ed030780..bfff7e452 100644 --- a/src/xenia/kernel/xam/xam_user.cc +++ b/src/xenia/kernel/xam/xam_user.cc @@ -1056,4 +1056,4 @@ DECLARE_XAM_EXPORT1(XamUserGetUserTenure, kUserProfiles, kImplemented); } // namespace kernel } // namespace xe -DECLARE_XAM_EMPTY_REGISTER_EXPORTS(User); \ No newline at end of file +DECLARE_XAM_EMPTY_REGISTER_EXPORTS(User); diff --git a/src/xenia/kernel/xam/xdbf/gpd_info.h b/src/xenia/kernel/xam/xdbf/gpd_info.h index ae9df3376..5770ea230 100644 --- a/src/xenia/kernel/xam/xdbf/gpd_info.h +++ b/src/xenia/kernel/xam/xdbf/gpd_info.h @@ -157,4 +157,4 @@ class GpdInfo : public XdbfFile { } // namespace kernel } // namespace xe -#endif // XENIA_KERNEL_XAM_XDBF_GPD_INFO_H_ \ No newline at end of file +#endif // XENIA_KERNEL_XAM_XDBF_GPD_INFO_H_ diff --git a/src/xenia/kernel/xam/xdbf/gpd_info_profile.h b/src/xenia/kernel/xam/xdbf/gpd_info_profile.h index 63250b41b..2389600a0 100644 --- a/src/xenia/kernel/xam/xdbf/gpd_info_profile.h +++ b/src/xenia/kernel/xam/xdbf/gpd_info_profile.h @@ -48,4 +48,4 @@ class GpdInfoProfile : public GpdInfo { } // namespace kernel } // namespace xe -#endif // XENIA_KERNEL_XAM_XDBF_GPD_INFO_PROFILE_H_ \ No newline at end of file +#endif // XENIA_KERNEL_XAM_XDBF_GPD_INFO_PROFILE_H_ diff --git a/src/xenia/kernel/xam/xdbf/gpd_info_title.h b/src/xenia/kernel/xam/xdbf/gpd_info_title.h index 75f06040b..574572e07 100644 --- a/src/xenia/kernel/xam/xdbf/gpd_info_title.h +++ b/src/xenia/kernel/xam/xdbf/gpd_info_title.h @@ -57,4 +57,4 @@ class GpdInfoTitle : public GpdInfo { } // namespace xam } // namespace kernel } // namespace xe -#endif // XENIA_KERNEL_XAM_XDBF_GPD_INFO_TITLE_H_ \ No newline at end of file +#endif // XENIA_KERNEL_XAM_XDBF_GPD_INFO_TITLE_H_ diff --git a/src/xenia/kernel/xsocket.h b/src/xenia/kernel/xsocket.h index b3dab0853..10dcf42f1 100644 --- a/src/xenia/kernel/xsocket.h +++ b/src/xenia/kernel/xsocket.h @@ -166,4 +166,4 @@ class XSocket : public XObject { } // namespace kernel } // namespace xe -#endif // XENIA_KERNEL_XSOCKET_H_ \ No newline at end of file +#endif // XENIA_KERNEL_XSOCKET_H_ diff --git a/src/xenia/ui/imgui_guest_notification.h b/src/xenia/ui/imgui_guest_notification.h index 634870969..1e6ae57a2 100644 --- a/src/xenia/ui/imgui_guest_notification.h +++ b/src/xenia/ui/imgui_guest_notification.h @@ -90,4 +90,4 @@ class XNotifyWindow final : ImGuiGuestNotification { } // namespace ui } // namespace xe -#endif \ No newline at end of file +#endif diff --git a/src/xenia/ui/imgui_host_notification.h b/src/xenia/ui/imgui_host_notification.h index aed720b3a..aa0ef5de7 100644 --- a/src/xenia/ui/imgui_host_notification.h +++ b/src/xenia/ui/imgui_host_notification.h @@ -49,4 +49,4 @@ class HostNotificationWindow final : ImGuiHostNotification { } // namespace ui } // namespace xe -#endif \ No newline at end of file +#endif diff --git a/src/xenia/ui/imgui_notification.h b/src/xenia/ui/imgui_notification.h index 6e0ca6cb2..746684970 100644 --- a/src/xenia/ui/imgui_notification.h +++ b/src/xenia/ui/imgui_notification.h @@ -132,4 +132,4 @@ class ImGuiNotification { } // namespace ui } // namespace xe -#endif \ No newline at end of file +#endif diff --git a/src/xenia/ui/renderdoc_api.h b/src/xenia/ui/renderdoc_api.h index 1a07fe116..d8003349a 100644 --- a/src/xenia/ui/renderdoc_api.h +++ b/src/xenia/ui/renderdoc_api.h @@ -36,4 +36,4 @@ class RenderdocApi { } // namespace ui } // namespace xe -#endif // XENIA_UI_RENDERDOC_API_H_ \ No newline at end of file +#endif // XENIA_UI_RENDERDOC_API_H_ diff --git a/src/xenia/ui/vulkan/vulkan_mem_alloc.h b/src/xenia/ui/vulkan/vulkan_mem_alloc.h index 9ae9db16e..e4b945290 100644 --- a/src/xenia/ui/vulkan/vulkan_mem_alloc.h +++ b/src/xenia/ui/vulkan/vulkan_mem_alloc.h @@ -36,4 +36,4 @@ VmaAllocator CreateVmaAllocator(const VulkanProvider& provider, } // namespace ui } // namespace xe -#endif // XENIA_UI_VULKAN_VULKAN_MEM_ALLOC_H_ \ No newline at end of file +#endif // XENIA_UI_VULKAN_VULKAN_MEM_ALLOC_H_ diff --git a/src/xenia/vfs/devices/xcontent_container_device.cc b/src/xenia/vfs/devices/xcontent_container_device.cc index 3160eb283..ec6d341b4 100644 --- a/src/xenia/vfs/devices/xcontent_container_device.cc +++ b/src/xenia/vfs/devices/xcontent_container_device.cc @@ -201,4 +201,4 @@ XContentContainerDevice::Result XContentContainerDevice::ReadHeaderAndVerify( } } // namespace vfs -} // namespace xe \ No newline at end of file +} // namespace xe diff --git a/src/xenia/vfs/devices/xcontent_container_entry.cc b/src/xenia/vfs/devices/xcontent_container_entry.cc index 87d76a931..c5d7bd849 100644 --- a/src/xenia/vfs/devices/xcontent_container_entry.cc +++ b/src/xenia/vfs/devices/xcontent_container_entry.cc @@ -21,4 +21,4 @@ XContentContainerEntry::~XContentContainerEntry() = default; bool XContentContainerEntry::DeleteEntryInternal(Entry* entry) { return false; } } // namespace vfs -} // namespace xe \ No newline at end of file +} // namespace xe diff --git a/src/xenia/vfs/devices/xcontent_container_entry.h b/src/xenia/vfs/devices/xcontent_container_entry.h index a9dbdeb08..a43856561 100644 --- a/src/xenia/vfs/devices/xcontent_container_entry.h +++ b/src/xenia/vfs/devices/xcontent_container_entry.h @@ -52,4 +52,4 @@ class XContentContainerEntry : public Entry { } // namespace vfs } // namespace xe -#endif // XENIA_VFS_DEVICES_XCONTENT_CONTAINER_ENTRY_H_ \ No newline at end of file +#endif // XENIA_VFS_DEVICES_XCONTENT_CONTAINER_ENTRY_H_ diff --git a/src/xenia/vfs/devices/xcontent_container_file.cc b/src/xenia/vfs/devices/xcontent_container_file.cc index 43237d168..15c4a7a8a 100644 --- a/src/xenia/vfs/devices/xcontent_container_file.cc +++ b/src/xenia/vfs/devices/xcontent_container_file.cc @@ -63,4 +63,4 @@ X_STATUS XContentContainerFile::ReadSync(std::span buffer, } } // namespace vfs -} // namespace xe \ No newline at end of file +} // namespace xe diff --git a/src/xenia/vfs/devices/xcontent_devices/stfs_container_entry.cc b/src/xenia/vfs/devices/xcontent_devices/stfs_container_entry.cc index 7e90d7ef3..8df32abf8 100644 --- a/src/xenia/vfs/devices/xcontent_devices/stfs_container_entry.cc +++ b/src/xenia/vfs/devices/xcontent_devices/stfs_container_entry.cc @@ -37,4 +37,4 @@ X_STATUS StfsContainerEntry::Open(uint32_t desired_access, File** out_file) { bool StfsContainerEntry::DeleteEntryInternal(Entry* entry) { return false; } } // namespace vfs -} // namespace xe \ No newline at end of file +} // namespace xe diff --git a/src/xenia/vfs/devices/xcontent_devices/stfs_container_entry.h b/src/xenia/vfs/devices/xcontent_devices/stfs_container_entry.h index 5c6d32571..80ef94265 100644 --- a/src/xenia/vfs/devices/xcontent_devices/stfs_container_entry.h +++ b/src/xenia/vfs/devices/xcontent_devices/stfs_container_entry.h @@ -39,4 +39,4 @@ class StfsContainerEntry : public XContentContainerEntry { } // namespace vfs } // namespace xe -#endif // XENIA_VFS_DEVICES_XCONTENT_CONTAINER_ENTRY_H_ \ No newline at end of file +#endif // XENIA_VFS_DEVICES_XCONTENT_CONTAINER_ENTRY_H_ diff --git a/src/xenia/vfs/devices/xcontent_devices/stfs_container_file.cc b/src/xenia/vfs/devices/xcontent_devices/stfs_container_file.cc index fa31b3377..1ee035dd1 100644 --- a/src/xenia/vfs/devices/xcontent_devices/stfs_container_file.cc +++ b/src/xenia/vfs/devices/xcontent_devices/stfs_container_file.cc @@ -28,4 +28,4 @@ size_t StfsContainerFile::Read(std::span buffer, size_t offset, } } // namespace vfs -} // namespace xe \ No newline at end of file +} // namespace xe diff --git a/src/xenia/vfs/devices/xcontent_devices/svod_container_entry.cc b/src/xenia/vfs/devices/xcontent_devices/svod_container_entry.cc index c9203dca6..e31180ccd 100644 --- a/src/xenia/vfs/devices/xcontent_devices/svod_container_entry.cc +++ b/src/xenia/vfs/devices/xcontent_devices/svod_container_entry.cc @@ -38,4 +38,4 @@ X_STATUS SvodContainerEntry::Open(uint32_t desired_access, File** out_file) { bool SvodContainerEntry::DeleteEntryInternal(Entry* entry) { return false; } } // namespace vfs -} // namespace xe \ No newline at end of file +} // namespace xe diff --git a/src/xenia/vfs/devices/xcontent_devices/svod_container_entry.h b/src/xenia/vfs/devices/xcontent_devices/svod_container_entry.h index ff0b939a6..60c39a168 100644 --- a/src/xenia/vfs/devices/xcontent_devices/svod_container_entry.h +++ b/src/xenia/vfs/devices/xcontent_devices/svod_container_entry.h @@ -45,4 +45,4 @@ class SvodContainerEntry : public XContentContainerEntry { } // namespace vfs } // namespace xe -#endif // XENIA_VFS_DEVICES_XCONTENT_SVOD_CONTAINER_ENTRY_H_ \ No newline at end of file +#endif // XENIA_VFS_DEVICES_XCONTENT_SVOD_CONTAINER_ENTRY_H_ diff --git a/src/xenia/vfs/devices/xcontent_devices/svod_container_file.cc b/src/xenia/vfs/devices/xcontent_devices/svod_container_file.cc index 65e40a000..6f6ff8191 100644 --- a/src/xenia/vfs/devices/xcontent_devices/svod_container_file.cc +++ b/src/xenia/vfs/devices/xcontent_devices/svod_container_file.cc @@ -29,4 +29,4 @@ size_t SvodContainerFile::Read(std::span buffer, size_t offset, } } // namespace vfs -} // namespace xe \ No newline at end of file +} // namespace xe diff --git a/src/xenia/vfs/file.h b/src/xenia/vfs/file.h index 2bbe70fc0..9add3c70f 100644 --- a/src/xenia/vfs/file.h +++ b/src/xenia/vfs/file.h @@ -64,4 +64,4 @@ class File { } // namespace vfs } // namespace xe -#endif // XENIA_VFS_FILE_H_ \ No newline at end of file +#endif // XENIA_VFS_FILE_H_