152 |
|
} |
153 |
|
} else if (reg < 0x08 && is_read) { |
154 |
|
uint32 t = TimerDateTime(); |
155 |
< |
uint8 b; |
155 |
> |
uint8 b = t; |
156 |
|
switch (reg & 3) { |
157 |
– |
case 0: b = t; break; |
157 |
|
case 1: b = t >> 8; break; |
158 |
|
case 2: b = t >> 16; break; |
159 |
|
case 3: b = t >> 24; break; |
434 |
|
ClearInterruptFlag(INTFLAG_60HZ); |
435 |
|
if (HasMacStarted()) { |
436 |
|
|
437 |
< |
// Mac has started, execute video, ADB and Time Manager interrupt functions |
437 |
> |
// Mac has started, execute all 60Hz interrupt functions |
438 |
|
ADBInterrupt(); |
439 |
|
TimerInterrupt(); |
440 |
|
VideoInterrupt(); |
441 |
+ |
SonyInterrupt(); |
442 |
+ |
DiskInterrupt(); |
443 |
+ |
CDROMInterrupt(); |
444 |
|
|
445 |
|
// Call DoVBLTask(0) |
446 |
|
if (ROMVersion == ROM_VERSION_32) { |