mirror of
https://github.com/n64dev/cen64.git
synced 2025-04-02 10:31:54 -04:00
If we restrict the number of entrypoints to limit the scope of what can be called from outside the .so, the compiler can generate more optimized code.
18 lines
449 B
C
18 lines
449 B
C
//
|
|
// os/posix/main.c: Entry point for POSIX backend.
|
|
//
|
|
// CEN64: Cycle-Accurate Nintendo 64 Emulator.
|
|
// Copyright (C) 2015, Tyler J. Stachecki.
|
|
//
|
|
// This file is subject to the terms and conditions defined in
|
|
// 'LICENSE', which is part of this source code package.
|
|
//
|
|
|
|
#include "cen64.h"
|
|
|
|
// Unix application entry point.
|
|
__attribute__((visibility("default")))
|
|
int posix_main(int argc, const char *argv[]) {
|
|
return cen64_main(argc, argv);
|
|
}
|
|
|