Skip to content

Commit

Permalink
remove small fdisk mess
Browse files Browse the repository at this point in the history
  • Loading branch information
noahw2021 committed Dec 28, 2023
1 parent d469944 commit b6f8731
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Binary file not shown.
8 changes: 5 additions & 3 deletions plasm2_emu/devices/fdisk/fdisk_native.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,16 @@ WORD64 FdiskiDriveRead(WORD32 DriveId) {
ThisDrive->LoadedChunkBaseAddr[i]));

WORD64* AsU64 = (WORD64*)AsBytes;

ThisDrive->LoadedChunkCpuTick[i] = CpuTimerGetTime();
if (!ThisDrive->SkipInc && !ThisDrive->DisableInc) {

if (!ThisDrive->SkipInc && !ThisDrive->DisableInc) {
ThisDrive->CurrentFilePointer += 0x8;
}
else {
} else {
if (ThisDrive->SkipInc)
ThisDrive->SkipInc = 0;
}

return AsU64[0];
}
}
Expand Down

0 comments on commit b6f8731

Please sign in to comment.