Files
SRB2Kart-Saturn/src
James R 191f45194b Clear g_dc each frame
I was running into a memcpy of overlapping memory regions
in R_RenderMaskedSegRange.

- This is because of the reallocation of lightlists, which
  uses Z_Frame_Alloc.
- The memory pool that Z_Frame_Alloc draws from is cleared
  each frame.
- g_dc was not cleared though, so when the lightlists were
  reallocated, it'd try to copy from invalidated pointers.
- Access to invalid pointers within the memory pool does
  not cause a segfault directly (because the memory pool
  is allocated once). However, a memcpy involving such an
  invalid pointer leads to overlap, which may cause memory
  corruption.
2025-10-05 16:23:31 +02:00
..
2025-09-27 16:30:33 +02:00
2025-09-24 21:24:40 +02:00
2025-10-03 17:38:11 +02:00
2025-09-30 19:35:23 +02:00
2025-09-30 19:40:24 +02:00
2025-05-19 15:30:54 +02:00
…
2025-09-15 20:57:15 +02:00
…
2025-10-03 17:38:11 +02:00
2025-09-26 20:13:51 +02:00
2025-09-28 16:15:16 +02:00
2025-09-19 13:48:38 +02:00
2025-08-16 22:20:27 +02:00
…
2025-10-05 16:23:31 +02:00
2025-09-30 19:35:23 +02:00
2025-09-30 19:35:23 +02:00
2025-10-01 14:20:37 +02:00
2025-09-24 21:24:40 +02:00
2025-09-30 19:35:29 +02:00
2025-09-20 16:34:17 +02:00
2025-10-03 17:38:11 +02:00
2025-09-24 21:24:40 +02:00
…
2025-09-24 21:24:40 +02:00
2025-09-20 16:34:17 +02:00
2025-09-24 21:24:40 +02:00
…
…
2025-10-01 14:20:34 +02:00
2025-08-26 12:04:14 +02:00
2025-09-20 16:34:17 +02:00
2025-09-30 19:35:23 +02:00
2025-08-03 16:23:00 +02:00
2025-08-03 16:23:00 +02:00
…
2025-09-30 19:35:23 +02:00
2025-09-24 21:24:40 +02:00
2025-09-24 21:24:40 +02:00
2025-09-30 19:35:23 +02:00
…
2025-09-28 16:15:16 +02:00
2025-09-15 20:57:15 +02:00
2025-09-15 14:07:21 +02:00
2025-08-03 16:23:00 +02:00
2025-10-03 17:38:11 +02:00
2025-09-27 16:32:40 +02:00
2025-07-01 18:27:39 +02:00
2025-08-03 16:23:00 +02:00
2025-10-04 17:25:39 +03:00
2025-10-04 17:25:03 +03:00
…
2025-08-03 16:23:00 +02:00
2025-04-29 21:38:28 +02:00
2025-10-03 17:38:11 +02:00
2025-09-27 16:32:40 +02:00
2025-09-27 16:32:40 +02:00
2025-08-03 16:15:15 +02:00
2025-10-03 17:38:11 +02:00
2025-08-03 16:15:15 +02:00
2025-08-03 16:15:15 +02:00
2025-09-19 13:48:23 +02:00
2025-10-04 17:25:03 +03:00
2025-10-04 17:25:03 +03:00
2025-09-24 21:23:58 +02:00
2025-09-15 20:57:15 +02:00
2025-09-05 20:05:10 +02:00
2025-09-27 16:32:40 +02:00
2025-06-02 15:57:43 -05:00
…
2025-06-06 00:04:19 +02:00
…
…
…
…
2025-10-03 17:38:11 +02:00
2025-10-04 17:25:03 +03:00
2025-10-04 17:25:03 +03:00
2025-09-24 21:24:40 +02:00
2025-10-04 17:25:03 +03:00
2025-10-04 17:25:03 +03:00
2025-10-03 17:38:11 +02:00
2025-09-28 16:15:16 +02:00
2025-10-01 14:20:37 +02:00
2025-09-26 20:13:51 +02:00
2025-05-03 20:45:40 +02:00
…
…
…
2025-10-04 17:25:03 +03:00
2025-10-04 17:25:03 +03:00
2025-08-15 10:02:59 +02:00
2025-09-24 21:24:40 +02:00
2025-08-03 20:12:25 +02:00
2025-09-30 19:35:23 +02:00
2025-09-24 21:24:40 +02:00
2025-10-03 17:38:11 +02:00
2025-09-17 17:42:35 +02:00
2025-09-17 17:42:35 +02:00
2025-09-16 14:47:26 +02:00
2025-07-01 21:50:01 +02:00
2025-09-18 18:20:26 +02:00
2025-08-03 16:23:00 +02:00
2025-04-20 23:01:53 +02:00
2025-09-12 18:06:26 +02:00
2025-09-20 16:34:17 +02:00
2025-10-03 22:41:02 +01:00
2025-06-21 18:07:41 +02:00
2025-09-29 13:43:30 +02:00
2025-09-25 02:32:56 +02:00
2025-06-08 20:03:06 +02:00
2025-10-05 16:08:04 +02:00
2025-10-03 17:38:11 +02:00
2025-09-27 16:32:40 +02:00
2025-09-17 17:42:35 +02:00
2025-10-01 14:20:37 +02:00
2025-10-01 14:20:37 +02:00
2025-09-19 13:48:38 +02:00
…
…
…
…
…
…
2025-06-06 00:04:19 +02:00
a
2025-09-28 16:16:51 +02:00
2025-09-27 16:32:40 +02:00
2025-10-01 14:20:34 +02:00
2025-09-28 09:09:53 +02:00
2025-09-27 16:32:40 +02:00
2025-10-03 17:38:11 +02:00
2025-09-15 14:07:28 +02:00
2025-09-27 16:35:19 +02:00