Skip to content
Open
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
2 changes: 1 addition & 1 deletion ps2xRuntime/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ add_executable(ps2EntryRunner
)

if(MSVC)
target_compile_options(ps2EntryRunner PRIVATE /FS)
target_compile_options(ps2EntryRunner PRIVATE /FS /MP4)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok we have 2 problems here.

First is a hardcode 4. My pc has like 12 cores so using 4 will be ass for me.

You are only applying this to msvc but a lot of people use other compilers

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah sorry Edgar told me 4 would be better for weaker PCs haha. A command argument to specify the amount of cores or max cores was suggested as well which we could do instead!

endif()

target_include_directories(ps2_runtime PUBLIC
Expand Down