Skip to content

Commit

Permalink
Reduce loading time
Browse files Browse the repository at this point in the history
Some games have been tested, and the loading speed has been a little improved
  • Loading branch information
xjsxjs197 committed Sep 27, 2022
1 parent aa6447c commit a7684d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cdrom.c
Expand Up @@ -183,10 +183,10 @@ int msf2SectS[] = {
#define cdReadTime (PSXCLK / 75) / 2 // OK
//#define playAdpcmTime 178560 // =(PSXCLK * 930 / 4 / 44100) / 2 // OK
#define playAdpcmTime (PSXCLK * 930 / 4 / 44100) / 2 // OK
#define WaitTime1st (0x800)
#define WaitTime1st (0x800 >> 1)
#define WaitTime1stInit (0x13cce >> 1)
#define WaitTime1stRead cdReadTime // (PSXCLK / 75) // OK
#define WaitTime2ndGetID (0x4a00) // OK
#define WaitTime2ndGetID (0x4a00 >> 1) // OK
#define WaitTime2ndPause (cdReadTime * 3) // OK

#define SeekTime 50000
Expand Down

0 comments on commit a7684d8

Please sign in to comment.