12-29-2019, 08:31 PM
At the moment, Wiimmfi uses memory at the end of that free space, and LE-CODE uses memory at the start. Thus, adding code right after the LE-CODE is probably fine within the near future. However, depending on the amount of code you add, and the amount of code we add to Wiimmfi in the future. you might run into trouble.
I'm not saying you absolutely must not use this patch, but that memory block was intended to be used by LE-CODE and Wiimmfi only, and we can't consider any custom codes that people add there when we update the LE-CODE or the Wiimmfi updater. Just saying that just because there are 73k lines of code space today, doesn't mean that there will be 73k lines of code space tomorrow or next week. We are expanding the wiimmfi updater with more code fairly regularly for improvements, new statistics, or other things, and if a distribution places its own code in that space Wiimmfi uses will cause trouble.
If you do want to have a custom buffer to use for cheat codes, I would recommend taking a chunk off the heap prior to the start of the game. Wiimms tools ( https://szs.wiimm.de/info/add-section.html ) together with the parameter "--gct-move" can do that automatically. That way you are using space on the heap, and not space that can potentially be used by Wiimmfi in the future.
I'm not saying you absolutely must not use this patch, but that memory block was intended to be used by LE-CODE and Wiimmfi only, and we can't consider any custom codes that people add there when we update the LE-CODE or the Wiimmfi updater. Just saying that just because there are 73k lines of code space today, doesn't mean that there will be 73k lines of code space tomorrow or next week. We are expanding the wiimmfi updater with more code fairly regularly for improvements, new statistics, or other things, and if a distribution places its own code in that space Wiimmfi uses will cause trouble.
If you do want to have a custom buffer to use for cheat codes, I would recommend taking a chunk off the heap prior to the start of the game. Wiimms tools ( https://szs.wiimm.de/info/add-section.html ) together with the parameter "--gct-move" can do that automatically. That way you are using space on the heap, and not space that can potentially be used by Wiimmfi in the future.