mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-02-19 19:30:42 +00:00
- fixed small bug (Mac2Host_memcpy used instead of Mac2Mac_memcpy)
This commit is contained in:
parent
90312d104c
commit
f511d7ffc2
@ -1966,7 +1966,7 @@ static int16 fs_cat_move(uint32 pb)
|
|||||||
strcpy(old_path, full_path);
|
strcpy(old_path, full_path);
|
||||||
|
|
||||||
// Find path for new directory
|
// Find path for new directory
|
||||||
Mac2Host_memcpy(fs_data + fsPB, pb, SIZEOF_IOParam);
|
Mac2Mac_memcpy(fs_data + fsPB, pb, SIZEOF_IOParam);
|
||||||
WriteMacInt32(fs_data + fsPB + ioNamePtr, ReadMacInt32(pb + ioNewName));
|
WriteMacInt32(fs_data + fsPB + ioNamePtr, ReadMacInt32(pb + ioNewName));
|
||||||
FSItem *new_dir_item;
|
FSItem *new_dir_item;
|
||||||
result = get_item_and_path(fs_data + fsPB, ReadMacInt32(pb + ioNewDirID), new_dir_item);
|
result = get_item_and_path(fs_data + fsPB, ReadMacInt32(pb + ioNewDirID), new_dir_item);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user