Skip to content

agbabi 2.1.5

Compare
Choose a tag to compare
@felixjones felixjones released this 29 Sep 19:57
· 16 commits to main since this release

Added __agbabi_poll_ewram for detecting "overclockable" EWRAM.

Example:

#include <agbabi.h>

#define REG_MEMCTL (*(volatile int*) 0x4000800)

int main() {
    if (__agbabi_poll_ewram()) {
        /* It is (probably) safe to activate fast EWRAM */
        REG_MEMCTL = 0x0E000020;
    }
}

What's Changed

Full Changelog: v2.1.4...v2.1.5