Skip to content

Commit

Permalink
remove the Emscripten entry.c, this is no longer needed
Browse files Browse the repository at this point in the history
  • Loading branch information
floooh committed Jan 14, 2024
1 parent 6a12c9b commit 4b90e28
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 116 deletions.
14 changes: 0 additions & 14 deletions src/emscripten/entry.c

This file was deleted.

88 changes: 0 additions & 88 deletions src/emscripten/shell.html

This file was deleted.

14 changes: 0 additions & 14 deletions src/pacman.zig
Original file line number Diff line number Diff line change
Expand Up @@ -2828,20 +2828,6 @@ pub fn main() void {
});
}

// special entry point for Emscripten build, called from src/emscripten/entry.c
export fn emsc_main() void {
sapp.run(.{
.init_cb = init,
.frame_cb = frame,
.event_cb = input,
.cleanup_cb = cleanup,
.width = 2 * DisplayPixelsX,
.height = 2 * DisplayPixelsY,
.window_title = "pacman.zig",
.logger = .{ .func = slog.func },
});
}

//-- Sound Effect Register Dumps -----------------------------------------------

// Each line is a 'register dump' for one 60Hz tick. Each 32-bit number
Expand Down

0 comments on commit 4b90e28

Please sign in to comment.