generic, fix debug menu rendering

This commit is contained in:
kub 2022-10-12 21:23:49 +00:00
parent 946c3b0ef5
commit db8af214be
2 changed files with 8 additions and 2 deletions

View file

@ -1014,6 +1014,10 @@ static void debug_menu_loop(void)
while (1)
{
menu_draw_begin(1, 0);
g_screen_ptr = g_menuscreen_ptr;
g_screen_width = g_menuscreen_w;
g_screen_height = g_menuscreen_h;
g_screen_ppitch = g_menuscreen_pp;
switch (mode)
{
case 0: tmp = PDebugMain();