RDiskCopy24 parameter names match BlockMove

This commit is contained in:
Zane Kaminski 2020-06-24 14:10:23 -04:00
parent fe3c5acd5b
commit d771788f90

View File

@ -29,10 +29,10 @@ typedef void (*ROMDiskCopy_t)(char *, char *, unsigned long);
// Switch to 24-bit mode and copy. Call this with
// PC==0x408XXXXX, not PC==0x008XXXXX
void RDiskCopy24(char *source, char *dest, unsigned long count) {
void RDiskCopy24(char *sourcePtr, char *destPtr, unsigned long byteCount) {
char mode = true32b;
SwapMMUMode(&mode);
BlockMove(source, dest, count);
BlockMove(sourcePtr, destPtr, byteCount);
SwapMMUMode(&mode);
}