mirror of
https://github.com/wiiu-env/WiiUPluginLoaderBackend.git
synced 2024-11-24 21:56:53 +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 {
|
[[nodiscard]] std::string getCurrentValueDisplay() const {
|
||||||
if (this->callbacks.getCurrentValueDisplay != nullptr) {
|
if (this->callbacks.getCurrentValueDisplay != nullptr) {
|
||||||
char buf[256];
|
char buf[80];
|
||||||
int res = this->callbacks.getCurrentValueDisplay(context, buf, sizeof(buf));
|
int res = this->callbacks.getCurrentValueDisplay(context, buf, sizeof(buf));
|
||||||
if (res == 0) {
|
if (res == 0) {
|
||||||
return buf;
|
return buf;
|
||||||
@ -82,7 +82,7 @@ public:
|
|||||||
**/
|
**/
|
||||||
[[nodiscard]] std::string getCurrentValueSelectedDisplay() const {
|
[[nodiscard]] std::string getCurrentValueSelectedDisplay() const {
|
||||||
if (this->callbacks.getCurrentValueSelectedDisplay != nullptr) {
|
if (this->callbacks.getCurrentValueSelectedDisplay != nullptr) {
|
||||||
char buf[256];
|
char buf[80];
|
||||||
int res = this->callbacks.getCurrentValueSelectedDisplay(context, buf, sizeof(buf));
|
int res = this->callbacks.getCurrentValueSelectedDisplay(context, buf, sizeof(buf));
|
||||||
if (res == 0) {
|
if (res == 0) {
|
||||||
return buf;
|
return buf;
|
||||||
|
Loading…
Reference in New Issue
Block a user