Skip to content

Commit

Permalink
imgui: Don't use base85 because of MSVC.
Browse files Browse the repository at this point in the history
MSVC can't handle strings larger than 65536.
  • Loading branch information
bearoso committed May 4, 2023
1 parent 04a0fdc commit 8289c77
Show file tree
Hide file tree
Showing 2 changed files with 9,311 additions and 3,992 deletions.
2 changes: 1 addition & 1 deletion external/imgui/snes9x_imgui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -279,5 +279,5 @@ void S9xImGuiInit(S9xImGuiInitInfo *init_info)
builder.AddText("←↑→↓▶❚");
ranges.clear();
builder.BuildRanges(&ranges);
ImGui::GetIO().Fonts->AddFontFromMemoryCompressedBase85TTF(imgui_noto_font_compressed_data_base85, settings.font_size, nullptr, ranges.Data);
ImGui::GetIO().Fonts->AddFontFromMemoryCompressedTTF(imgui_noto_font_compressed_data, settings.font_size, nullptr, ranges.Data);
}
Loading

0 comments on commit 8289c77

Please sign in to comment.