Initial NESemu

Former-commit-id: 454723c7de88d8848a29ac914d3ca43916eeadeb
This commit is contained in:
2023-12-19 01:44:37 -08:00
parent 3cf745eee5
commit d885ed5a4b
5 changed files with 96 additions and 3 deletions

View File

@@ -233,9 +233,17 @@ cflags_musyx_debug = [
# REL flags
cflags_rel = [
*cflags_base,
"-proc gecko",
"-fp hard",
"-nodefaults",
"-nosyspath",
"-i include",
"-i libc",
"-O0",
"-sdata 0",
"-sdata2 0",
"-str noreuse",
"-Cpp_exceptions off"
]
config.linker_version = "GC/1.3.2"
@@ -283,7 +291,7 @@ def MusyX(objects, mw_version="GC/1.3.2", debug=False, major=2, minor=0, patch=0
def Rel(lib_name, objects):
return {
"lib": lib_name,
"mw_version": "Wii/1.3",
"mw_version": "GC/1.3.2",
"cflags": cflags_rel,
"host": True,
"objects": objects,
@@ -1294,6 +1302,15 @@ config.libs = [
Object(Matching, "Dolphin/GBA/GBAKey.c"),
],
),
Rel(
"NESemuP",
[
Object(
Matching,
"NESemu/modwrapper.c",
),
],
),
]
if args.mode == "configure":