mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-05 06:47:45 -04:00
idle loop hack, psp bugfix, plat debug str
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@566 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
8add01a3a4
commit
7443ecd958
7 changed files with 21 additions and 5 deletions
|
@ -61,3 +61,4 @@ void emu_DoTurbo(int *pad, int acts);
|
|||
|
||||
extern const char * const keyNames[];
|
||||
void emu_prepareDefaultConfig(void);
|
||||
void emu_platformDebugCat(char *str);
|
||||
|
|
|
@ -405,13 +405,16 @@ void debug_menu_loop(void)
|
|||
{
|
||||
int inp, mode = 0;
|
||||
int spr_offs = 0, dumped = 0;
|
||||
char *tmp;
|
||||
|
||||
while (1)
|
||||
{
|
||||
switch (mode)
|
||||
{
|
||||
case 0: menu_draw_begin();
|
||||
draw_text_debug(PDebugMain(), 0, 0);
|
||||
tmp = PDebugMain();
|
||||
emu_platformDebugCat(tmp);
|
||||
draw_text_debug(tmp, 0, 0);
|
||||
if (dumped) {
|
||||
smalltext_out16(SCREEN_WIDTH-6*10, SCREEN_HEIGHT-8, "dumped", 0xffff);
|
||||
dumped = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue