Commit Graph

1406 Commits

Author SHA1 Message Date
Ryan Dwyer bacc2b92fb Remove unused global variables 2023-05-09 21:26:43 +10:00
Ryan Dwyer 01ce3dc218 Remove g_SndDisabled and g_SndMp3Enabled 2023-05-09 19:35:30 +10:00
Ryan Dwyer bb4d3458c5 Replace array copies with static arrays 2023-05-09 19:21:00 +10:00
Ryan Dwyer f39432946c Remove arg parser 2023-05-09 11:18:23 +10:00
Ryan Dwyer bcaea5d7e9 Move functions from utils.c, collisionutils.c, crc.c and gfxreplace.c into the files where they're called 2023-05-08 23:27:23 +10:00
Ryan Dwyer 0449bfa4d8 Remove __FILE__ and __LINE__ function arguments 2023-05-08 21:25:20 +10:00
Ryan Dwyer d16ea9cef0 Make functions static where possible 2023-05-08 21:17:21 +10:00
Ryan Dwyer c9879d9516 Use inline sqrt.s instruction 2023-05-06 23:15:43 +10:00
Ryan Dwyer 86feae85c1 Remove unused global variables 2023-05-06 22:28:50 +10:00
Ryan Dwyer 870f090b8c Fix wrong arguments to model00018680 2023-05-05 18:28:28 +10:00
Ryan Dwyer e0236c3cb4 Make profiler use thread-specific cycle counts for page 2 metrics 2023-05-05 18:27:57 +10:00
Ryan Dwyer 09d6ccae49 Remove unused code from joy.c 2023-05-04 22:14:43 +10:00
Ryan Dwyer 4acb095c6e Joy: Don't block if there's no read data 2023-05-03 23:27:07 +10:00
Ryan Dwyer e423eac69e Make scheduler pass message IDs instead of pointers 2023-05-03 23:26:44 +10:00
Ryan Dwyer 6b016ffd4f Show bottleneck on profile output 2023-05-03 23:01:00 +10:00
Ryan Dwyer f54c812fdf Fix two profiling bugs 2023-05-03 22:29:18 +10:00
Ryan Dwyer 880db15689 Move framebuffers to separate memory banks 2023-05-03 07:48:25 +10:00
Ryan Dwyer a85ea9d7c1 Make main thread start building second task without waiting for retrace 2023-05-03 00:08:53 +10:00
Ryan Dwyer 7ef3e9d009 Introduce triple buffer and remove RDP freeze 2023-05-02 22:50:56 +10:00
Ryan Dwyer 60947bfdfd Remove hi-res video option 2023-05-02 14:16:53 +10:00
Ryan Dwyer f96d9ff901 Refactor scheduler 2023-05-02 12:29:35 +10:00
Ryan Dwyer b18d1259fe Make profiler report RSP, RDP and thread timing accurately 2023-05-01 18:48:04 +10:00
Ryan Dwyer 246d30ce04 RoomMtx: Prevent cache fighting in multiplayer and remove need to tick roommtxes 2023-01-07 17:08:30 +10:00
Ryan Dwyer 2823263f29 Remove pointless code from chrTick 2022-11-15 22:33:51 +10:00
Ryan Dwyer fe7ddc0aca Introduce an easier way to do profiling 2022-11-12 13:43:58 +10:00
Ryan Dwyer d8c278364a Remove unused functions 2022-11-12 10:01:28 +10:00
Ryan Dwyer bfa06b8c3e Remove const char strings and osSyncPrintf calls 2022-11-11 23:55:48 +10:00
Ryan Dwyer 0fd7673c1b Don't call no-op functions 2022-11-11 23:44:20 +10:00
Ryan Dwyer 5c21de55e6 Remove stub files 2022-11-11 23:23:38 +10:00
Ryan Dwyer 1f64f59da1 Remove references to g_Vars.fourmeg2player 2022-11-11 23:20:48 +10:00
Ryan Dwyer 40c4dd9130 Remove rmon, crash, fault, videbug and debughud 2022-11-11 23:18:45 +10:00
Ryan Dwyer 64155bcb15 Remove references to IS4MB and IS8MB 2022-11-11 23:09:09 +10:00
Ryan Dwyer 0714f1cb21 Remove VERSION ifdefs from most files 2022-11-11 22:49:55 +10:00
Ryan Dwyer 9a871c7a65 Remove MATCHING ifdefs 2022-11-11 17:42:42 +10:00
Ryan Dwyer 4ac661160c Remove PIRACYCHECKS ifdefs 2022-11-11 17:35:45 +10:00
Ryan Dwyer 73bfbded3d Remove unreachable g_Jpn code 2022-11-11 17:18:12 +10:00
Ryan Dwyer 0d169c5214 Remove mainOverrideVariable 2022-11-11 17:11:00 +10:00
Ryan Dwyer 3b0066b74e Remove debug 2022-11-10 21:36:05 +10:00
Ryan Dwyer b8b183a687 Remove code references to STAGE_TEST_OLD 2022-11-10 20:56:50 +10:00
Ryan Dwyer d5a19238e1 Don't overwrite bss when extracting game segment 2022-11-10 20:48:04 +10:00
Ryan Dwyer 2443e9350f Align g_SndCache 2022-11-10 20:46:13 +10:00
Ryan Dwyer 77c07dd6df Profiling: Fix AUD figure 2022-11-05 09:17:02 +10:00
Ryan Dwyer 30f5d24c15 Disable antialias in render modes 2022-11-03 22:50:05 +10:00
Ryan Dwyer 4e797820ea Introduce profiling 2022-11-03 21:14:25 +10:00
Ryan Dwyer 7841b59eef Introduce ai2asm 2022-11-02 17:35:19 +10:00
Ryan Dwyer 9668be14ba Create chr_is_deadish AI command 2022-10-31 17:34:02 +10:00
Ryan Dwyer 8b19b8a018 Replace individual x/y/z copies with struct copies where possible 2022-10-31 17:34:02 +10:00
Ryan Dwyer 227beacec1 Replace some unnecessary mtc1/swc1 instructions in mtxasm.s 2022-10-31 17:34:02 +10:00
Ryan Dwyer 15fc4a0a7c Fix a BG preload bug and make other related improvements 2022-10-31 17:34:02 +10:00
Ryan Dwyer 0528fe0539 Re-ID AI commands so the most common commands can be identified by the first byte only 2022-10-31 17:34:01 +10:00