cleanup legacy code

This commit is contained in:
starfrost013
2024-12-29 18:48:31 +00:00
parent ef8e4e95c1
commit fd99d6e711
3 changed files with 5 additions and 18 deletions

View File

@@ -100,11 +100,9 @@ typedef struct nv_base_s
nv_bus_generation bus_generation; // current bus (see nv_bus_generation documentation)
uint32_t gpu_revision; // GPU Stepping
double pixel_clock_period; // Period in seconds for pixel clock
//pc_timer_t pixel_clock_timer; // Pixel Clock Timer
rivatimer_t* pixel_clock_timer;
bool pixel_clock_enabled; // Pixel Clock Enabled - stupid crap used to prevent us enabling the timer multiple times
double memory_clock_period; // Period in seconds for pixel clock
//pc_timer_t memory_clock_timer; // Memory Clock Timer
rivatimer_t* memory_clock_timer;
bool memory_clock_enabled; // Memory Clock Enabled - stupid crap used to prevent us eanbling the timer multiple times
} nv_base_t;

View File

@@ -952,8 +952,8 @@ void nv3_pbus_rma_write(uint16_t addr, uint8_t val);
void nv3_pramdac_init();
void nv3_pramdac_set_vram_clock();
void nv3_pramdac_set_pixel_clock();
void nv3_pramdac_pixel_clock_poll(/*void* priv*/);
void nv3_pramdac_memory_clock_poll(/*void* priv*/);
void nv3_pramdac_pixel_clock_poll();
void nv3_pramdac_memory_clock_poll();
// NV3 PTIMER
void nv3_ptimer_init();