MCPcopy Create free account
hub / github.com/BlitterStudio/amiberry / debug_parser

Function debug_parser

src/debug.cpp:8864–8877  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8862}
8863
8864void debug_parser (const TCHAR *cmd, TCHAR *out, uae_u32 outsize)
8865{
8866 TCHAR empty[2] = { 0 };
8867 TCHAR *input = my_strdup (cmd);
8868 if (out == NULL && outsize == 0) {
8869 setconsolemode (empty, 1);
8870 } else if (out != NULL && outsize > 0) {
8871 out[0] = 0;
8872 setconsolemode (out, outsize);
8873 }
8874 debug_line (input);
8875 setconsolemode (NULL, 0);
8876 xfree (input);
8877}
8878
8879/*
8880

Callers 2

handle_custom_eventFunction · 0.85
execcmdlineFunction · 0.85

Calls 2

debug_lineFunction · 0.85
setconsolemodeFunction · 0.50

Tested by

no test coverage detected