Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
ygopro-core
Commits
5b0b45a2
Commit
5b0b45a2
authored
Feb 10, 2026
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of git.moenext.com:nanahira/ygopro-core into develop
parents
bf0e868b
590c6d5d
Pipeline
#42986
passed with stages
in 2 minutes and 22 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
emscripten_shutdown.cpp
emscripten_shutdown.cpp
+7
-0
premake/dll.lua
premake/dll.lua
+5
-1
No files found.
emscripten_shutdown.cpp
0 → 100644
View file @
5b0b45a2
#ifdef __EMSCRIPTEN__
#include <emscripten/emscripten.h>
extern
"C"
EMSCRIPTEN_KEEPALIVE
void
ocgcore_shutdown
(
int
code
)
{
emscripten_force_exit
(
code
);
}
#endif
premake/dll.lua
View file @
5b0b45a2
...
...
@@ -112,12 +112,16 @@ project "ocgcore"
local
wasmLinkOptions
=
{
"-s MODULARIZE=1"
,
"-s EXPORT_NAME=\"
createOcgcore
\
""
,
"--no-entry"
,
"--no-entry"
,
"-s EXIT_RUNTIME=1"
,
"-s ENVIRONMENT=web,worker,node"
,
"-s EXPORTED_RUNTIME_METHODS=[\"
ccall
\
",\"
cwrap
\
",\"
addFunction
\
",\"
removeFunction
\
"]"
,
"-s EXPORTED_FUNCTIONS=[\"
_malloc
\
",\"
_free
\
"]"
,
"-s ALLOW_TABLE_GROWTH=1"
,
"-s ALLOW_MEMORY_GROWTH=1"
,
"-s ASSERTIONS=0"
,
"-s SAFE_HEAP=0"
,
"-s DEMANGLE_SUPPORT=0"
,
}
linkoptions
(
wasmLinkOptions
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment