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 857e4e69bd02f6df827a339cb0260c90c746d566 (commit)
from b2f9efc31f65b43f52d9db9d474685f386beef2e (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 857e4e69bd02f6df827a339cb0260c90c746d566
Author: darc <da...@pr...>
Date: Thu Aug 28 14:48:00 2025 -0500
Remove deprecated cdrom_change_dataype function
-----------------------------------------------------------------------
Summary of changes:
kernel/arch/dreamcast/hardware/cdrom.c | 5 -----
kernel/arch/dreamcast/include/dc/cdrom.h | 11 -----------
2 files changed, 16 deletions(-)
diff --git a/kernel/arch/dreamcast/hardware/cdrom.c b/kernel/arch/dreamcast/hardware/cdrom.c
index 9d6c0922..7b0766a9 100644
--- a/kernel/arch/dreamcast/hardware/cdrom.c
+++ b/kernel/arch/dreamcast/hardware/cdrom.c
@@ -311,11 +311,6 @@ int cdrom_get_status(int *status, int *disc_type) {
return rv;
}
-/* Helper function to account for long-standing typo */
-int cdrom_change_dataype(int sector_part, int cdxa, int sector_size) {
- return cdrom_change_datatype(sector_part, cdxa, sector_size);
-}
-
/* Wrapper for the change datatype syscall */
int cdrom_change_datatype(int sector_part, int cdxa, int sector_size) {
uint32_t params[4];
diff --git a/kernel/arch/dreamcast/include/dc/cdrom.h b/kernel/arch/dreamcast/include/dc/cdrom.h
index 370cc35d..93702202 100644
--- a/kernel/arch/dreamcast/include/dc/cdrom.h
+++ b/kernel/arch/dreamcast/include/dc/cdrom.h
@@ -347,17 +347,6 @@ int cdrom_abort_cmd(uint32_t timeout, bool abort_dma);
*/
int cdrom_get_status(int *status, int *disc_type);
-/** \brief Change the datatype of disc.
- \ingroup gdrom
-
- \note This function is formally deprecated. It should not
- be used in any future code, and may be removed in
- the future. You should instead use
- cdrom_change_datatype.
-*/
-int cdrom_change_dataype(int sector_part, int cdxa, int sector_size)
- __depr("Use cdrom_change_datatype instead.");
-
/** \brief Change the datatype of disc.
\ingroup gdrom
hooks/post-receive
--
A pseudo Operating System for the Dreamcast.
|