diff options
Diffstat (limited to 'private_data.h')
-rw-r--r-- | private_data.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/private_data.h b/private_data.h index fed5b60..f8f3057 100644 --- a/private_data.h +++ b/private_data.h @@ -15,6 +15,19 @@ struct doom_data { struct semaphore pong_async_sem; uint16_t cmd_counter; + + // cache of registers we don't want to modify when not neccessary + uint32_t surf_dst_pt; + uint32_t surf_src_pt; + uint32_t texture_pt; + uint32_t flat_addr; + uint32_t colormap_addr; + uint32_t translation_addr; + uint32_t surf_dims_w; + uint32_t surf_dims_h; + uint32_t texture_dims_s; + uint32_t texture_dims_h; + uint32_t draw_params; }; struct surface_data { |