mirror of
https://github.com/wiiu-env/WiiUPluginLoaderBackend.git
synced 2024-11-28 15:44:15 +01:00
Reduce stacksize for WUPSConfigItem
This commit is contained in:
parent
37fb50eebe
commit
60daf7aff6
@ -64,7 +64,7 @@ public:
|
||||
**/
|
||||
[[nodiscard]] std::string getCurrentValueDisplay() const {
|
||||
if (this->callbacks.getCurrentValueDisplay != nullptr) {
|
||||
char buf[256];
|
||||
char buf[80];
|
||||
int res = this->callbacks.getCurrentValueDisplay(context, buf, sizeof(buf));
|
||||
if (res == 0) {
|
||||
return buf;
|
||||
@ -82,7 +82,7 @@ public:
|
||||
**/
|
||||
[[nodiscard]] std::string getCurrentValueSelectedDisplay() const {
|
||||
if (this->callbacks.getCurrentValueSelectedDisplay != nullptr) {
|
||||
char buf[256];
|
||||
char buf[80];
|
||||
int res = this->callbacks.getCurrentValueSelectedDisplay(context, buf, sizeof(buf));
|
||||
if (res == 0) {
|
||||
return buf;
|
||||
|
Loading…
Reference in New Issue
Block a user