diff --git a/examples/web/index.ts b/examples/web/index.ts
index 60dc960d63602e0c0a062ebeb1d0f7259437374f..c6b8d6dd905efc69c97b067d202d3969e01e12b5 100644
--- a/examples/web/index.ts
+++ b/examples/web/index.ts
@@ -562,7 +562,7 @@ class GameboyEmulator extends Observable implements Emulator {
         }
     }
 
-    async fetchRom(romPath: string): Promise<[string, Uint8Array]> {
+    private async fetchRom(romPath: string): Promise<[string, Uint8Array]> {
         // extracts the name of the ROM from the provided
         // path by splitting its structure
         const romPathS = romPath.split(/\//g);