- added write barriers to the menu code.

The GC was causing some crash issues with the items not having been subjected to a write barrier.
This commit is contained in:
Christoph Oelckers 2017-02-05 01:52:09 +01:00
commit 5cfac78116
6 changed files with 47 additions and 0 deletions

View file

@ -66,6 +66,10 @@ void M_DrawConText (int color, int x, int y, const char *str)
IMPLEMENT_CLASS(DOptionMenu, false, false)
IMPLEMENT_POINTERS_START(DOptionMenu)
IMPLEMENT_POINTER(mFocusControl)
IMPLEMENT_POINTERS_END
//=============================================================================
//
//