Decompile fn_01935 (FontCache::FontCache)

Batch #1092 by ragnarok-clanker: 0 byte-identical, 1 confirmed by peer review.

- fn_01935 FontCache::FontCache: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
This commit is contained in:
ragnarok-clanker 2026-10-27 18:09:12 +00:00
commit b7989fffcd
2 changed files with 32 additions and 15 deletions

View file

@ -1,10 +1,6 @@
#include "Render/Text/FontCache.h"
#include <algorithm>
#include <objidl.h>
#include <gdiplus.h>
#include <string>
#include <tuple>
@ -43,8 +39,7 @@ namespace {
// OFFSET: 0x0054D530
// FUNCTION: fn_01935
FontCache::FontCache() {
Gdiplus::GdiplusStartupInput input;
Gdiplus::GdiplusStartup(&this->m_gdiplus, &input, nullptr);
Gdiplus::GdiplusStartup(&this->m_gdiplus, &this->m_startup, nullptr);
}
// OFFSET: 0x0100F120