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