reyalp
In core/gui.c gui_draw_osd, at the very start this is a commented out call to gui_draw_debug_vals_osd
Uncomment that one, comment the other one, and it should draw on top of the menu. Not completely sure about recreview mode.
That worked! (for menu, but it still doesn't show in recreview mode, so in this mode the value of playrec_mode is unknown).
If the camera starts up in play mode then playrec_mode = 0.
In record mode playrec_mode = 2.
If you hit menu in record mode playrec_mode = 4.
If you go back to play mode from record mode playrec_mode = 3.
If the lens retracts while in play mode playrec_mode stays at 3.
If you hit the movie record button in record mode playrec_mode briefly goes to 5 then back to 2.
Whatever playrec_mode is used for, it is more complicated than just a bit field to indicate play/record mode.
I am stuck on how to detect recreview mode.