We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b4cfa6 commit 35b50cfCopy full SHA for 35b50cf
Source/ee/Ee_SubSystem.cpp
@@ -1,3 +1,4 @@
1
+#include <time.h>
2
#include "Ee_SubSystem.h"
3
#include "EeExecutor.h"
4
#include "VuExecutor.h"
@@ -419,6 +420,14 @@ uint32 CSubSystem::IOPortReadHandler(uint32 nAddress)
419
420
{
421
nReturn = m_timer.GetRegister(nAddress);
422
}
423
+ else if(nAddress >= 0x10001900 && nAddress < 0x10001904)
424
+ {
425
+ nReturn = (uint32)clock();
426
+ }
427
+ else if(nAddress >= 0x10001904 && nAddress < 0x10001908)
428
429
+ nReturn = CLOCKS_PER_SEC;
430
431
else if(nAddress >= 0x10002000 && nAddress <= 0x1000203F)
432
433
nReturn = m_ipu.GetRegister(nAddress);
0 commit comments