[Maintenance] [th01] Add some missing detail to existing comments

Part of P0239, funded by Ember2528.
This commit is contained in:
nmlgc 2023-04-20 08:17:07 +02:00
parent 45c9e71533
commit 0b13967de3
1 changed files with 6 additions and 3 deletions

View File

@ -24,8 +24,9 @@ void z_graph_clear_col(uint4_t col);
// Fills page #0 with hardware color 0.
void z_graph_clear_0(void);
// Copies the content of the VRAM page that was previously set as the accessed
// one via a call to graph_accesspage_func() to the opposite one.
// Copies the content of the VRAM page that was set as the accessed one by the
// last call to graph_accesspage_func() to the opposite one. Returns with the
// accessed page unchanged.
void graph_copy_accessed_page_to_other(void);
/// -----
@ -127,7 +128,9 @@ void graph_copy_byterect_from_accessed_page_to_other(
// (⌊left/8⌋*8, top)
// on the [src] page to
// (⌊left/8⌋*8 + ⌊(right-left)/8⌋*8, bottom)
// on the [dst] page. Already assumes [src] to be the currently accessed page.
// on the [dst] page. Already assumes [src] to be the currently accessed page,
// and returns with the accessed page equal to the one set by the last call to
// graph_accesspage_func().
void graph_move_byterect_interpage(
screen_x_t src_left,
vram_y_t src_top,