Skip to content

Commit

Permalink
add back warning for outdated fix
Browse files Browse the repository at this point in the history
  • Loading branch information
matcool committed Nov 14, 2024
1 parent 48cad61 commit 81cd8d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions loader/src/hooks/WindowsFontCacheFix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ static void patchCall(uintptr_t addr, uintptr_t newCall) {
$execute {
if (LoaderImpl::get()->isForwardCompatMode()) return;

#if GEODE_COMP_GD_VERSION == 22040
// BitmapDC::~BitmapDC
#if 0 // TODO: mat GEODE_COMP_GD_VERSION == 22040
patchCall(0xC9A56, (uintptr_t)&RemoveFontResourceWHook);

// BitmapDC::setFont
patchCall(0xCB5BC, (uintptr_t)&RemoveFontResourceWHook);
patchCall(0xCB642, (uintptr_t)&AddFontResourceWHook);
#else
// #pragma message("Unsupported GD version!")
#pragma message("Unsupported GD version!")
#endif
};

Expand Down

0 comments on commit 81cd8d1

Please sign in to comment.