diff --git a/.github/workflows/Linux_build.yml b/.github/workflows/Linux_build.yml index d1b6d6361..71c023b39 100644 --- a/.github/workflows/Linux_build.yml +++ b/.github/workflows/Linux_build.yml @@ -53,7 +53,7 @@ jobs: - name: Setup id: setup env: - LLVM_VERSION: 19 # Same as Windows + LLVM_VERSION: 20 run: | UBUNTU_BASE=$(lsb_release -cs) #echo "LLVM_VERSION=$LLVM_VERSION" >> "$GITHUB_OUTPUT" diff --git a/src/xenia/gpu/shader_translator_disasm.cc b/src/xenia/gpu/shader_translator_disasm.cc index 0b129d158..f3c5cc10b 100644 --- a/src/xenia/gpu/shader_translator_disasm.cc +++ b/src/xenia/gpu/shader_translator_disasm.cc @@ -255,7 +255,10 @@ void ParsedVertexFetchInstruction::Disassemble(StringBuffer* out) const { static const struct { const char* name; } kVertexFetchDataFormats[0xff] = { -#define TYPE(id) {#id} +#define TYPE(id) \ + { \ + #id \ + } {0}, {0}, {0}, diff --git a/src/xenia/kernel/util/shim_utils.h b/src/xenia/kernel/util/shim_utils.h index 4af7166d4..0fa254157 100644 --- a/src/xenia/kernel/util/shim_utils.h +++ b/src/xenia/kernel/util/shim_utils.h @@ -632,10 +632,11 @@ using xe::cpu::ExportTag; xe::kernel::shim::KernelModuleId::module_name, \ ordinals::name>(&name##_entry))>>; \ const auto EXPORT_##module_name##_##name = RegisterExport_##module_name( \ - _register_##module_name##_##name ::RegisterExport < &name##_entry, \ - tags | (static_cast( \ - xe::cpu::ExportCategory::category) \ - << xe::cpu::ExportTag::CategoryShift) > (#name)); + _register_##module_name##_##name ::RegisterExport< \ + &name##_entry, tags | (static_cast( \ + xe::cpu::ExportCategory::category) \ + << xe::cpu::ExportTag::CategoryShift)>( \ + #name)); #define DECLARE_EMPTY_REGISTER_EXPORTS(module_name, group_name) \ void xe::kernel::module_name::Register##group_name##Exports( \ diff --git a/src/xenia/ui/windowed_app_main_win.cc b/src/xenia/ui/windowed_app_main_win.cc index 86e0100b5..faea655f3 100644 --- a/src/xenia/ui/windowed_app_main_win.cc +++ b/src/xenia/ui/windowed_app_main_win.cc @@ -124,7 +124,7 @@ void HostExceptionReport::AddString(const char* s) { } const char* HostExceptionReport::GetFormattedAddress(uintptr_t address) { - char(¤t_buffer)[128] = + char (¤t_buffer)[128] = formatted_addresses[address_format_ring_index++ % 16]; /* if (address >= g_xenia_exe_base &&