libretro.cpp - Cleanups