diff --git a/libretro/msvc/msvc-2003-xbox1.bat b/libretro/msvc/msvc-2003-xbox1.bat
new file mode 100644
index 0000000..91d69ff
--- /dev/null
+++ b/libretro/msvc/msvc-2003-xbox1.bat
@@ -0,0 +1,47 @@
+@SET VSINSTALLDIR=C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE
+@SET VCINSTALLDIR=C:\Program Files\Microsoft Visual Studio .NET 2003
+@SET FrameworkDir=C:\WINDOWS\Microsoft.NET\Framework
+@SET FrameworkVersion=v1.1.4322
+@SET FrameworkSDKDir=C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1
+@rem Root of Visual Studio common files.
+
+@if "%VSINSTALLDIR%"=="" goto Usage
+@if "%VCINSTALLDIR%"=="" set VCINSTALLDIR=%VSINSTALLDIR%
+
+@rem
+@rem Root of Visual Studio ide installed files.
+@rem
+@set DevEnvDir=%VSINSTALLDIR%
+
+@rem
+@rem Root of Visual C++ installed files.
+@rem
+@set MSVCDir=%VCINSTALLDIR%\VC7
+
+@rem
+@echo Setting environment for using Microsoft Visual Studio .NET 2003 tools.
+@echo (If you have another version of Visual Studio or Visual C++ installed and wish
+@echo to use its tools from the command line, run vcvars32.bat for that version.)
+@rem
+
+@REM %VCINSTALLDIR%\Common7\Tools dir is added only for real setup.
+
+@set PATH=%DevEnvDir%;%MSVCDir%\BIN;%VCINSTALLDIR%\Common7\Tools;%VCINSTALLDIR%\Common7\Tools\bin\prerelease;%VCINSTALLDIR%\Common7\Tools\bin;%FrameworkSDKDir%\bin;%FrameworkDir%\%FrameworkVersion%;%PATH%;
+@set INCLUDE=%MSVCDir%\ATLMFC\INCLUDE;%MSVCDir%\INCLUDE;%FrameworkSDKDir%\include;%INCLUDE%;%XDK%\xbox\include
+@set LIB=%MSVCDir%\ATLMFC\LIB;%MSVCDir%\LIB;%MSVCDir%\PlatformSDK\lib;%XDK%\lib;%XDK%\xbox\lib;%LIB%
+
+@goto end
+
+:Usage
+
+@echo. VSINSTALLDIR variable is not set.
+@echo.
+@echo SYNTAX: %0
+
+@goto end
+
+:end
+
+devenv /clean Release_LTCG msvc-2003-xbox1.sln
+devenv /build Release_LTCG msvc-2003-xbox1.sln
+exit
diff --git a/libretro/msvc/msvc-2003-xbox1/msvc-2003-xbox1.vcproj b/libretro/msvc/msvc-2003-xbox1/msvc-2003-xbox1.vcproj
index 4d0c254..ffa6eea 100644
--- a/libretro/msvc/msvc-2003-xbox1/msvc-2003-xbox1.vcproj
+++ b/libretro/msvc/msvc-2003-xbox1/msvc-2003-xbox1.vcproj
@@ -36,7 +36,7 @@
Name="VCCustomBuildTool"/>
+ OutputFile="$(OutDir)/genesis_plus_gx_libretro_xdk.lib"/>
+ OutputFile="$(OutDir)/genesis_plus_gx_libretro_xdk.lib"/>
+ OutputFile="$(OutDir)/genesis_plus_gx_libretro_xdk.lib"/>
+ OutputFile="$(OutDir)/genesis_plus_gx_libretro_xdk.lib"/>
+ OutputFile="$(OutDir)/genesis_plus_gx_libretro_xdk.lib"/>
nul 2>&1
+@if errorlevel 1 call :GetVSCommonToolsDirHelper32 HKCU > nul 2>&1
+@if errorlevel 1 call :GetVSCommonToolsDirHelper64 HKLM > nul 2>&1
+@if errorlevel 1 call :GetVSCommonToolsDirHelper64 HKCU > nul 2>&1
+@exit /B 0
+
+:GetVSCommonToolsDirHelper32
+@for /F "tokens=1,2*" %%i in ('reg query "%1\SOFTWARE\Microsoft\VisualStudio\SxS\VS7" /v "10.0"') DO (
+ @if "%%i"=="10.0" (
+ @SET "VS100COMNTOOLS=%%k"
+ )
+)
+@if "%VS100COMNTOOLS%"=="" exit /B 1
+@SET "VS100COMNTOOLS=%VS100COMNTOOLS%Common7\Tools\"
+@exit /B 0
+
+:GetVSCommonToolsDirHelper64
+@for /F "tokens=1,2*" %%i in ('reg query "%1\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VS7" /v "10.0"') DO (
+ @if "%%i"=="10.0" (
+ @SET "VS100COMNTOOLS=%%k"
+ )
+)
+@if "%VS100COMNTOOLS%"=="" exit /B 1
+@SET "VS100COMNTOOLS=%VS100COMNTOOLS%Common7\Tools\"
+@exit /B 0
+
+@REM -----------------------------------------------------------------------
+:error_no_VS100COMNTOOLSDIR
+@echo ERROR: Cannot determine the location of the VS Common Tools folder.
+@goto end
+
+:error_no_VSINSTALLDIR
+@echo ERROR: Cannot determine the location of the VS installation.
+@goto end
+
+:error_no_FrameworkDIR32
+@echo ERROR: Cannot determine the location of the .NET Framework 32bit installation.
+@goto end
+
+:error_no_FrameworkVer32
+@echo ERROR: Cannot determine the version of the .NET Framework 32bit installation.
+@goto end
+
+:error_no_Framework35Version
+@echo ERROR: Cannot determine the .NET Framework 3.5 version.
+@goto end
+
+:end
+
+msbuild msvc-2010-360.sln /p:Configuration=Release_LTCG /target:clean
+msbuild msvc-2010-360.sln /p:Configuration=Release_LTCG
+exit
diff --git a/libretro/qnx/playbook/.cproject b/libretro/qnx/playbook/.cproject
new file mode 100644
index 0000000..a559731
--- /dev/null
+++ b/libretro/qnx/playbook/.cproject
@@ -0,0 +1,606 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/libretro/qnx/playbook/.project b/libretro/qnx/playbook/.project
new file mode 100644
index 0000000..6108add
--- /dev/null
+++ b/libretro/qnx/playbook/.project
@@ -0,0 +1,323 @@
+
+
+ genesis-plus-gx
+
+
+
+
+
+ org.eclipse.cdt.managedbuilder.core.genmakebuilder
+ clean,full,incremental,
+
+
+ ?name?
+
+
+
+ org.eclipse.cdt.make.core.append_environment
+ true
+
+
+ org.eclipse.cdt.make.core.buildArguments
+
+
+
+ org.eclipse.cdt.make.core.buildCommand
+ make
+
+
+ org.eclipse.cdt.make.core.buildLocation
+ ${workspace_loc:/genesis-plus-gx/Device-Release}
+
+
+ org.eclipse.cdt.make.core.contents
+ org.eclipse.cdt.make.core.activeConfigSettings
+
+
+ org.eclipse.cdt.make.core.enableAutoBuild
+ false
+
+
+ org.eclipse.cdt.make.core.enableCleanBuild
+ true
+
+
+ org.eclipse.cdt.make.core.enableFullBuild
+ true
+
+
+ org.eclipse.cdt.make.core.stopOnError
+ true
+
+
+ org.eclipse.cdt.make.core.useDefaultBuildCmd
+ true
+
+
+
+
+ org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder
+ full,incremental,
+
+
+
+
+ com.qnx.tools.bbt.xml.core.bbtXMLValidationBuilder
+
+
+
+
+
+ org.eclipse.cdt.core.cnature
+ org.eclipse.cdt.managedbuilder.core.managedBuildNature
+ org.eclipse.cdt.managedbuilder.core.ScannerConfigNature
+ com.qnx.tools.ide.bbt.core.bbtnature
+
+
+
+ src/activator.c
+ 1
+ PARENT-3-PROJECT_LOC/source/input_hw/activator.c
+
+
+ src/areplay.c
+ 1
+ PARENT-3-PROJECT_LOC/source/cart_hw/areplay.c
+
+
+ src/blip_buf.c
+ 1
+ PARENT-3-PROJECT_LOC/source/sound/blip_buf.c
+
+
+ src/cd_cart.c
+ 1
+ PARENT-3-PROJECT_LOC/source/cd_hw/cd_cart.c
+
+
+ src/cdc.c
+ 1
+ PARENT-3-PROJECT_LOC/source/cd_hw/cdc.c
+
+
+ src/cdd.c
+ 1
+ PARENT-3-PROJECT_LOC/source/cd_hw/cdd.c
+
+
+ src/eeprom_93c.c
+ 1
+ PARENT-3-PROJECT_LOC/source/cart_hw/eeprom_93c.c
+
+
+ src/eeprom_i2c.c
+ 1
+ PARENT-3-PROJECT_LOC/source/cart_hw/eeprom_i2c.c
+
+
+ src/eeprom_spi.c
+ 1
+ PARENT-3-PROJECT_LOC/source/cart_hw/eeprom_spi.c
+
+
+ src/eq.c
+ 1
+ PARENT-3-PROJECT_LOC/source/sound/eq.c
+
+
+ src/gamepad.c
+ 1
+ PARENT-3-PROJECT_LOC/source/input_hw/gamepad.c
+
+
+ src/genesis.c
+ 1
+ PARENT-3-PROJECT_LOC/source/genesis.c
+
+
+ src/gfx.c
+ 1
+ PARENT-3-PROJECT_LOC/source/cd_hw/gfx.c
+
+
+ src/ggenie.c
+ 1
+ PARENT-3-PROJECT_LOC/source/cart_hw/ggenie.c
+
+
+ src/input.c
+ 1
+ PARENT-3-PROJECT_LOC/source/input_hw/input.c
+
+
+ src/io_ctrl.c
+ 1
+ PARENT-3-PROJECT_LOC/source/io_ctrl.c
+
+
+ src/libretro.c
+ 1
+ PARENT-2-PROJECT_LOC/libretro.c
+
+
+ src/lightgun.c
+ 1
+ PARENT-3-PROJECT_LOC/source/input_hw/lightgun.c
+
+
+ src/loadrom.c
+ 1
+ PARENT-3-PROJECT_LOC/source/loadrom.c
+
+
+ src/m68kcpu.c
+ 1
+ PARENT-3-PROJECT_LOC/source/m68k/m68kcpu.c
+
+
+ src/md_cart.c
+ 1
+ PARENT-3-PROJECT_LOC/source/cart_hw/md_cart.c
+
+
+ src/md_ntsc.c
+ 1
+ PARENT-3-PROJECT_LOC/source/ntsc/md_ntsc.c
+
+
+ src/mem68k.c
+ 1
+ PARENT-3-PROJECT_LOC/source/mem68k.c
+
+
+ src/membnk.c
+ 1
+ PARENT-3-PROJECT_LOC/source/membnk.c
+
+
+ src/memz80.c
+ 1
+ PARENT-3-PROJECT_LOC/source/memz80.c
+
+
+ src/mouse.c
+ 1
+ PARENT-3-PROJECT_LOC/source/input_hw/mouse.c
+
+
+ src/paddle.c
+ 1
+ PARENT-3-PROJECT_LOC/source/input_hw/paddle.c
+
+
+ src/pcm.c
+ 1
+ PARENT-3-PROJECT_LOC/source/cd_hw/pcm.c
+
+
+ src/s68kcpu.c
+ 1
+ PARENT-3-PROJECT_LOC/source/m68k/s68kcpu.c
+
+
+ src/scd.c
+ 1
+ PARENT-3-PROJECT_LOC/source/cd_hw/scd.c
+
+
+ src/scrc32.c
+ 1
+ PARENT-2-PROJECT_LOC/scrc32.c
+
+
+ src/sms_cart.c
+ 1
+ PARENT-3-PROJECT_LOC/source/cart_hw/sms_cart.c
+
+
+ src/sms_ntsc.c
+ 1
+ PARENT-3-PROJECT_LOC/source/ntsc/sms_ntsc.c
+
+
+ src/sn76489.c
+ 1
+ PARENT-3-PROJECT_LOC/source/sound/sn76489.c
+
+
+ src/sound.c
+ 1
+ PARENT-3-PROJECT_LOC/source/sound/sound.c
+
+
+ src/sportspad.c
+ 1
+ PARENT-3-PROJECT_LOC/source/input_hw/sportspad.c
+
+
+ src/sram.c
+ 1
+ PARENT-3-PROJECT_LOC/source/cart_hw/sram.c
+
+
+ src/ssp16.c
+ 1
+ PARENT-3-PROJECT_LOC/source/cart_hw/svp/ssp16.c
+
+
+ src/state.c
+ 1
+ PARENT-3-PROJECT_LOC/source/state.c
+
+
+ src/svp.c
+ 1
+ PARENT-3-PROJECT_LOC/source/cart_hw/svp/svp.c
+
+
+ src/system.c
+ 1
+ PARENT-3-PROJECT_LOC/source/system.c
+
+
+ src/teamplayer.c
+ 1
+ PARENT-3-PROJECT_LOC/source/input_hw/teamplayer.c
+
+
+ src/terebi_oekaki.c
+ 1
+ PARENT-3-PROJECT_LOC/source/input_hw/terebi_oekaki.c
+
+
+ src/vdp_ctrl.c
+ 1
+ PARENT-3-PROJECT_LOC/source/vdp_ctrl.c
+
+
+ src/vdp_render.c
+ 1
+ PARENT-3-PROJECT_LOC/source/vdp_render.c
+
+
+ src/xe_a1p.c
+ 1
+ PARENT-3-PROJECT_LOC/source/input_hw/xe_a1p.c
+
+
+ src/ym2413.c
+ 1
+ PARENT-3-PROJECT_LOC/source/sound/ym2413.c
+
+
+ src/ym2612.c
+ 1
+ PARENT-3-PROJECT_LOC/source/sound/ym2612.c
+
+
+ src/z80.c
+ 1
+ PARENT-3-PROJECT_LOC/source/z80/z80.c
+
+
+