summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Improving-the-WaitForVBlank-function.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/Improving-the-WaitForVBlank-function.md b/Improving-the-WaitForVBlank-function.md
index ef28091..d35eca9 100644
--- a/Improving-the-WaitForVBlank-function.md
+++ b/Improving-the-WaitForVBlank-function.md
@@ -8,7 +8,7 @@ In Emerald, Gamefreak used a `while` loop that kept on checking for VBlank over
The correct way to vsync is to use a [software interrupt/BIOS call](https://www.coranac.com/tonc/text/swi.htm#sec-vsync2). In short, we put the CPU in low power mode while we wait for the next VBlank, and on the next VBlank the CPU comes back to life.
-The easiest way to do so, is by copying and pasting the function directly from Ruby and Sapphire, which means modifying the function like this:
+The easiest way to do so, is by copying and pasting the function directly from Ruby and Sapphire, which means modifying the function in `src/main.c` like this:
```diff
static void WaitForVBlank(void)