git.y1.nz

gbdk-2020

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

commit 61b99faf2a756d5a97aaf9a7c3d931e3ae466823
parent 52934c56888a21de95f46b4b480e154b9fecc603
Author: bbbbbr <bbbbbr@users.noreply.github.com>
Date:   Tue, 24 Oct 2023 00:22:50 -0700

Merge pull request #588 from bbbbbr/examples/physics_input_fix

Fix input processing error found by Churchdill
Diffstat:
Mgbdk-lib/examples/cross-platform/simple_physics/src/phys.c2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gbdk-lib/examples/cross-platform/simple_physics/src/phys.c b/gbdk-lib/examples/cross-platform/simple_physics/src/phys.c @@ -15,7 +15,7 @@ const uint8_t sprite_data[] = { }; // update user input macro -#define INPUT_PROCESS (joy=old_joy,joy=joypad()) +#define INPUT_PROCESS (old_joy=joy,joy=joypad()) // check putton down #define INPUT_KEY(key) (joy&(key)) // check button press

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