Compare commits

..

No commits in common. "main" and "v0.1.2" have entirely different histories.
main ... v0.1.2

3 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
FROM ghcr.io/wiiu-env/devkitppc:20240704 FROM ghcr.io/wiiu-env/devkitppc:20240505
COPY --from=ghcr.io/wiiu-env/libnotifications:20240426 /artifacts $DEVKITPRO COPY --from=ghcr.io/wiiu-env/libnotifications:20240426 /artifacts $DEVKITPRO
COPY --from=ghcr.io/wiiu-env/libmappedmemory:20230621 /artifacts $DEVKITPRO COPY --from=ghcr.io/wiiu-env/libmappedmemory:20230621 /artifacts $DEVKITPRO

View File

@ -3,16 +3,16 @@
class Timer { class Timer {
public: public:
Timer() { clock_gettime(CLOCK_MONOTONIC, &beg_); } Timer() { clock_gettime(CLOCK_REALTIME, &beg_); }
double elapsed() { double elapsed() {
clock_gettime(CLOCK_MONOTONIC, &end_); clock_gettime(CLOCK_REALTIME, &end_);
return end_.tv_sec - beg_.tv_sec + return end_.tv_sec - beg_.tv_sec +
(end_.tv_nsec - beg_.tv_nsec) / 1000000000.; (end_.tv_nsec - beg_.tv_nsec) / 1000000000.;
} }
void reset() { clock_gettime(CLOCK_MONOTONIC, &beg_); } void reset() { clock_gettime(CLOCK_REALTIME, &beg_); }
private: private:
timespec beg_, end_; timespec beg_, end_;
}; };

View File

@ -11,7 +11,7 @@
WUMS_MODULE_EXPORT_NAME("homebrew_notifications"); WUMS_MODULE_EXPORT_NAME("homebrew_notifications");
#define VERSION "v0.1.3" #define VERSION "v0.1.2"
WUMS_DEPENDS_ON(homebrew_memorymapping); WUMS_DEPENDS_ON(homebrew_memorymapping);
WUMS_DEPENDS_ON(homebrew_functionpatcher); WUMS_DEPENDS_ON(homebrew_functionpatcher);