mirror of
https://github.com/garrettsworkshop/MacIIROMDiskDriver.git
synced 2024-11-22 03:30:58 +00:00
RDiskCopy24 parameter names match BlockMove
This commit is contained in:
parent
fe3c5acd5b
commit
d771788f90
4
rdisk.c
4
rdisk.c
@ -29,10 +29,10 @@ typedef void (*ROMDiskCopy_t)(char *, char *, unsigned long);
|
|||||||
|
|
||||||
// Switch to 24-bit mode and copy. Call this with
|
// Switch to 24-bit mode and copy. Call this with
|
||||||
// PC==0x408XXXXX, not PC==0x008XXXXX
|
// 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;
|
char mode = true32b;
|
||||||
SwapMMUMode(&mode);
|
SwapMMUMode(&mode);
|
||||||
BlockMove(source, dest, count);
|
BlockMove(sourcePtr, destPtr, byteCount);
|
||||||
SwapMMUMode(&mode);
|
SwapMMUMode(&mode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user