gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit 8a9f731236a4a2490a21241d3e8d5c80d32d2118 parent 7e156908275c800aded2130c80732b1b7265fafe Author: Toxa <56631470+untoxa@users.noreply.github.com> Date: Sun, 25 Oct 2020 11:45:49 +0300 Merge pull request #64 from bbbbbr/develop Fix time() calculation of seconds. Use 60hz instead of 100hz (or 50) Diffstat:
| M | gbdk-lib/include/time.h | 8 | +------- |
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/gbdk-lib/include/time.h b/gbdk-lib/include/time.h @@ -6,13 +6,7 @@ #include <types.h> -#if SDCC_PLAT==consolez80 -#define CLOCKS_PER_SEC 100 -#else -/** For now... */ -#error -#define CLOCKS_PER_SEC 50 -#endif +#define CLOCKS_PER_SEC 60 typedef UINT16 time_t;
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.