diff --git a/COMPILING.md b/COMPILING.md index c08a755..c722b4b 100644 --- a/COMPILING.md +++ b/COMPILING.md @@ -1,5 +1,7 @@ ### Windows +Note: to debug the C++ code, go to `UI`'s properties, tick `Debug > Debugger engines > Enable native code debugging`, and save the changes. + #### *Standalone* 1) Open the solution in Visual Studio 2019 @@ -22,7 +24,7 @@ Note: It's also possible to build the Libretro core via MINGW by using the makef To compile Mesen-S under Linux you will need a relatively recent version of clang or gcc that supports the C++17 filesystem API.) Additionally, Mesen-S has the following dependencies: -* Mono 5.18+ (package: mono-devel) +* Mono 5.18+ (package: mono-devel) * SDL2 (package: libsdl2-dev) **Note:** **Mono 5.18 or higher is recommended**, some older versions of Mono (e.g 4.2.2) have some stability and performance issues which can cause crashes and slow down the UI. @@ -31,9 +33,9 @@ The default Mono version in Ubuntu 18.04 is 4.6.2 (which also causes some layout The makefile contains some more information at the top. Running "make" will build the x64 version by default, and then "make run" should start the emulator. LTO is supported under clang, which gives a large performance boost (25-30%+), so turning it on is highly recommended (see makefile for details): -Examples: -`LTO=true make` will compile with clang and LTO. -`USE_GCC=true LTO=true make` will compile with gcc and LTO. +Examples: +`LTO=true make` will compile with clang and LTO. +`USE_GCC=true LTO=true make` will compile with gcc and LTO. #### *Libretro*