diff --git a/src/video/nv/nv3/nv3_core.c b/src/video/nv/nv3/nv3_core.c index 77abd7a00..0636a3c91 100644 --- a/src/video/nv/nv3/nv3_core.c +++ b/src/video/nv/nv3/nv3_core.c @@ -934,17 +934,6 @@ void* nv3_init(const device_t *info) nv_log("NV3: Initialising timers...\n"); - /* - // These only get turned on when the requisite registers are twiddled - timer_add(&nv3->nvbase.pixel_clock_timer, nv3_pramdac_pixel_clock_poll, nv3, false); - nv_log("NV3: Pixel clock OK. Will be started when the VBIOS tells us to start\n"); - - timer_add(&nv3->nvbase.memory_clock_timer, nv3_pramdac_memory_clock_poll, nv3, false); - nv_log("NV3: Memory clock OK. Will be started when the VBIOS tells us to start\n"); - */ - - - return nv3; } diff --git a/src/video/nv/nv3/subsystems/nv3_pramdac.c b/src/video/nv/nv3/subsystems/nv3_pramdac.c index 2d4b4fbcb..0c57b71cb 100644 --- a/src/video/nv/nv3/subsystems/nv3_pramdac.c +++ b/src/video/nv/nv3/subsystems/nv3_pramdac.c @@ -62,8 +62,6 @@ void nv3_pramdac_memory_clock_poll() // Let's hope qeeg was right here. nv3_ptimer_tick(); - - //timer_on_auto(&nv3_poll->nvbase.memory_clock_timer, nv3_poll->nvbase.memory_clock_period); } // Gets the vram clock register. @@ -129,7 +127,7 @@ void nv3_pramdac_set_vram_clock() // Create and start if it it's not running. if (!nv3->nvbase.memory_clock_timer) { - nv3->nvbase.memory_clock_timer = rivatimer_create(time, nv3_pramdac_pixel_clock_poll); + nv3->nvbase.memory_clock_timer = rivatimer_create(time, nv3_pramdac_memory_clock_poll); rivatimer_start(nv3->nvbase.memory_clock_timer); }