diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2026-07-31 13:20:48 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-31 13:20:48 -0400 |
| commit | 45718d8cccbde7bad1c090de82e343fba68dc27f (patch) | |
| tree | 283f733a77fb0ead544a652e17cf2dad2ad42e89 /include/JSystem/JUtility/JUTResFont.h | |
| parent | 641268e340402a965c90610f7c176d95e346c644 (diff) | |
Compiler compat fix: Passing of rvalue GXColors to non-const reference parameters (#1142)
Diffstat (limited to 'include/JSystem/JUtility/JUTResFont.h')
| -rw-r--r-- | include/JSystem/JUtility/JUTResFont.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/JSystem/JUtility/JUTResFont.h b/include/JSystem/JUtility/JUTResFont.h index 77047933..72a68d9e 100644 --- a/include/JSystem/JUtility/JUTResFont.h +++ b/include/JSystem/JUtility/JUTResFont.h @@ -17,13 +17,13 @@ public: virtual const ResFONT* getResFont() const { return mResFont; } virtual int getFontType() const { return mInfoBlock->fontType; } virtual int getLeading() const { return mInfoBlock->leading; } - virtual s32 getWidth() const { return mInfoBlock->width; } - virtual s32 getAscent() const { return mInfoBlock->ascent; } - virtual s32 getDescent() const { return mInfoBlock->descent; } - virtual s32 getHeight() const { return getAscent() + getDescent(); } + virtual int getWidth() const { return mInfoBlock->width; } + virtual int getAscent() const { return mInfoBlock->ascent; } + virtual int getDescent() const { return mInfoBlock->descent; } + virtual int getHeight() const { return getAscent() + getDescent(); } virtual void getWidthEntry(int, JUTFont::TWidth*) const; virtual int getCellWidth() const; - virtual s32 getCellHeight() const; + virtual int getCellHeight() const; virtual bool isLeadByte(int) const; virtual void loadImage(int, GXTexMapID); virtual void setBlock(); |
