Skip to content

Commit

Permalink
Merge branch 'xenia-canary:canary_experimental' into Custom
Browse files Browse the repository at this point in the history
  • Loading branch information
backgamon authored Sep 23, 2024
2 parents c2d4d86 + 1fd501d commit 7ad6fc1
Show file tree
Hide file tree
Showing 13 changed files with 15 additions and 80 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
url = https://github.com/p-ranav/tabulate.git
[submodule "third_party/rapidcsv"]
path = third_party/rapidcsv
url = https://github.com/d99kris/rapidcsv
url = https://github.com/d99kris/rapidcsv.git
[submodule "third_party/zlib"]
path = third_party/zlib
url = https://github.com/madler/zlib.git
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<p align="center">
<a href="https://github.com/xenia-canary/xenia-canary/tree/canary_experimental/assets/icon">
<img height="120px" src="https://raw.githubusercontent.com/xenia-canary/xenia/master/assets/icon/128.png" />
<img height="256px" src="https://raw.githubusercontent.com/xenia-canary/xenia/master/assets/icon/256.png" />
</a>
</p>

Expand Down
10 changes: 0 additions & 10 deletions src/xenia/apu/nop/nop_apu_flags.cc

This file was deleted.

13 changes: 0 additions & 13 deletions src/xenia/apu/nop/nop_apu_flags.h

This file was deleted.

10 changes: 0 additions & 10 deletions src/xenia/apu/xaudio2/xaudio2_apu_flags.cc

This file was deleted.

13 changes: 0 additions & 13 deletions src/xenia/apu/xaudio2/xaudio2_apu_flags.h

This file was deleted.

2 changes: 1 addition & 1 deletion src/xenia/base/cvar.h
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ class IConfigVarUpdate {
// If you're reviewing a pull request with a change here, check if 1) has been
// done by the submitter before merging.
static constexpr uint32_t kLastCommittedUpdateDate =
MakeConfigVarUpdateDate(2024, 8, 31, 20);
MakeConfigVarUpdateDate(2024, 9, 23, 9);

virtual ~IConfigVarUpdate() = default;

Expand Down
10 changes: 0 additions & 10 deletions src/xenia/base/main_init_android.cc

This file was deleted.

10 changes: 0 additions & 10 deletions src/xenia/base/main_init_posix.cc

This file was deleted.

3 changes: 2 additions & 1 deletion src/xenia/gpu/gpu_flags.cc
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,10 @@ DEFINE_bool(
"when MSAA is used with fullscreen passes.",
"GPU");

DEFINE_int32(query_occlusion_fake_sample_count, 1000,
DEFINE_int32(query_occlusion_fake_sample_count, 100,
"If set to -1 no sample counts are written, games may hang. Else, "
"the sample count of every tile will be incremented on every "
"EVENT_WRITE_ZPD by this number. Setting this to 0 means "
"everything is reported as occluded.",
"GPU");
UPDATE_from_int32(query_occlusion_fake_sample_count, 2024, 9, 23, 9, 1000);
16 changes: 8 additions & 8 deletions src/xenia/kernel/util/xlast.cc
Original file line number Diff line number Diff line change
Expand Up @@ -143,18 +143,18 @@ XLast::GetProductInformationAttributes() const {
}

std::vector<XLanguage> XLast::GetSupportedLanguages() const {
std::vector<XLanguage> launguages;
std::vector<XLanguage> languages;

std::string xpath = fmt::format(
"/XboxLiveSubmissionProject/GameConfigProject/LocalizedStrings");

if (!HasXLast()) {
return launguages;
return languages;
}

const pugi::xpath_node node = parsed_xlast_->select_node(xpath.c_str());
if (!node) {
return launguages;
return languages;
}

const auto locale = node.node().children("SupportedLocale");
Expand All @@ -163,12 +163,12 @@ std::vector<XLanguage> XLast::GetSupportedLanguages() const {

for (const auto& language : language_mapping) {
if (language.second == locale_name) {
launguages.push_back(language.first);
languages.push_back(language.first);
}
}
}

return launguages;
return languages;
}

std::u16string XLast::GetLocalizedString(uint32_t string_id,
Expand Down Expand Up @@ -308,15 +308,15 @@ XLastMatchmakingQuery* XLast::GetMatchmakingQuery(

std::vector<uint32_t> XLast::GetAllValuesFromNode(
const pugi::xpath_node node, const std::string child_name,
const std::string attirbute_name) {
const std::string attribute_name) {
std::vector<uint32_t> result{};

const auto searched_child = node.node().child(child_name.c_str());

for (pugi::xml_node_iterator itr = searched_child.begin();
itr != searched_child.end(); itr++) {
result.push_back(xe::string_util::from_string<uint32_t>(
itr->attribute(attirbute_name.c_str()).value(), true));
itr->attribute(attribute_name.c_str()).value(), true));
}

return result;
Expand Down Expand Up @@ -353,4 +353,4 @@ std::string XLast::GetLocaleStringFromLanguage(XLanguage language) const {

} // namespace util
} // namespace kernel
} // namespace xe
} // namespace xe
2 changes: 1 addition & 1 deletion src/xenia/kernel/util/xlast.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class XLast {
XLastMatchmakingQuery* GetMatchmakingQuery(uint32_t query_id) const;
static std::vector<uint32_t> GetAllValuesFromNode(
const pugi::xpath_node node, const std::string child_name,
const std::string attirbute_name);
const std::string attribute_name);

void Dump(std::string file_name) const;

Expand Down
2 changes: 1 addition & 1 deletion third_party/glslang
Submodule glslang updated 480 files

0 comments on commit 7ad6fc1

Please sign in to comment.