| 5811 | } |
| 5812 | |
| 5813 | static 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 |
| 5826 | static void copyromdata(uae_u8 bustype, uaecptr rom, int offset, uae_u8 *out, int size) |
no test coverage detected