| 1467 | return maxlen; |
| 1468 | } |
| 1469 | uae_char *trap_get_alloc_string(TrapContext *ctx, uaecptr addr, int maxlen) |
| 1470 | { |
| 1471 | uae_char *buf = xmalloc(uae_char, maxlen); |
| 1472 | trap_get_string(ctx, buf, addr, maxlen); |
| 1473 | return buf; |
| 1474 | } |
| 1475 | |
| 1476 | int trap_get_bstr(TrapContext *ctx, uae_u8 *haddr, uaecptr addr, int maxlen) |
| 1477 | { |
no test coverage detected