void CheatIF_MT_Draw(MDFN_Surface *surface, const MDFN_Rect *src_rect) { if(!isactive) return; if(src_rect->w < 342 || src_rect->h < 342) CheatConsole.SetFont(MDFN_FONT_5x7); else if(src_rect->w < 512 || src_rect->h < 480) CheatConsole.SetFont(MDFN_FONT_6x13_12x13); else CheatConsole.SetFont(MDFN_FONT_9x18_18x18); CheatConsole.Draw(surface, src_rect); }
void DrawCheatConsole(SDL_Surface *surface, const SDL_Rect *src_rect) { if(!isactive) return; CheatConsole.Draw(surface, src_rect); }