Renderer is very unoptimized with several layers of outdated cpu scaler code.
The whole render should be removed with only a 8bit indexed vga to 32bbp framebuffer converter,retroarch can handle all the other video formats and screen sizes on its own.
Keyboard mapping is a giant switch statement mapping from sdl keys to ps2 scancodes.
Needs to be replaced with a retroarch keyboard to scancode lookuptable.
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/39551579-remove-compatibility-layers?utm_campaign=plugin&utm_content=tracker%2F2175333&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F2175333&utm_medium=issues&utm_source=github).
Renderer is very unoptimized with several layers of outdated cpu scaler code. The whole render should be removed with only a 8bit indexed vga to 32bbp framebuffer converter,retroarch can handle all the other video formats and screen sizes on its own.
Keyboard mapping is a giant switch statement mapping from sdl keys to ps2 scancodes. Needs to be replaced with a retroarch keyboard to scancode lookuptable.