git.y1.nz

gbdk-2020

GameBoy Development Kit
download: https://git.y1.nz/archives/gbdk.tar.gz
README | Files | Log | Refs | LICENSE

commit 8cae7937ab88c22f1d6657fa188e0389477db9ce
parent b179fae124746b85eab9a2382612449c35ab2d6e
Author: Toxa <untoxa@mail.ru>
Date:   Thu,  2 Sep 2021 21:45:35 +0300

gbdk/version.h

Diffstat:
Mgbdk-lib/include/gb/gb.h3+--
Agbdk-lib/include/gbdk/version.h7+++++++
Mgbdk-lib/include/sms/sms.h3+--
3 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/gbdk-lib/include/gb/gb.h b/gbdk-lib/include/gb/gb.h @@ -4,10 +4,9 @@ #ifndef _GB_H #define _GB_H -#define __GBDK_VERSION 405 - #include <types.h> #include <stdint.h> +#include <gbdk/version.h> #include <gb/hardware.h> /** Joypad bits. diff --git a/gbdk-lib/include/gbdk/version.h b/gbdk-lib/include/gbdk/version.h @@ -0,0 +1,6 @@ +#ifndef __VERSION_H_INCLUDE__ +#define __VERSION_H_INCLUDE__ + +#define __GBDK_VERSION 405 + +#endif + diff --git a/gbdk-lib/include/sms/sms.h b/gbdk-lib/include/sms/sms.h @@ -4,10 +4,9 @@ #ifndef _SMS_H #define _SMS_H -#define __GBDK_VERSION 405 - #include <types.h> #include <stdint.h> +#include <gbdk/version.h> #include <sms/hardware.h> #define VBK_REG VDP_ATTR_SHIFT

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.