Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions flatpak/io.github.starfox64recomp.starfox64recomp.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"id": "io.github.starfox64recomp.starfox64recomp",
"runtime": "org.freedesktop.Platform",
"runtime-version": "23.08",
"runtime-version": "25.08",
"sdk": "org.freedesktop.Sdk",
"sdk-extensions" : [ "org.freedesktop.Sdk.Extension.llvm18" ],
"sdk-extensions" : [ "org.freedesktop.Sdk.Extension.llvm20" ],
"finish-args": [
"--share=network",
"--socket=wayland",
Expand Down Expand Up @@ -51,8 +51,8 @@
}
],
"build-options": {
"append-path": "/usr/lib/sdk/llvm18/bin",
"prepend-ld-library-path": "/usr/lib/sdk/llvm18/lib",
"append-path": "/usr/lib/sdk/llvm20/bin",
"prepend-ld-library-path": "/usr/lib/sdk/llvm20/lib",
"build-args": [
"--share=network"
]
Expand Down
27 changes: 15 additions & 12 deletions src/main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -717,18 +717,21 @@ int main(int argc, char** argv) {
// Register the .rtz texture pack file format with the previous content type as its only allowed content type.
recomp::mods::register_mod_container_type("rtz", std::vector{ texture_pack_content_type_id }, false);

recomp::start(
project_version,
{},
rsp_callbacks,
renderer_callbacks,
audio_callbacks,
input_callbacks,
gfx_callbacks,
thread_callbacks,
error_handling_callbacks,
threads_callbacks
);
recomp::Configuration cfg{
.project_version = project_version,
.window_handle = {},
.rsp_callbacks = rsp_callbacks,
.renderer_callbacks = renderer_callbacks,
.audio_callbacks = audio_callbacks,
.input_callbacks = input_callbacks,
.gfx_callbacks = gfx_callbacks,
.events_callbacks = thread_callbacks,
.error_handling_callbacks = error_handling_callbacks,
.threads_callbacks = threads_callbacks,
.message_queue_control = {},
};

recomp::start(cfg);

NFD_Quit();

Expand Down
Loading