diff --git a/Decompiling-Tips-IDA.md b/Decompiling-Tips-IDA.md index aa699cb..7ca7773 100644 --- a/Decompiling-Tips-IDA.md +++ b/Decompiling-Tips-IDA.md @@ -185,13 +185,15 @@ ebx = RCT2_ADDRESS_SPRITE_LIST[ebx]; ### Print debugging -To print statements to the console after RCT2 begins running, include the following header: +Use `printf` or, + +To print statements to the Visual Studio output after RCT2 begins, include the following header: ``` #include "windows.h" ``` -Then use the command [`OutputDebugString`](http://msdn.microsoft.com/en-us/library/aa363362%28VS.85%29.aspx). Sadly printf does not work in some cases. +Then use the command [`OutputDebugString`](http://msdn.microsoft.com/en-us/library/aa363362%28VS.85%29.aspx). ``` OutputDebugString("Hello World!\n");