Skip to content

Wii U: Several fixes and improvements#1608

Merged
briaguya0 merged 7 commits intoHarbourMasters:developfrom
GaryOderNichts:wiiu_cleanup
Sep 27, 2022
Merged

Wii U: Several fixes and improvements#1608
briaguya0 merged 7 commits intoHarbourMasters:developfrom
GaryOderNichts:wiiu_cleanup

Conversation

@GaryOderNichts
Copy link
Contributor

This PR changes the following:

  • Fixes several places which were looking wrong with the Wii U's 2x font scaling.
  • Batches up to 32 pixel depth reads into a single GX2CopySurfaceEx call in the GX2 backend to improve performance a bit.
  • Removes the pubsetbuf calls which don't seem to improve a lot.
  • Use the switch's way of writing saves to improve save lags.
  • Removes the missing_gcc_functions.c which was causing conflicts with the software float emulation GCC is providing.
    This shouldn't affect any other platforms providing hardware doubles?
  • Fix usage of random_device on Wii U.
    The Wii U implementation always seeds random_device with the same constant value, resulting in the same result being returned every time.
  • Improve the software keyboard in imgui

Copy link
Contributor

@dcvz dcvz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't wait til we figure out a global scaling system.. changes look good!

@briaguya0 briaguya0 merged commit 677c484 into HarbourMasters:develop Sep 27, 2022
Kenix3 pushed a commit to Kenix3/Shipwright that referenced this pull request Oct 19, 2022
* 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
dcvz pushed a commit to briaguya0/Shipwright that referenced this pull request Nov 12, 2022
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants