diff --git a/README.md b/README.md index 5324e57..98dce19 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Mega Tetris For Sega Genesis -**Current Code Version:** 0.8.1 +**Current Code Version:** 0.8.2 **Depencency:** [SGDK 1.5.1](https://github.com/Stephane-D/SGDK) diff --git a/src/gameplay/tetris_gameplay.c b/src/gameplay/tetris_gameplay.c index b299334..e89f8b9 100644 --- a/src/gameplay/tetris_gameplay.c +++ b/src/gameplay/tetris_gameplay.c @@ -61,13 +61,13 @@ void onJoypadInput(u16 joy, u16 changed, u16 state) { performGoBackToMainMenu(); } - if (state & BUTTON_Y) { + if (state & BUTTON_B) { deleteSpritesOnRow(10); playSoundFxRotation(); rotateAntiClockwiseCurrentTetrisPiece(); } - else if (state & BUTTON_X) { + else if (state & BUTTON_A) { playSoundFxRotation(); rotateClockwiseCurrentTetrisPiece(); } @@ -130,8 +130,8 @@ void updateDirectionalInputControls() { downPressed = value & BUTTON_DOWN; rightPressed = value & BUTTON_RIGHT; leftPressed = value & BUTTON_LEFT; - rotationAntiClockwisePressed = value & BUTTON_X; - rotationClockwisePressed = value & BUTTON_Y; + rotationAntiClockwisePressed = value & BUTTON_A; + rotationClockwisePressed = value & BUTTON_B; } void updateInputControls() { diff --git a/src/main.c b/src/main.c index 0574cbd..36a450b 100644 --- a/src/main.c +++ b/src/main.c @@ -8,7 +8,7 @@ int main() { while(1) { //VDP_showFPS(TRUE); - updateSceneManager(); + updateSceneManager(); VDP_waitVSync(); } diff --git a/src/mainmenu/mainmenu_scene_provider.c b/src/mainmenu/mainmenu_scene_provider.c index c87fca9..bb586a7 100644 --- a/src/mainmenu/mainmenu_scene_provider.c +++ b/src/mainmenu/mainmenu_scene_provider.c @@ -17,6 +17,6 @@ void loadAndShowMainMenuGraphicsWithFadeIn() { VDP_setPalette(PAL0, mainmenu_scene_background.palette->data); - VDP_drawTextBG(BG_A, "v0.8.1", 30, 26); + VDP_drawTextBG(BG_A, "v0.8.2", 30, 26); VDP_drawTextBG(BG_A, "@kikutano", 30, 27); } \ No newline at end of file