hchapman/libwiigui

PATCH - Fix limit of 2^8 GuiWindow child elements

Closed this issue · 1 comments

While in some places GuiWindow seem to accept 2^32 children [1], in most
places the maximum number of children is implicitely 2^8 [2].

Since 2^8 was insufficient for my need (2^16 would have been enough tho), i
figured it might eventually also be the case for others. Thus, here's a
patch that brings up the limit to 2^16. (I doubt anyone will need 2^32
elements...)

[1] e.g.GetGuiElementAt(u32)
[2] e.g. Draw() and Update()

What version of the product are you using? On what operating system?
The patch was created against SVN HEAD (r49). I tested my code on my Wii.

Original issue reported on code.google.com by evily...@gmail.com on 19 Apr 2010 at 6:36

Attachments:

Original comment by dborth@gmail.com on 19 Jun 2010 at 4:17

  • Changed state: Completed