summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFilip Gawin <filip.gawin@zoho.com>2020-09-29 17:43:34 +0200
committerFilip Gawin <filip.gawin@zoho.com>2020-09-29 17:43:34 +0200
commite324f3dac0d960a3e16d538b056c36d34c6682d4 (patch)
tree399fdcb21c8001d16d15ebd688933550b285efdb /src
parentUse Const instead of const (last commit) (diff)
downloadre3-e324f3dac0d960a3e16d538b056c36d34c6682d4.tar
re3-e324f3dac0d960a3e16d538b056c36d34c6682d4.tar.gz
re3-e324f3dac0d960a3e16d538b056c36d34c6682d4.tar.bz2
re3-e324f3dac0d960a3e16d538b056c36d34c6682d4.tar.lz
re3-e324f3dac0d960a3e16d538b056c36d34c6682d4.tar.xz
re3-e324f3dac0d960a3e16d538b056c36d34c6682d4.tar.zst
re3-e324f3dac0d960a3e16d538b056c36d34c6682d4.zip
Diffstat (limited to '')
-rw-r--r--src/extras/frontendoption.cpp2
-rw-r--r--src/extras/frontendoption.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/extras/frontendoption.cpp b/src/extras/frontendoption.cpp
index f8d9f81e..70489c3c 100644
--- a/src/extras/frontendoption.cpp
+++ b/src/extras/frontendoption.cpp
@@ -279,7 +279,7 @@ void FrontendOptionAddBackButton(const wchar* text, bool fadeIn)
option.save = false;
}
-uint8 FrontendScreenAdd(char* gxtKey, eMenuSprites sprite, int prevPage, int columnWidth, int headerHeight, int lineHeight,
+uint8 FrontendScreenAdd(const char* gxtKey, eMenuSprites sprite, int prevPage, int columnWidth, int headerHeight, int lineHeight,
int8 font, float fontScaleX, float fontScaleY, int8 alignment, bool showLeftRightHelper, ReturnPrevPageFunc returnPrevPageFunc) {
uint8 screenOrder = RegisterNewScreen(gxtKey, prevPage);
diff --git a/src/extras/frontendoption.h b/src/extras/frontendoption.h
index 8e2dd668..b2bfbf5e 100644
--- a/src/extras/frontendoption.h
+++ b/src/extras/frontendoption.h
@@ -158,5 +158,5 @@ void FrontendOptionAddDynamic(const wchar* leftText, DrawFunc rightTextDrawFunc,
void FrontendOptionAddRedirect(const wchar* text, int to, int8 selectedOption = 0, bool fadeIn = true);
void FrontendOptionAddBackButton(const wchar* text, bool fadeIn = true);
-uint8 FrontendScreenAdd(char* gxtKey, eMenuSprites sprite, int prevPage, int columnWidth, int headerHeight, int lineHeight, int8 font, float fontScaleX, float fontScaleY, int8 alignment, bool showLeftRightHelper, ReturnPrevPageFunc returnPrevPageFunc = nil);
+uint8 FrontendScreenAdd(const char* gxtKey, eMenuSprites sprite, int prevPage, int columnWidth, int headerHeight, int lineHeight, int8 font, float fontScaleX, float fontScaleY, int8 alignment, bool showLeftRightHelper, ReturnPrevPageFunc returnPrevPageFunc = nil);
#endif \ No newline at end of file