From 2a121625c89f09ebc3def392065e955bab91d436 Mon Sep 17 00:00:00 2001 From: Zack Buhman Date: Sat, 9 Mar 2024 09:19:48 +0800 Subject: [PATCH] suzanne_profile: correct periperipheral comment --- example/suzanne_profile.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/example/suzanne_profile.cpp b/example/suzanne_profile.cpp index 5b27fe7..3928cf8 100644 --- a/example/suzanne_profile.cpp +++ b/example/suzanne_profile.cpp @@ -1,7 +1,7 @@ #include #include "align.hpp" -#include "vga.hpp" +#include "holly/video_output.hpp" #include "holly/holly.hpp" #include "holly/core.hpp" @@ -268,12 +268,12 @@ void main() { sh7091.TMU.TSTR = 0; // stop all timers sh7091.TMU.TOCR = tmu::tocr::tcoe::tclk_is_external_clock_or_input_capture; - sh7091.TMU.TCR0 = tmu::tcr0::tpsc::p_phi_256; // 256 / 200MHz = 1.28 μs ; underflows in ~1 hour + sh7091.TMU.TCR0 = tmu::tcr0::tpsc::p_phi_256; // 256 / 50MHz = 5.12 μs ; underflows in ~1 hour sh7091.TMU.TCOR0 = 0xffff'ffff; sh7091.TMU.TCNT0 = 0xffff'ffff; sh7091.TMU.TSTR = tmu::tstr::str0::counter_start; - vga(); + video_output::set_mode_vga(); auto src = reinterpret_cast(&_binary_verite_8x16_data_start); font_bitmap::inflate(1, // pitch