From f54e05492e0883a85082c6f1911e2099e82f255f Mon Sep 17 00:00:00 2001 From: nmlgc Date: Wed, 17 Jun 2020 19:06:45 +0200 Subject: [PATCH] [Maintenance] [th01] Rename z_col_at() to z_graph_readdot() There actually is a master.lib function doing the same! --- th01/hardware/graph.cpp | 2 +- th01/hardware/graph.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/th01/hardware/graph.cpp b/th01/hardware/graph.cpp index 6083570b..7df4039c 100644 --- a/th01/hardware/graph.cpp +++ b/th01/hardware/graph.cpp @@ -371,7 +371,7 @@ void z_grcg_pset(int x, int y, int col) grcg_off_func(); } -int z_col_at(int x, int y) +int z_graph_readdot(int x, int y) { int ret; int vram_offset = ((y * ROW_SIZE) + (x >> 3)); diff --git a/th01/hardware/graph.h b/th01/hardware/graph.h index 21d6b018..5c7470c0 100644 --- a/th01/hardware/graph.h +++ b/th01/hardware/graph.h @@ -42,7 +42,7 @@ void z_grcg_boxfill(int left, int top, int right, int bottom, int col); /// ------ void z_grcg_pset(int x, int y, int col); // Returns the color value at the given point on the current VRAM page. -int z_col_at(int x, int y); +int z_graph_readdot(int x, int y); /// ------ /// Restorable line drawing