| 17 | static uaecptr res_init, res_name, res_id, base; |
| 18 | |
| 19 | static uae_u32 REGPARAM2 res_getfunc (TrapContext *ctx) |
| 20 | { |
| 21 | uaecptr funcname = trap_get_areg(ctx, 0); |
| 22 | uae_char tmp[256]; |
| 23 | uae_u32 p; |
| 24 | TCHAR *s; |
| 25 | |
| 26 | if (funcname == 0) |
| 27 | return 0; |
| 28 | trap_get_string(ctx, tmp, funcname, sizeof tmp); |
| 29 | s = au(tmp); |
| 30 | p = find_trap(s); |
| 31 | xfree (s); |
| 32 | return p; |
| 33 | } |
| 34 | |
| 35 | static uae_u32 REGPARAM2 res_initcode (TrapContext *ctx) |
| 36 | { |
nothing calls this directly
no test coverage detected