Emulation and virtualization have solved the longevity problem and continue to do so better than ever. There is no doubt at all that games will still work in the future, and other software, as long as they don't have a hard-dependency on a dead online system.