mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-10-26 17:19:40 -04:00
32x: mode2 draw, debug, poll detection
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@783 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
9a3145d622
commit
762ab45602
1 changed files with 6 additions and 2 deletions
|
|
@ -1797,14 +1797,18 @@ static void debug_menu_loop(void)
|
||||||
g_screen_width, spr_offs);
|
g_screen_width, spr_offs);
|
||||||
draw_text_debug(PDebugSpriteList(), spr_offs, 6);
|
draw_text_debug(PDebugSpriteList(), spr_offs, 6);
|
||||||
break;
|
break;
|
||||||
|
case 4: plat_video_menu_begin();
|
||||||
|
tmp = PDebug32x();
|
||||||
|
draw_text_debug(tmp, 0, 0);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
plat_video_menu_end();
|
plat_video_menu_end();
|
||||||
|
|
||||||
inp = in_menu_wait(PBTN_MOK|PBTN_MBACK|PBTN_MA2|PBTN_MA3|PBTN_L|PBTN_R |
|
inp = in_menu_wait(PBTN_MOK|PBTN_MBACK|PBTN_MA2|PBTN_MA3|PBTN_L|PBTN_R |
|
||||||
PBTN_UP|PBTN_DOWN|PBTN_LEFT|PBTN_RIGHT, 70);
|
PBTN_UP|PBTN_DOWN|PBTN_LEFT|PBTN_RIGHT, 70);
|
||||||
if (inp & PBTN_MBACK) return;
|
if (inp & PBTN_MBACK) return;
|
||||||
if (inp & PBTN_L) { mode--; if (mode < 0) mode = 3; }
|
if (inp & PBTN_L) { mode--; if (mode < 0) mode = 4; }
|
||||||
if (inp & PBTN_R) { mode++; if (mode > 3) mode = 0; }
|
if (inp & PBTN_R) { mode++; if (mode > 4) mode = 0; }
|
||||||
switch (mode)
|
switch (mode)
|
||||||
{
|
{
|
||||||
case 0:
|
case 0:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue