Skip to content

Commit

Permalink
uxnds 0.4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
asiekierka committed Jul 26, 2023
1 parent d30fc20 commit 538d264
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile.3ds
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ INCLUDES := include source
GRAPHICS := assets/3ds
ROMFS := romfs/3ds
GFXBUILD := $(ROMFS)
APP_TITLE := uxnds v0.4.3
APP_TITLE := uxnds v0.4.4
ifeq ($(DEBUG),true)
APP_DESCRIPTION := tiny virtual machine (debug)
else
Expand Down
4 changes: 2 additions & 2 deletions Makefile.blocksds
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

NAME := uxnds

GAME_TITLE := uxnds v0.4.3
GAME_TITLE := uxnds v0.4.4
GAME_SUBTITLE :=
GAME_AUTHOR := 08/05/2023
GAME_AUTHOR := 26/07/2023
GAME_ICON := misc/uxn32.png

#NAME := donsol
Expand Down
4 changes: 3 additions & 1 deletion source/3ds/ctr_screen.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@ static Uint8 blending[4][16] = {
{2, 3, 1, 2, 2, 3, 1, 2, 2, 3, 1, 2, 2, 3, 1, 2}};

static inline void
screen_change(UxnCtrScreen *scr, Layer *s, int x1, int y1, int x2, int y2)
screen_change(UxnCtrScreen *scr, Layer *s, Uint16 x1, Uint16 y1, Uint16 x2, Uint16 y2)
{
if(y1 > scr->height && y2 > y1) return;
if(y1 > y2) y1 = 0;
if(y1 >= scr->height) s->y1 = 0;
else if(y1 < s->y1) s->y1 = y1;
if(y2 > scr->height) s->y2 = scr->height;
Expand Down

0 comments on commit 538d264

Please sign in to comment.