diff --git a/CHANGELOG.md b/CHANGELOG.md index af205bb..71fef91 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -35,6 +35,7 @@ For the latest two player PCB 2.0, you need: ## Features - Enable fastscrolling in the menu, by holding up/down/left/right for 500 milliseconds, repeat delay is 40 milliseconds. - bld.sh mow uses the amount of cores available on the system to speed up the build process. An optional -p flag can be used to specify the amount of cores to use. +- uses latest version of pico_shared and pico_lib submodules. ## Fixes - Temporary Rollback NesPad code for the WaveShare RP2040-PiZero only. Other configurations are not affected. diff --git a/main.cpp b/main.cpp index c130a57..5a08dd0 100644 --- a/main.cpp +++ b/main.cpp @@ -23,6 +23,11 @@ #include "mytypes.h" #include "gb.h" +#ifndef CPUKFREQKHZ +//#define CPUKFREQKHZ 266000 +#define CPUKFREQKHZ 252000 +#endif + char *romName; bool isFatalError = false; @@ -51,7 +56,7 @@ bool reset = false; namespace { - constexpr uint32_t CPUFreqKHz = 266000; // 252000; + constexpr uint32_t CPUFreqKHz = CPUKFREQKHZ; // 252000; dvi::DVI::LineBuffer *currentLineBuffer_{}; } diff --git a/pico_lib b/pico_lib index c0ad390..268c158 160000 --- a/pico_lib +++ b/pico_lib @@ -1 +1 @@ -Subproject commit c0ad39054d0a0a6e46746333f7fcd4863ee66ae7 +Subproject commit 268c158307352f0d20aee3cd349e220cd5f54632 diff --git a/pico_shared b/pico_shared index ed58bb8..4cfb47d 160000 --- a/pico_shared +++ b/pico_shared @@ -1 +1 @@ -Subproject commit ed58bb8cfc22eb18ed3de71f0f3390cd3df5b6de +Subproject commit 4cfb47de7fef9c700daadbde29af4d341710d8b3