From: quzar <qu...@us...> - 2024-05-05 18:14:09
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "A pseudo Operating System for the Dreamcast.". The branch, master has been updated via bc13e9251c2e650675d73bbf12f3a34bff175cc8 (commit) from bdaec39f4a286177d0b8e432da5a0e7a127d1732 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit bc13e9251c2e650675d73bbf12f3a34bff175cc8 Author: Tchan0 <617...@us...> Date: Sun May 5 20:13:31 2024 +0200 fix fb_console's max height (#548) Authored-by: T_chan <> ----------------------------------------------------------------------- Summary of changes: kernel/arch/dreamcast/util/fb_console.c | 2 +- kernel/arch/dreamcast/util/fb_console_naomi.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/arch/dreamcast/util/fb_console.c b/kernel/arch/dreamcast/util/fb_console.c index 05121225..dd8bc4bd 100644 --- a/kernel/arch/dreamcast/util/fb_console.c +++ b/kernel/arch/dreamcast/util/fb_console.c @@ -131,7 +131,7 @@ void dbgio_fb_set_target(uint16 *t, int w, int h, int borderx, int bordery) { min_x = borderx; min_y = bordery; max_x = fb_w - borderx; - max_y = fb_w - bordery; + max_y = fb_h - bordery; cur_x = min_x; cur_y = min_y; } diff --git a/kernel/arch/dreamcast/util/fb_console_naomi.c b/kernel/arch/dreamcast/util/fb_console_naomi.c index dacf67b9..c221b44b 100644 --- a/kernel/arch/dreamcast/util/fb_console_naomi.c +++ b/kernel/arch/dreamcast/util/fb_console_naomi.c @@ -133,7 +133,7 @@ void dbgio_fb_set_target(uint16 *t, int w, int h, int borderx, int bordery) { min_x = borderx; min_y = bordery; max_x = fb_w - borderx; - max_y = fb_w - bordery; + max_y = fb_h - bordery; cur_x = min_x; cur_y = min_y; } hooks/post-receive -- A pseudo Operating System for the Dreamcast. |