JaCzekanski / Avocado

🥑 PlayStation 1 emulator
GNU General Public License v2.0
538 stars 31 forks source link

Cant run on more than 6fps #69

Closed rickomax closed 4 years ago

rickomax commented 4 years ago

Built the emulator for Windows 64 and can't exceed 6fps on debug mode, what should be wrong?

JaCzekanski commented 4 years ago

Debug mode is very slow in Visual studio due to the usage of STL containers which are completely unoptimized and have multiple boundary checks which are absent in Release builds. You should be able to speed it up a little by disabling iterator debugging (define _ITERATOR_DEBUG_LEVEL=0 for the whole project) and/or disable buffer security checks.

Building the emulator in Release mode will take care of all of those issues.