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

Function getfrombstr

src/debug.cpp:5813–5823  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5811}
5812
5813static TCHAR *getfrombstr(uaecptr pp)
5814{
5815 uae_u8 len = get_byte(pp << 2);
5816 TCHAR *s = xcalloc (TCHAR, len + 1);
5817 char data[256];
5818 for (int i = 0; i < len; i++) {
5819 data[i] = get_byte((pp << 2) + 1 + i);
5820 data[i + 1] = 0;
5821 }
5822 return au_copy (s, len + 1, data);
5823}
5824
5825// read one byte from expansion autoconfig ROM
5826static void copyromdata(uae_u8 bustype, uaecptr rom, int offset, uae_u8 *out, int size)

Callers 1

show_exec_listsFunction · 0.85

Calls 2

get_byteFunction · 0.85
au_copyFunction · 0.85

Tested by

no test coverage detected