Commit Graph
186 Commits
Author SHA1 Message Date
Jonas Volman 2cdff41f20 Match tif_dir get-field helper 2026-07-14 14:46:51 -07:00
Jonas Volman 8b3b2bc43c Match code_0005b9b0 2026-07-14 14:45:40 -07:00
Jonas Volman a1d269e25b Match TIFFFdOpen 2026-07-14 14:38:31 -07:00
Jonas Volman 5ed05e8f08 Match TIFFOpen 2026-07-14 14:38:21 -07:00
Jonas Volman a82131f53a Match TIFFInitOrder 2026-07-14 14:38:21 -07:00
Jonas Volman 27e1bfd11f Match physical_memory_get_sound_cache_base_address 2026-07-14 14:32:10 -07:00
Jonas Volman b575b4262d Match physical_memory_get_texture_cache_base_address 2026-07-14 14:32:10 -07:00
Jonas Volman aedd84d99e Match physical_memory_get_tag_cache_base_address 2026-07-14 14:32:10 -07:00
Jonas Volman 0eaea7602c Match physical_memory_get_game_state_base_address 2026-07-14 14:32:10 -07:00
Jonas Volman 78aa92402b Fix TIFF raw buffer pointer cast 2026-07-14 14:31:41 -07:00
Jonas Volman 700a8cfd52 Match random_math_initialize 2026-07-14 14:30:12 -07:00
Jonas Volman bc68d8c260 Match seed_random_direction3d 2026-07-14 14:30:12 -07:00
Jonas Volman 916cf30a86 Match real_seed_random_range 2026-07-14 14:30:11 -07:00
Jonas Volman 262bb3d790 Match TIFFReadBufferSetup 2026-07-14 14:29:55 -07:00
Jonas Volman e97749fc06 Complete zutil object data 2026-07-14 14:29:50 -07:00
Jonas Volman 9abec8565c Match zcfree 2026-07-14 14:29:50 -07:00
Jonas Volman 4fd8ac4656 Match zcalloc 2026-07-14 14:29:50 -07:00
Jonas Volman 6675d83307 Match z_error 2026-07-14 14:29:50 -07:00
Jonas Volman c803347ad9 Fix cseries string case prototypes 2026-07-14 14:23:18 -07:00
Jonas Volman f1a3b3cc63 Match stristr 2026-07-14 14:20:02 -07:00
Jonas Volman b67d41cf67 Match strnlen 2026-07-14 14:19:53 -07:00
Jonas Volman 5a3f87aa4e Match datastore_write 2026-07-14 14:19:52 -07:00
Jonas Volman b2d169dc06 Match datastore_read 2026-07-14 14:19:52 -07:00
Jonas Volman b11064b4c2 Match file_reference_copy 2026-07-14 14:19:52 -07:00
Jonas Volman 49b169fa57 Match font_get_character_by_ascii_code 2026-07-14 14:19:37 -07:00
Jonas Volman 40310014db Match TIFFGrowStrips 2026-07-14 14:15:11 -07:00
Jonas Volman a62225c063 Match TIFFBufferSetup 2026-07-14 14:15:11 -07:00
Jonas Volman 4223afb200 Match TIFFSetupStrips 2026-07-14 14:15:11 -07:00
Jonas Volman f60c329b62 Match bsp2d_test_point 2026-07-14 14:15:00 -07:00
Jonas Volman 1d76b70081 Match network_game_get_random_player_name 2026-07-14 14:10:49 -07:00
Jonas Volman 3b222643ee Match tif_compress scheme table layout 2026-07-14 14:07:54 -07:00
Jonas Volman 06aa27d621 Restore tif_compress codec scheme set 2026-07-14 14:07:54 -07:00
Jonas Volman 823fa08e6a Match object_deleted_procs object 2026-07-14 14:04:39 -07:00
Jonas Volman 4d63323d8b Match source/bitmaps/libtiff/tif_compat.obj
Root cause: TIFFGetFileSize was excluded on xbox by #if guard
checking only unix/__unix/MSDOS/VMS. The Xbox XDK sys/stat.h
provides fstat(), and the original Jan 2002 build included
this function.

Fix: add defined(xbox) to the preprocessor guard and map
fstat->_fstat to match the original build's name decoration
convention (original compiler prepends _ even to names
already starting with _, producing __fstat symbol).

Verification:
  - .text section (48 bytes, MD5 36278163024e40f7...): MATCH
  - .data section (90 bytes, MD5 ac8cc86417f9c2db...): MATCH
  - External symbol __fstat: MATCH
  - objdiff-cli interactive diff: 100.00%

Canonical report 0/1 previously due to the #if guard causing
zero functions to be emitted in the base build.
2026-07-14 13:58:08 -07:00
Jonas Volman 2e1409304d Match huft_build and complete inftrees 2026-07-14 13:47:29 -07:00
Jonas Volman 48337766c8 Match tif_close object 2026-07-14 13:38:25 -07:00
Jonas Volman 787ba37f7d Match object_list_get_first and complete object_lists 2026-07-14 13:26:51 -07:00
Jonas Volman 273d26c886 Match tag_block_get_element_with_size 2026-07-14 13:15:31 -07:00
Jonas Volman 0b2f3008ce Match tif_warning object 2026-07-14 13:10:57 -07:00
Jonas Volman b60640c79d Match tif_error object 2026-07-14 13:10:00 -07:00
Jonas Volman 1c8e87e965 Match hud_initialize_nav_points 2026-07-14 13:06:26 -07:00
Jonas Volman 86a6e88175 Match hud_initialize_nav_points_for_new_map 2026-07-14 13:06:26 -07:00
Jonas Volman d969ea5bbf Match hud_dispose_nav_points 2026-07-14 13:06:26 -07:00
Jonas Volman decb9c45c5 Match hud_dispose_nav_points_from_old_map 2026-07-14 13:06:26 -07:00
Jonas Volman bc65035df1 Match vector_intersect_plane3d 2026-07-14 13:06:26 -07:00
Jonas Volman f110d4e0a9 Match convex_hull3d_verify 2026-07-14 13:06:26 -07:00
Jonas Volman 3dd9a8ba47 Match vector_intersect_plane2d 2026-07-14 13:06:26 -07:00
Jonas Volman 94f4620bfa Match plane2d_distance_to_point 2026-07-14 13:06:26 -07:00
Jonas Volman 238bd11869 Match permutations 2026-07-14 13:06:26 -07:00
Jonas Volman 7d6811cd03 Match factorial 2026-07-14 13:06:26 -07:00