Testing physics

This commit is contained in:
2026-07-18 20:53:22 -05:00
parent 1174e471f6
commit 6c5738c863
24 changed files with 347 additions and 126 deletions
+4
View File
@@ -39,4 +39,8 @@ int32_t systemGetAspectRatioDolphin(void) {
int32_t systemGetLanguageDolphin(void) {
return CONF_GetLanguage();
}
uint64_t systemGetCyclesDolphin(void) {
return gettime();
}
+9 -1
View File
@@ -48,4 +48,12 @@ int32_t systemGetAspectRatioDolphin(void);
int32_t systemGetLanguageDolphin(void);
// There's actually a tonne more things Wii can return, this is it for now
// though.
// though.
/**
* Returns the current CPU cycle counter value, read directly from the
* PowerPC time base register.
*
* @return The current CPU cycle count.
*/
uint64_t systemGetCyclesDolphin(void);
+2 -1
View File
@@ -9,4 +9,5 @@
#include "system/systemdolphin.h"
#define systemInitPlatform systemInitDolphin
#define systemGetActiveDialogTypePlatform systemGetActiveDialogTypeDolphin
#define systemGetActiveDialogTypePlatform systemGetActiveDialogTypeDolphin
#define systemGetCyclesPlatform systemGetCyclesDolphin