Wii U: Several fixes and improvements (#1608)

* WiiU: fix more scaling issues

* Wii U: batch depth reads

* Wii U: remove file buffering
Doesn't seem to to do much anymore

* Remove "missing_gcc_functions.c" to avoid conflicts

* Wii U: Fix random_device usage
random_device will always be seeded with a constant seed and will return the same number sequence every time

* Wii U: Improve software keyboard

* Wii U: Fix console input text width
This commit is contained in:
GaryOderNichts
2022-09-28 01:29:55 +02:00
committed by GitHub
parent 7fb8902e7f
commit 677c4845f6
18 changed files with 147 additions and 89 deletions
+3 -3
View File
@@ -325,7 +325,7 @@ namespace UIWidgets {
if (PlusMinusButton) {
#ifdef __SWITCH__
ImGui::PushItemWidth(ImGui::GetWindowSize().x - 110.0f);
#elif __WIIU__
#elif defined(__WIIU__)
ImGui::PushItemWidth(ImGui::GetWindowSize().x - 79.0f * 2);
#else
ImGui::PushItemWidth(ImGui::GetWindowSize().x - 79.0f);
@@ -439,9 +439,9 @@ namespace UIWidgets {
std::string FullName = "Random";
FullName += MakeInvisible;
if (ImGui::Button(FullName.c_str())) {
#ifdef __SWITCH__
#if defined(__SWITCH__) || defined(__WIIU__)
srand(time(NULL));
#endif
#endif
ImVec4 color = GetRandomValue(255);
colors->x = color.x;
colors->y = color.y;