Testing physics
This commit is contained in:
@@ -39,4 +39,8 @@ int32_t systemGetAspectRatioDolphin(void) {
|
||||
|
||||
int32_t systemGetLanguageDolphin(void) {
|
||||
return CONF_GetLanguage();
|
||||
}
|
||||
|
||||
uint64_t systemGetCyclesDolphin(void) {
|
||||
return gettime();
|
||||
}
|
||||
@@ -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);
|
||||
@@ -9,4 +9,5 @@
|
||||
#include "system/systemdolphin.h"
|
||||
|
||||
#define systemInitPlatform systemInitDolphin
|
||||
#define systemGetActiveDialogTypePlatform systemGetActiveDialogTypeDolphin
|
||||
#define systemGetActiveDialogTypePlatform systemGetActiveDialogTypeDolphin
|
||||
#define systemGetCyclesPlatform systemGetCyclesDolphin
|
||||
Reference in New Issue
Block a user