Changeset 1597
- Timestamp:
- 03/06/08 21:19:00 (6 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
libemu/trunk/src/environment/win32/env_w32_dll_export_ws2_32_hooks.c
r1551 r1597 499 499 */ 500 500 501 emu_profile_function_add(env->profile, "socket"); 502 501 503 uint32_t af; 502 504 POP_DWORD(c, &af); 505 emu_profile_argument_add_int(env->profile, "int", "af", af); 503 506 504 507 uint32_t type; 505 508 POP_DWORD(c, &type); 509 emu_profile_argument_add_int(env->profile, "int", "type", type); 506 510 507 511 uint32_t protocol; 508 512 POP_DWORD(c, &protocol); 513 emu_profile_argument_add_int(env->profile, "int", "protocol", protocol); 509 514 510 515 int s = 111; … … 516 521 printf("socket %i \n", s); 517 522 emu_cpu_reg32_set(c, eax, s); 523 524 emu_profile_function_returnvalue_int_set(env->profile, "SOCKET", s); 518 525 519 526 emu_cpu_eip_set(c, eip_save);
