diff --git a/desmume/src/cocoa/AppIcon_DeSmuME.icns b/desmume/src/frontend/cocoa/AppIcon_DeSmuME.icns similarity index 100% rename from desmume/src/cocoa/AppIcon_DeSmuME.icns rename to desmume/src/frontend/cocoa/AppIcon_DeSmuME.icns diff --git a/desmume/src/cocoa/AppIcon_FirmwareConfig.icns b/desmume/src/frontend/cocoa/AppIcon_FirmwareConfig.icns similarity index 100% rename from desmume/src/cocoa/AppIcon_FirmwareConfig.icns rename to desmume/src/frontend/cocoa/AppIcon_FirmwareConfig.icns diff --git a/desmume/src/cocoa/AppIcon_NintendoDS_ROM.icns b/desmume/src/frontend/cocoa/AppIcon_NintendoDS_ROM.icns similarity index 100% rename from desmume/src/cocoa/AppIcon_NintendoDS_ROM.icns rename to desmume/src/frontend/cocoa/AppIcon_NintendoDS_ROM.icns diff --git a/desmume/src/cocoa/AppIcon_ROMCheats.icns b/desmume/src/frontend/cocoa/AppIcon_ROMCheats.icns similarity index 100% rename from desmume/src/cocoa/AppIcon_ROMCheats.icns rename to desmume/src/frontend/cocoa/AppIcon_ROMCheats.icns diff --git a/desmume/src/cocoa/AppIcon_ROMSave.icns b/desmume/src/frontend/cocoa/AppIcon_ROMSave.icns similarity index 100% rename from desmume/src/cocoa/AppIcon_ROMSave.icns rename to desmume/src/frontend/cocoa/AppIcon_ROMSave.icns diff --git a/desmume/src/cocoa/AppIcon_SaveState.icns b/desmume/src/frontend/cocoa/AppIcon_SaveState.icns similarity index 100% rename from desmume/src/cocoa/AppIcon_SaveState.icns rename to desmume/src/frontend/cocoa/AppIcon_SaveState.icns diff --git a/desmume/src/cocoa/DeSmuME (Latest).xcodeproj/project.pbxproj b/desmume/src/frontend/cocoa/DeSmuME (Latest).xcodeproj/project.pbxproj similarity index 100% rename from desmume/src/cocoa/DeSmuME (Latest).xcodeproj/project.pbxproj rename to desmume/src/frontend/cocoa/DeSmuME (Latest).xcodeproj/project.pbxproj diff --git a/desmume/src/cocoa/DeSmuME (Latest).xcodeproj/project.xcworkspace/contents.xcworkspacedata b/desmume/src/frontend/cocoa/DeSmuME (Latest).xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 100% rename from desmume/src/cocoa/DeSmuME (Latest).xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to desmume/src/frontend/cocoa/DeSmuME (Latest).xcodeproj/project.xcworkspace/contents.xcworkspacedata diff --git a/desmume/src/cocoa/DeSmuME (Latest).xcodeproj/xcshareddata/xcschemes/DeSmuME (OS X App).xcscheme b/desmume/src/frontend/cocoa/DeSmuME (Latest).xcodeproj/xcshareddata/xcschemes/DeSmuME (OS X App).xcscheme similarity index 100% rename from desmume/src/cocoa/DeSmuME (Latest).xcodeproj/xcshareddata/xcschemes/DeSmuME (OS X App).xcscheme rename to desmume/src/frontend/cocoa/DeSmuME (Latest).xcodeproj/xcshareddata/xcschemes/DeSmuME (OS X App).xcscheme diff --git a/desmume/src/cocoa/DeSmuME (Latest).xcodeproj/xcshareddata/xcschemes/DeSmuME (OS X App; dev+).xcscheme b/desmume/src/frontend/cocoa/DeSmuME (Latest).xcodeproj/xcshareddata/xcschemes/DeSmuME (OS X App; dev+).xcscheme similarity index 100% rename from desmume/src/cocoa/DeSmuME (Latest).xcodeproj/xcshareddata/xcschemes/DeSmuME (OS X App; dev+).xcscheme rename to desmume/src/frontend/cocoa/DeSmuME (Latest).xcodeproj/xcshareddata/xcschemes/DeSmuME (OS X App; dev+).xcscheme diff --git a/desmume/src/cocoa/DeSmuME (Latest).xcodeproj/xcshareddata/xcschemes/DeSmuME (OS X App; v10.5 Leopard Release Build).xcscheme b/desmume/src/frontend/cocoa/DeSmuME (Latest).xcodeproj/xcshareddata/xcschemes/DeSmuME (OS X App; v10.5 Leopard Release Build).xcscheme similarity index 100% rename from desmume/src/cocoa/DeSmuME (Latest).xcodeproj/xcshareddata/xcschemes/DeSmuME (OS X App; v10.5 Leopard Release Build).xcscheme rename to desmume/src/frontend/cocoa/DeSmuME (Latest).xcodeproj/xcshareddata/xcschemes/DeSmuME (OS X App; v10.5 Leopard Release Build).xcscheme diff --git a/desmume/src/cocoa/DeSmuME (Latest).xcodeproj/xcshareddata/xcschemes/DeSmuME (OpenEmu Plug-in).xcscheme b/desmume/src/frontend/cocoa/DeSmuME (Latest).xcodeproj/xcshareddata/xcschemes/DeSmuME (OpenEmu Plug-in).xcscheme similarity index 100% rename from desmume/src/cocoa/DeSmuME (Latest).xcodeproj/xcshareddata/xcschemes/DeSmuME (OpenEmu Plug-in).xcscheme rename to desmume/src/frontend/cocoa/DeSmuME (Latest).xcodeproj/xcshareddata/xcschemes/DeSmuME (OpenEmu Plug-in).xcscheme diff --git a/desmume/src/cocoa/DeSmuME (XCode 3).xcodeproj/project.pbxproj b/desmume/src/frontend/cocoa/DeSmuME (XCode 3).xcodeproj/project.pbxproj similarity index 100% rename from desmume/src/cocoa/DeSmuME (XCode 3).xcodeproj/project.pbxproj rename to desmume/src/frontend/cocoa/DeSmuME (XCode 3).xcodeproj/project.pbxproj diff --git a/desmume/src/cocoa/DeSmuME.cbp b/desmume/src/frontend/cocoa/DeSmuME.cbp similarity index 100% rename from desmume/src/cocoa/DeSmuME.cbp rename to desmume/src/frontend/cocoa/DeSmuME.cbp diff --git a/desmume/src/cocoa/DeSmuME_Prefix.pch b/desmume/src/frontend/cocoa/DeSmuME_Prefix.pch similarity index 100% rename from desmume/src/cocoa/DeSmuME_Prefix.pch rename to desmume/src/frontend/cocoa/DeSmuME_Prefix.pch diff --git a/desmume/src/cocoa/DefaultKeyMappings.plist b/desmume/src/frontend/cocoa/DefaultKeyMappings.plist similarity index 100% rename from desmume/src/cocoa/DefaultKeyMappings.plist rename to desmume/src/frontend/cocoa/DefaultKeyMappings.plist diff --git a/desmume/src/cocoa/DefaultUserPrefs.plist b/desmume/src/frontend/cocoa/DefaultUserPrefs.plist similarity index 100% rename from desmume/src/cocoa/DefaultUserPrefs.plist rename to desmume/src/frontend/cocoa/DefaultUserPrefs.plist diff --git a/desmume/src/cocoa/DeleteUserDefaults.applescript b/desmume/src/frontend/cocoa/DeleteUserDefaults.applescript similarity index 100% rename from desmume/src/cocoa/DeleteUserDefaults.applescript rename to desmume/src/frontend/cocoa/DeleteUserDefaults.applescript diff --git a/desmume/src/cocoa/FileTypeInfo.plist b/desmume/src/frontend/cocoa/FileTypeInfo.plist similarity index 100% rename from desmume/src/cocoa/FileTypeInfo.plist rename to desmume/src/frontend/cocoa/FileTypeInfo.plist diff --git a/desmume/src/cocoa/Info (Debug).plist b/desmume/src/frontend/cocoa/Info (Debug).plist similarity index 100% rename from desmume/src/cocoa/Info (Debug).plist rename to desmume/src/frontend/cocoa/Info (Debug).plist diff --git a/desmume/src/cocoa/Info.plist b/desmume/src/frontend/cocoa/Info.plist similarity index 100% rename from desmume/src/cocoa/Info.plist rename to desmume/src/frontend/cocoa/Info.plist diff --git a/desmume/src/cocoa/KeyNames.plist b/desmume/src/frontend/cocoa/KeyNames.plist similarity index 100% rename from desmume/src/cocoa/KeyNames.plist rename to desmume/src/frontend/cocoa/KeyNames.plist diff --git a/desmume/src/cocoa/Makefile.am b/desmume/src/frontend/cocoa/Makefile.am similarity index 100% rename from desmume/src/cocoa/Makefile.am rename to desmume/src/frontend/cocoa/Makefile.am diff --git a/desmume/src/cocoa/OGLDisplayOutput.cpp b/desmume/src/frontend/cocoa/OGLDisplayOutput.cpp similarity index 100% rename from desmume/src/cocoa/OGLDisplayOutput.cpp rename to desmume/src/frontend/cocoa/OGLDisplayOutput.cpp diff --git a/desmume/src/cocoa/OGLDisplayOutput.h b/desmume/src/frontend/cocoa/OGLDisplayOutput.h similarity index 100% rename from desmume/src/cocoa/OGLDisplayOutput.h rename to desmume/src/frontend/cocoa/OGLDisplayOutput.h diff --git a/desmume/src/cocoa/OGLDisplayOutput_3_2.cpp b/desmume/src/frontend/cocoa/OGLDisplayOutput_3_2.cpp similarity index 100% rename from desmume/src/cocoa/OGLDisplayOutput_3_2.cpp rename to desmume/src/frontend/cocoa/OGLDisplayOutput_3_2.cpp diff --git a/desmume/src/cocoa/OGLDisplayOutput_3_2.h b/desmume/src/frontend/cocoa/OGLDisplayOutput_3_2.h similarity index 100% rename from desmume/src/cocoa/OGLDisplayOutput_3_2.h rename to desmume/src/frontend/cocoa/OGLDisplayOutput_3_2.h diff --git a/desmume/src/cocoa/PkgInfo b/desmume/src/frontend/cocoa/PkgInfo similarity index 100% rename from desmume/src/cocoa/PkgInfo rename to desmume/src/frontend/cocoa/PkgInfo diff --git a/desmume/src/cocoa/Rakefile b/desmume/src/frontend/cocoa/Rakefile similarity index 100% rename from desmume/src/cocoa/Rakefile rename to desmume/src/frontend/cocoa/Rakefile diff --git a/desmume/src/cocoa/audiosamplegenerator.cpp b/desmume/src/frontend/cocoa/audiosamplegenerator.cpp similarity index 100% rename from desmume/src/cocoa/audiosamplegenerator.cpp rename to desmume/src/frontend/cocoa/audiosamplegenerator.cpp diff --git a/desmume/src/cocoa/audiosamplegenerator.h b/desmume/src/frontend/cocoa/audiosamplegenerator.h similarity index 100% rename from desmume/src/cocoa/audiosamplegenerator.h rename to desmume/src/frontend/cocoa/audiosamplegenerator.h diff --git a/desmume/src/cocoa/build_dmg.sh b/desmume/src/frontend/cocoa/build_dmg.sh similarity index 100% rename from desmume/src/cocoa/build_dmg.sh rename to desmume/src/frontend/cocoa/build_dmg.sh diff --git a/desmume/src/cocoa/cocoa_GPU.h b/desmume/src/frontend/cocoa/cocoa_GPU.h similarity index 100% rename from desmume/src/cocoa/cocoa_GPU.h rename to desmume/src/frontend/cocoa/cocoa_GPU.h diff --git a/desmume/src/cocoa/cocoa_GPU.mm b/desmume/src/frontend/cocoa/cocoa_GPU.mm similarity index 100% rename from desmume/src/cocoa/cocoa_GPU.mm rename to desmume/src/frontend/cocoa/cocoa_GPU.mm diff --git a/desmume/src/cocoa/cocoa_cheat.h b/desmume/src/frontend/cocoa/cocoa_cheat.h similarity index 100% rename from desmume/src/cocoa/cocoa_cheat.h rename to desmume/src/frontend/cocoa/cocoa_cheat.h diff --git a/desmume/src/cocoa/cocoa_cheat.mm b/desmume/src/frontend/cocoa/cocoa_cheat.mm similarity index 100% rename from desmume/src/cocoa/cocoa_cheat.mm rename to desmume/src/frontend/cocoa/cocoa_cheat.mm diff --git a/desmume/src/cocoa/cocoa_core.h b/desmume/src/frontend/cocoa/cocoa_core.h similarity index 100% rename from desmume/src/cocoa/cocoa_core.h rename to desmume/src/frontend/cocoa/cocoa_core.h diff --git a/desmume/src/cocoa/cocoa_core.mm b/desmume/src/frontend/cocoa/cocoa_core.mm similarity index 100% rename from desmume/src/cocoa/cocoa_core.mm rename to desmume/src/frontend/cocoa/cocoa_core.mm diff --git a/desmume/src/cocoa/cocoa_file.h b/desmume/src/frontend/cocoa/cocoa_file.h similarity index 100% rename from desmume/src/cocoa/cocoa_file.h rename to desmume/src/frontend/cocoa/cocoa_file.h diff --git a/desmume/src/cocoa/cocoa_file.mm b/desmume/src/frontend/cocoa/cocoa_file.mm similarity index 100% rename from desmume/src/cocoa/cocoa_file.mm rename to desmume/src/frontend/cocoa/cocoa_file.mm diff --git a/desmume/src/cocoa/cocoa_firmware.h b/desmume/src/frontend/cocoa/cocoa_firmware.h similarity index 100% rename from desmume/src/cocoa/cocoa_firmware.h rename to desmume/src/frontend/cocoa/cocoa_firmware.h diff --git a/desmume/src/cocoa/cocoa_firmware.mm b/desmume/src/frontend/cocoa/cocoa_firmware.mm similarity index 100% rename from desmume/src/cocoa/cocoa_firmware.mm rename to desmume/src/frontend/cocoa/cocoa_firmware.mm diff --git a/desmume/src/cocoa/cocoa_globals.h b/desmume/src/frontend/cocoa/cocoa_globals.h similarity index 100% rename from desmume/src/cocoa/cocoa_globals.h rename to desmume/src/frontend/cocoa/cocoa_globals.h diff --git a/desmume/src/cocoa/cocoa_input.h b/desmume/src/frontend/cocoa/cocoa_input.h similarity index 100% rename from desmume/src/cocoa/cocoa_input.h rename to desmume/src/frontend/cocoa/cocoa_input.h diff --git a/desmume/src/cocoa/cocoa_input.mm b/desmume/src/frontend/cocoa/cocoa_input.mm similarity index 100% rename from desmume/src/cocoa/cocoa_input.mm rename to desmume/src/frontend/cocoa/cocoa_input.mm diff --git a/desmume/src/cocoa/cocoa_output.h b/desmume/src/frontend/cocoa/cocoa_output.h similarity index 100% rename from desmume/src/cocoa/cocoa_output.h rename to desmume/src/frontend/cocoa/cocoa_output.h diff --git a/desmume/src/cocoa/cocoa_output.mm b/desmume/src/frontend/cocoa/cocoa_output.mm similarity index 100% rename from desmume/src/cocoa/cocoa_output.mm rename to desmume/src/frontend/cocoa/cocoa_output.mm diff --git a/desmume/src/cocoa/cocoa_rom.h b/desmume/src/frontend/cocoa/cocoa_rom.h similarity index 100% rename from desmume/src/cocoa/cocoa_rom.h rename to desmume/src/frontend/cocoa/cocoa_rom.h diff --git a/desmume/src/cocoa/cocoa_rom.mm b/desmume/src/frontend/cocoa/cocoa_rom.mm similarity index 100% rename from desmume/src/cocoa/cocoa_rom.mm rename to desmume/src/frontend/cocoa/cocoa_rom.mm diff --git a/desmume/src/cocoa/cocoa_slot2.h b/desmume/src/frontend/cocoa/cocoa_slot2.h similarity index 100% rename from desmume/src/cocoa/cocoa_slot2.h rename to desmume/src/frontend/cocoa/cocoa_slot2.h diff --git a/desmume/src/cocoa/cocoa_slot2.mm b/desmume/src/frontend/cocoa/cocoa_slot2.mm similarity index 100% rename from desmume/src/cocoa/cocoa_slot2.mm rename to desmume/src/frontend/cocoa/cocoa_slot2.mm diff --git a/desmume/src/cocoa/cocoa_util.h b/desmume/src/frontend/cocoa/cocoa_util.h similarity index 100% rename from desmume/src/cocoa/cocoa_util.h rename to desmume/src/frontend/cocoa/cocoa_util.h diff --git a/desmume/src/cocoa/cocoa_util.mm b/desmume/src/frontend/cocoa/cocoa_util.mm similarity index 100% rename from desmume/src/cocoa/cocoa_util.mm rename to desmume/src/frontend/cocoa/cocoa_util.mm diff --git a/desmume/src/cocoa/cocoa_videofilter.h b/desmume/src/frontend/cocoa/cocoa_videofilter.h similarity index 100% rename from desmume/src/cocoa/cocoa_videofilter.h rename to desmume/src/frontend/cocoa/cocoa_videofilter.h diff --git a/desmume/src/cocoa/cocoa_videofilter.mm b/desmume/src/frontend/cocoa/cocoa_videofilter.mm similarity index 100% rename from desmume/src/cocoa/cocoa_videofilter.mm rename to desmume/src/frontend/cocoa/cocoa_videofilter.mm diff --git a/desmume/src/cocoa/coreaudiosound.cpp b/desmume/src/frontend/cocoa/coreaudiosound.cpp similarity index 100% rename from desmume/src/cocoa/coreaudiosound.cpp rename to desmume/src/frontend/cocoa/coreaudiosound.cpp diff --git a/desmume/src/cocoa/coreaudiosound.h b/desmume/src/frontend/cocoa/coreaudiosound.h similarity index 100% rename from desmume/src/cocoa/coreaudiosound.h rename to desmume/src/frontend/cocoa/coreaudiosound.h diff --git a/desmume/src/cocoa/freetype/include/config/ftconfig.h b/desmume/src/frontend/cocoa/freetype/include/config/ftconfig.h similarity index 100% rename from desmume/src/cocoa/freetype/include/config/ftconfig.h rename to desmume/src/frontend/cocoa/freetype/include/config/ftconfig.h diff --git a/desmume/src/cocoa/freetype/include/config/ftheader.h b/desmume/src/frontend/cocoa/freetype/include/config/ftheader.h similarity index 100% rename from desmume/src/cocoa/freetype/include/config/ftheader.h rename to desmume/src/frontend/cocoa/freetype/include/config/ftheader.h diff --git a/desmume/src/cocoa/freetype/include/config/ftmodule.h b/desmume/src/frontend/cocoa/freetype/include/config/ftmodule.h similarity index 100% rename from desmume/src/cocoa/freetype/include/config/ftmodule.h rename to desmume/src/frontend/cocoa/freetype/include/config/ftmodule.h diff --git a/desmume/src/cocoa/freetype/include/config/ftoption.h b/desmume/src/frontend/cocoa/freetype/include/config/ftoption.h similarity index 100% rename from desmume/src/cocoa/freetype/include/config/ftoption.h rename to desmume/src/frontend/cocoa/freetype/include/config/ftoption.h diff --git a/desmume/src/cocoa/freetype/include/config/ftstdlib.h b/desmume/src/frontend/cocoa/freetype/include/config/ftstdlib.h similarity index 100% rename from desmume/src/cocoa/freetype/include/config/ftstdlib.h rename to desmume/src/frontend/cocoa/freetype/include/config/ftstdlib.h diff --git a/desmume/src/cocoa/freetype/include/freetype.h b/desmume/src/frontend/cocoa/freetype/include/freetype.h similarity index 100% rename from desmume/src/cocoa/freetype/include/freetype.h rename to desmume/src/frontend/cocoa/freetype/include/freetype.h diff --git a/desmume/src/cocoa/freetype/include/ft2build.h b/desmume/src/frontend/cocoa/freetype/include/ft2build.h similarity index 100% rename from desmume/src/cocoa/freetype/include/ft2build.h rename to desmume/src/frontend/cocoa/freetype/include/ft2build.h diff --git a/desmume/src/cocoa/freetype/include/ftadvanc.h b/desmume/src/frontend/cocoa/freetype/include/ftadvanc.h similarity index 100% rename from desmume/src/cocoa/freetype/include/ftadvanc.h rename to desmume/src/frontend/cocoa/freetype/include/ftadvanc.h diff --git a/desmume/src/cocoa/freetype/include/ftautoh.h b/desmume/src/frontend/cocoa/freetype/include/ftautoh.h similarity index 100% rename from desmume/src/cocoa/freetype/include/ftautoh.h rename to desmume/src/frontend/cocoa/freetype/include/ftautoh.h diff --git a/desmume/src/cocoa/freetype/include/ftbbox.h b/desmume/src/frontend/cocoa/freetype/include/ftbbox.h similarity index 100% rename from desmume/src/cocoa/freetype/include/ftbbox.h rename to desmume/src/frontend/cocoa/freetype/include/ftbbox.h diff --git a/desmume/src/cocoa/freetype/include/ftbdf.h b/desmume/src/frontend/cocoa/freetype/include/ftbdf.h similarity index 100% rename from desmume/src/cocoa/freetype/include/ftbdf.h rename to desmume/src/frontend/cocoa/freetype/include/ftbdf.h diff --git a/desmume/src/cocoa/freetype/include/ftbitmap.h b/desmume/src/frontend/cocoa/freetype/include/ftbitmap.h similarity index 100% rename from desmume/src/cocoa/freetype/include/ftbitmap.h rename to desmume/src/frontend/cocoa/freetype/include/ftbitmap.h diff --git a/desmume/src/cocoa/freetype/include/ftbzip2.h b/desmume/src/frontend/cocoa/freetype/include/ftbzip2.h similarity index 100% rename from desmume/src/cocoa/freetype/include/ftbzip2.h rename to desmume/src/frontend/cocoa/freetype/include/ftbzip2.h diff --git a/desmume/src/cocoa/freetype/include/ftcache.h b/desmume/src/frontend/cocoa/freetype/include/ftcache.h similarity index 100% rename from desmume/src/cocoa/freetype/include/ftcache.h rename to desmume/src/frontend/cocoa/freetype/include/ftcache.h diff --git a/desmume/src/cocoa/freetype/include/ftcffdrv.h b/desmume/src/frontend/cocoa/freetype/include/ftcffdrv.h similarity index 100% rename from desmume/src/cocoa/freetype/include/ftcffdrv.h rename to desmume/src/frontend/cocoa/freetype/include/ftcffdrv.h diff --git a/desmume/src/cocoa/freetype/include/ftchapters.h b/desmume/src/frontend/cocoa/freetype/include/ftchapters.h similarity index 100% rename from desmume/src/cocoa/freetype/include/ftchapters.h rename to desmume/src/frontend/cocoa/freetype/include/ftchapters.h diff --git a/desmume/src/cocoa/freetype/include/ftcid.h b/desmume/src/frontend/cocoa/freetype/include/ftcid.h similarity index 100% rename from desmume/src/cocoa/freetype/include/ftcid.h rename to desmume/src/frontend/cocoa/freetype/include/ftcid.h diff --git a/desmume/src/cocoa/freetype/include/fterrdef.h b/desmume/src/frontend/cocoa/freetype/include/fterrdef.h similarity index 100% rename from desmume/src/cocoa/freetype/include/fterrdef.h rename to desmume/src/frontend/cocoa/freetype/include/fterrdef.h diff --git a/desmume/src/cocoa/freetype/include/fterrors.h b/desmume/src/frontend/cocoa/freetype/include/fterrors.h similarity index 100% rename from desmume/src/cocoa/freetype/include/fterrors.h rename to desmume/src/frontend/cocoa/freetype/include/fterrors.h diff --git a/desmume/src/cocoa/freetype/include/ftfntfmt.h b/desmume/src/frontend/cocoa/freetype/include/ftfntfmt.h similarity index 100% rename from desmume/src/cocoa/freetype/include/ftfntfmt.h rename to desmume/src/frontend/cocoa/freetype/include/ftfntfmt.h diff --git a/desmume/src/cocoa/freetype/include/ftgasp.h b/desmume/src/frontend/cocoa/freetype/include/ftgasp.h similarity index 100% rename from desmume/src/cocoa/freetype/include/ftgasp.h rename to desmume/src/frontend/cocoa/freetype/include/ftgasp.h diff --git a/desmume/src/cocoa/freetype/include/ftglyph.h b/desmume/src/frontend/cocoa/freetype/include/ftglyph.h similarity index 100% rename from desmume/src/cocoa/freetype/include/ftglyph.h rename to desmume/src/frontend/cocoa/freetype/include/ftglyph.h diff --git a/desmume/src/cocoa/freetype/include/ftgxval.h b/desmume/src/frontend/cocoa/freetype/include/ftgxval.h similarity index 100% rename from desmume/src/cocoa/freetype/include/ftgxval.h rename to desmume/src/frontend/cocoa/freetype/include/ftgxval.h diff --git a/desmume/src/cocoa/freetype/include/ftgzip.h b/desmume/src/frontend/cocoa/freetype/include/ftgzip.h similarity index 100% rename from desmume/src/cocoa/freetype/include/ftgzip.h rename to desmume/src/frontend/cocoa/freetype/include/ftgzip.h diff --git a/desmume/src/cocoa/freetype/include/ftimage.h b/desmume/src/frontend/cocoa/freetype/include/ftimage.h similarity index 100% rename from desmume/src/cocoa/freetype/include/ftimage.h rename to desmume/src/frontend/cocoa/freetype/include/ftimage.h diff --git a/desmume/src/cocoa/freetype/include/ftincrem.h b/desmume/src/frontend/cocoa/freetype/include/ftincrem.h similarity index 100% rename from desmume/src/cocoa/freetype/include/ftincrem.h rename to desmume/src/frontend/cocoa/freetype/include/ftincrem.h diff --git a/desmume/src/cocoa/freetype/include/ftlcdfil.h b/desmume/src/frontend/cocoa/freetype/include/ftlcdfil.h similarity index 100% rename from desmume/src/cocoa/freetype/include/ftlcdfil.h rename to desmume/src/frontend/cocoa/freetype/include/ftlcdfil.h diff --git a/desmume/src/cocoa/freetype/include/ftlist.h b/desmume/src/frontend/cocoa/freetype/include/ftlist.h similarity index 100% rename from desmume/src/cocoa/freetype/include/ftlist.h rename to desmume/src/frontend/cocoa/freetype/include/ftlist.h diff --git a/desmume/src/cocoa/freetype/include/ftlzw.h b/desmume/src/frontend/cocoa/freetype/include/ftlzw.h similarity index 100% rename from desmume/src/cocoa/freetype/include/ftlzw.h rename to desmume/src/frontend/cocoa/freetype/include/ftlzw.h diff --git a/desmume/src/cocoa/freetype/include/ftmac.h b/desmume/src/frontend/cocoa/freetype/include/ftmac.h similarity index 100% rename from desmume/src/cocoa/freetype/include/ftmac.h rename to desmume/src/frontend/cocoa/freetype/include/ftmac.h diff --git a/desmume/src/cocoa/freetype/include/ftmm.h b/desmume/src/frontend/cocoa/freetype/include/ftmm.h similarity index 100% rename from desmume/src/cocoa/freetype/include/ftmm.h rename to desmume/src/frontend/cocoa/freetype/include/ftmm.h diff --git a/desmume/src/cocoa/freetype/include/ftmodapi.h b/desmume/src/frontend/cocoa/freetype/include/ftmodapi.h similarity index 100% rename from desmume/src/cocoa/freetype/include/ftmodapi.h rename to desmume/src/frontend/cocoa/freetype/include/ftmodapi.h diff --git a/desmume/src/cocoa/freetype/include/ftmoderr.h b/desmume/src/frontend/cocoa/freetype/include/ftmoderr.h similarity index 100% rename from desmume/src/cocoa/freetype/include/ftmoderr.h rename to desmume/src/frontend/cocoa/freetype/include/ftmoderr.h diff --git a/desmume/src/cocoa/freetype/include/ftotval.h b/desmume/src/frontend/cocoa/freetype/include/ftotval.h similarity index 100% rename from desmume/src/cocoa/freetype/include/ftotval.h rename to desmume/src/frontend/cocoa/freetype/include/ftotval.h diff --git a/desmume/src/cocoa/freetype/include/ftoutln.h b/desmume/src/frontend/cocoa/freetype/include/ftoutln.h similarity index 100% rename from desmume/src/cocoa/freetype/include/ftoutln.h rename to desmume/src/frontend/cocoa/freetype/include/ftoutln.h diff --git a/desmume/src/cocoa/freetype/include/ftpfr.h b/desmume/src/frontend/cocoa/freetype/include/ftpfr.h similarity index 100% rename from desmume/src/cocoa/freetype/include/ftpfr.h rename to desmume/src/frontend/cocoa/freetype/include/ftpfr.h diff --git a/desmume/src/cocoa/freetype/include/ftrender.h b/desmume/src/frontend/cocoa/freetype/include/ftrender.h similarity index 100% rename from desmume/src/cocoa/freetype/include/ftrender.h rename to desmume/src/frontend/cocoa/freetype/include/ftrender.h diff --git a/desmume/src/cocoa/freetype/include/ftsizes.h b/desmume/src/frontend/cocoa/freetype/include/ftsizes.h similarity index 100% rename from desmume/src/cocoa/freetype/include/ftsizes.h rename to desmume/src/frontend/cocoa/freetype/include/ftsizes.h diff --git a/desmume/src/cocoa/freetype/include/ftsnames.h b/desmume/src/frontend/cocoa/freetype/include/ftsnames.h similarity index 100% rename from desmume/src/cocoa/freetype/include/ftsnames.h rename to desmume/src/frontend/cocoa/freetype/include/ftsnames.h diff --git a/desmume/src/cocoa/freetype/include/ftstroke.h b/desmume/src/frontend/cocoa/freetype/include/ftstroke.h similarity index 100% rename from desmume/src/cocoa/freetype/include/ftstroke.h rename to desmume/src/frontend/cocoa/freetype/include/ftstroke.h diff --git a/desmume/src/cocoa/freetype/include/ftsynth.h b/desmume/src/frontend/cocoa/freetype/include/ftsynth.h similarity index 100% rename from desmume/src/cocoa/freetype/include/ftsynth.h rename to desmume/src/frontend/cocoa/freetype/include/ftsynth.h diff --git a/desmume/src/cocoa/freetype/include/ftsystem.h b/desmume/src/frontend/cocoa/freetype/include/ftsystem.h similarity index 100% rename from desmume/src/cocoa/freetype/include/ftsystem.h rename to desmume/src/frontend/cocoa/freetype/include/ftsystem.h diff --git a/desmume/src/cocoa/freetype/include/fttrigon.h b/desmume/src/frontend/cocoa/freetype/include/fttrigon.h similarity index 100% rename from desmume/src/cocoa/freetype/include/fttrigon.h rename to desmume/src/frontend/cocoa/freetype/include/fttrigon.h diff --git a/desmume/src/cocoa/freetype/include/ftttdrv.h b/desmume/src/frontend/cocoa/freetype/include/ftttdrv.h similarity index 100% rename from desmume/src/cocoa/freetype/include/ftttdrv.h rename to desmume/src/frontend/cocoa/freetype/include/ftttdrv.h diff --git a/desmume/src/cocoa/freetype/include/fttypes.h b/desmume/src/frontend/cocoa/freetype/include/fttypes.h similarity index 100% rename from desmume/src/cocoa/freetype/include/fttypes.h rename to desmume/src/frontend/cocoa/freetype/include/fttypes.h diff --git a/desmume/src/cocoa/freetype/include/ftwinfnt.h b/desmume/src/frontend/cocoa/freetype/include/ftwinfnt.h similarity index 100% rename from desmume/src/cocoa/freetype/include/ftwinfnt.h rename to desmume/src/frontend/cocoa/freetype/include/ftwinfnt.h diff --git a/desmume/src/cocoa/freetype/include/internal/autohint.h b/desmume/src/frontend/cocoa/freetype/include/internal/autohint.h similarity index 100% rename from desmume/src/cocoa/freetype/include/internal/autohint.h rename to desmume/src/frontend/cocoa/freetype/include/internal/autohint.h diff --git a/desmume/src/cocoa/freetype/include/internal/ftcalc.h b/desmume/src/frontend/cocoa/freetype/include/internal/ftcalc.h similarity index 100% rename from desmume/src/cocoa/freetype/include/internal/ftcalc.h rename to desmume/src/frontend/cocoa/freetype/include/internal/ftcalc.h diff --git a/desmume/src/cocoa/freetype/include/internal/ftdebug.h b/desmume/src/frontend/cocoa/freetype/include/internal/ftdebug.h similarity index 100% rename from desmume/src/cocoa/freetype/include/internal/ftdebug.h rename to desmume/src/frontend/cocoa/freetype/include/internal/ftdebug.h diff --git a/desmume/src/cocoa/freetype/include/internal/ftdriver.h b/desmume/src/frontend/cocoa/freetype/include/internal/ftdriver.h similarity index 100% rename from desmume/src/cocoa/freetype/include/internal/ftdriver.h rename to desmume/src/frontend/cocoa/freetype/include/internal/ftdriver.h diff --git a/desmume/src/cocoa/freetype/include/internal/ftgloadr.h b/desmume/src/frontend/cocoa/freetype/include/internal/ftgloadr.h similarity index 100% rename from desmume/src/cocoa/freetype/include/internal/ftgloadr.h rename to desmume/src/frontend/cocoa/freetype/include/internal/ftgloadr.h diff --git a/desmume/src/cocoa/freetype/include/internal/ftmemory.h b/desmume/src/frontend/cocoa/freetype/include/internal/ftmemory.h similarity index 100% rename from desmume/src/cocoa/freetype/include/internal/ftmemory.h rename to desmume/src/frontend/cocoa/freetype/include/internal/ftmemory.h diff --git a/desmume/src/cocoa/freetype/include/internal/ftobjs.h b/desmume/src/frontend/cocoa/freetype/include/internal/ftobjs.h similarity index 100% rename from desmume/src/cocoa/freetype/include/internal/ftobjs.h rename to desmume/src/frontend/cocoa/freetype/include/internal/ftobjs.h diff --git a/desmume/src/cocoa/freetype/include/internal/ftpic.h b/desmume/src/frontend/cocoa/freetype/include/internal/ftpic.h similarity index 100% rename from desmume/src/cocoa/freetype/include/internal/ftpic.h rename to desmume/src/frontend/cocoa/freetype/include/internal/ftpic.h diff --git a/desmume/src/cocoa/freetype/include/internal/ftrfork.h b/desmume/src/frontend/cocoa/freetype/include/internal/ftrfork.h similarity index 100% rename from desmume/src/cocoa/freetype/include/internal/ftrfork.h rename to desmume/src/frontend/cocoa/freetype/include/internal/ftrfork.h diff --git a/desmume/src/cocoa/freetype/include/internal/ftserv.h b/desmume/src/frontend/cocoa/freetype/include/internal/ftserv.h similarity index 100% rename from desmume/src/cocoa/freetype/include/internal/ftserv.h rename to desmume/src/frontend/cocoa/freetype/include/internal/ftserv.h diff --git a/desmume/src/cocoa/freetype/include/internal/ftstream.h b/desmume/src/frontend/cocoa/freetype/include/internal/ftstream.h similarity index 100% rename from desmume/src/cocoa/freetype/include/internal/ftstream.h rename to desmume/src/frontend/cocoa/freetype/include/internal/ftstream.h diff --git a/desmume/src/cocoa/freetype/include/internal/fttrace.h b/desmume/src/frontend/cocoa/freetype/include/internal/fttrace.h similarity index 100% rename from desmume/src/cocoa/freetype/include/internal/fttrace.h rename to desmume/src/frontend/cocoa/freetype/include/internal/fttrace.h diff --git a/desmume/src/cocoa/freetype/include/internal/ftvalid.h b/desmume/src/frontend/cocoa/freetype/include/internal/ftvalid.h similarity index 100% rename from desmume/src/cocoa/freetype/include/internal/ftvalid.h rename to desmume/src/frontend/cocoa/freetype/include/internal/ftvalid.h diff --git a/desmume/src/cocoa/freetype/include/internal/internal.h b/desmume/src/frontend/cocoa/freetype/include/internal/internal.h similarity index 100% rename from desmume/src/cocoa/freetype/include/internal/internal.h rename to desmume/src/frontend/cocoa/freetype/include/internal/internal.h diff --git a/desmume/src/cocoa/freetype/include/internal/psaux.h b/desmume/src/frontend/cocoa/freetype/include/internal/psaux.h similarity index 100% rename from desmume/src/cocoa/freetype/include/internal/psaux.h rename to desmume/src/frontend/cocoa/freetype/include/internal/psaux.h diff --git a/desmume/src/cocoa/freetype/include/internal/pshints.h b/desmume/src/frontend/cocoa/freetype/include/internal/pshints.h similarity index 100% rename from desmume/src/cocoa/freetype/include/internal/pshints.h rename to desmume/src/frontend/cocoa/freetype/include/internal/pshints.h diff --git a/desmume/src/cocoa/freetype/include/internal/services/svbdf.h b/desmume/src/frontend/cocoa/freetype/include/internal/services/svbdf.h similarity index 100% rename from desmume/src/cocoa/freetype/include/internal/services/svbdf.h rename to desmume/src/frontend/cocoa/freetype/include/internal/services/svbdf.h diff --git a/desmume/src/cocoa/freetype/include/internal/services/svcid.h b/desmume/src/frontend/cocoa/freetype/include/internal/services/svcid.h similarity index 100% rename from desmume/src/cocoa/freetype/include/internal/services/svcid.h rename to desmume/src/frontend/cocoa/freetype/include/internal/services/svcid.h diff --git a/desmume/src/cocoa/freetype/include/internal/services/svfntfmt.h b/desmume/src/frontend/cocoa/freetype/include/internal/services/svfntfmt.h similarity index 100% rename from desmume/src/cocoa/freetype/include/internal/services/svfntfmt.h rename to desmume/src/frontend/cocoa/freetype/include/internal/services/svfntfmt.h diff --git a/desmume/src/cocoa/freetype/include/internal/services/svgldict.h b/desmume/src/frontend/cocoa/freetype/include/internal/services/svgldict.h similarity index 100% rename from desmume/src/cocoa/freetype/include/internal/services/svgldict.h rename to desmume/src/frontend/cocoa/freetype/include/internal/services/svgldict.h diff --git a/desmume/src/cocoa/freetype/include/internal/services/svgxval.h b/desmume/src/frontend/cocoa/freetype/include/internal/services/svgxval.h similarity index 100% rename from desmume/src/cocoa/freetype/include/internal/services/svgxval.h rename to desmume/src/frontend/cocoa/freetype/include/internal/services/svgxval.h diff --git a/desmume/src/cocoa/freetype/include/internal/services/svkern.h b/desmume/src/frontend/cocoa/freetype/include/internal/services/svkern.h similarity index 100% rename from desmume/src/cocoa/freetype/include/internal/services/svkern.h rename to desmume/src/frontend/cocoa/freetype/include/internal/services/svkern.h diff --git a/desmume/src/cocoa/freetype/include/internal/services/svmm.h b/desmume/src/frontend/cocoa/freetype/include/internal/services/svmm.h similarity index 100% rename from desmume/src/cocoa/freetype/include/internal/services/svmm.h rename to desmume/src/frontend/cocoa/freetype/include/internal/services/svmm.h diff --git a/desmume/src/cocoa/freetype/include/internal/services/svotval.h b/desmume/src/frontend/cocoa/freetype/include/internal/services/svotval.h similarity index 100% rename from desmume/src/cocoa/freetype/include/internal/services/svotval.h rename to desmume/src/frontend/cocoa/freetype/include/internal/services/svotval.h diff --git a/desmume/src/cocoa/freetype/include/internal/services/svpfr.h b/desmume/src/frontend/cocoa/freetype/include/internal/services/svpfr.h similarity index 100% rename from desmume/src/cocoa/freetype/include/internal/services/svpfr.h rename to desmume/src/frontend/cocoa/freetype/include/internal/services/svpfr.h diff --git a/desmume/src/cocoa/freetype/include/internal/services/svpostnm.h b/desmume/src/frontend/cocoa/freetype/include/internal/services/svpostnm.h similarity index 100% rename from desmume/src/cocoa/freetype/include/internal/services/svpostnm.h rename to desmume/src/frontend/cocoa/freetype/include/internal/services/svpostnm.h diff --git a/desmume/src/cocoa/freetype/include/internal/services/svprop.h b/desmume/src/frontend/cocoa/freetype/include/internal/services/svprop.h similarity index 100% rename from desmume/src/cocoa/freetype/include/internal/services/svprop.h rename to desmume/src/frontend/cocoa/freetype/include/internal/services/svprop.h diff --git a/desmume/src/cocoa/freetype/include/internal/services/svpscmap.h b/desmume/src/frontend/cocoa/freetype/include/internal/services/svpscmap.h similarity index 100% rename from desmume/src/cocoa/freetype/include/internal/services/svpscmap.h rename to desmume/src/frontend/cocoa/freetype/include/internal/services/svpscmap.h diff --git a/desmume/src/cocoa/freetype/include/internal/services/svpsinfo.h b/desmume/src/frontend/cocoa/freetype/include/internal/services/svpsinfo.h similarity index 100% rename from desmume/src/cocoa/freetype/include/internal/services/svpsinfo.h rename to desmume/src/frontend/cocoa/freetype/include/internal/services/svpsinfo.h diff --git a/desmume/src/cocoa/freetype/include/internal/services/svsfnt.h b/desmume/src/frontend/cocoa/freetype/include/internal/services/svsfnt.h similarity index 100% rename from desmume/src/cocoa/freetype/include/internal/services/svsfnt.h rename to desmume/src/frontend/cocoa/freetype/include/internal/services/svsfnt.h diff --git a/desmume/src/cocoa/freetype/include/internal/services/svttcmap.h b/desmume/src/frontend/cocoa/freetype/include/internal/services/svttcmap.h similarity index 100% rename from desmume/src/cocoa/freetype/include/internal/services/svttcmap.h rename to desmume/src/frontend/cocoa/freetype/include/internal/services/svttcmap.h diff --git a/desmume/src/cocoa/freetype/include/internal/services/svtteng.h b/desmume/src/frontend/cocoa/freetype/include/internal/services/svtteng.h similarity index 100% rename from desmume/src/cocoa/freetype/include/internal/services/svtteng.h rename to desmume/src/frontend/cocoa/freetype/include/internal/services/svtteng.h diff --git a/desmume/src/cocoa/freetype/include/internal/services/svttglyf.h b/desmume/src/frontend/cocoa/freetype/include/internal/services/svttglyf.h similarity index 100% rename from desmume/src/cocoa/freetype/include/internal/services/svttglyf.h rename to desmume/src/frontend/cocoa/freetype/include/internal/services/svttglyf.h diff --git a/desmume/src/cocoa/freetype/include/internal/services/svwinfnt.h b/desmume/src/frontend/cocoa/freetype/include/internal/services/svwinfnt.h similarity index 100% rename from desmume/src/cocoa/freetype/include/internal/services/svwinfnt.h rename to desmume/src/frontend/cocoa/freetype/include/internal/services/svwinfnt.h diff --git a/desmume/src/cocoa/freetype/include/internal/sfnt.h b/desmume/src/frontend/cocoa/freetype/include/internal/sfnt.h similarity index 100% rename from desmume/src/cocoa/freetype/include/internal/sfnt.h rename to desmume/src/frontend/cocoa/freetype/include/internal/sfnt.h diff --git a/desmume/src/cocoa/freetype/include/internal/t1types.h b/desmume/src/frontend/cocoa/freetype/include/internal/t1types.h similarity index 100% rename from desmume/src/cocoa/freetype/include/internal/t1types.h rename to desmume/src/frontend/cocoa/freetype/include/internal/t1types.h diff --git a/desmume/src/cocoa/freetype/include/internal/tttypes.h b/desmume/src/frontend/cocoa/freetype/include/internal/tttypes.h similarity index 100% rename from desmume/src/cocoa/freetype/include/internal/tttypes.h rename to desmume/src/frontend/cocoa/freetype/include/internal/tttypes.h diff --git a/desmume/src/cocoa/freetype/include/t1tables.h b/desmume/src/frontend/cocoa/freetype/include/t1tables.h similarity index 100% rename from desmume/src/cocoa/freetype/include/t1tables.h rename to desmume/src/frontend/cocoa/freetype/include/t1tables.h diff --git a/desmume/src/cocoa/freetype/include/ttnameid.h b/desmume/src/frontend/cocoa/freetype/include/ttnameid.h similarity index 100% rename from desmume/src/cocoa/freetype/include/ttnameid.h rename to desmume/src/frontend/cocoa/freetype/include/ttnameid.h diff --git a/desmume/src/cocoa/freetype/include/tttables.h b/desmume/src/frontend/cocoa/freetype/include/tttables.h similarity index 100% rename from desmume/src/cocoa/freetype/include/tttables.h rename to desmume/src/frontend/cocoa/freetype/include/tttables.h diff --git a/desmume/src/cocoa/freetype/include/tttags.h b/desmume/src/frontend/cocoa/freetype/include/tttags.h similarity index 100% rename from desmume/src/cocoa/freetype/include/tttags.h rename to desmume/src/frontend/cocoa/freetype/include/tttags.h diff --git a/desmume/src/cocoa/freetype/include/ttunpat.h b/desmume/src/frontend/cocoa/freetype/include/ttunpat.h similarity index 100% rename from desmume/src/cocoa/freetype/include/ttunpat.h rename to desmume/src/frontend/cocoa/freetype/include/ttunpat.h diff --git a/desmume/src/cocoa/freetype/src/base/basepic.c b/desmume/src/frontend/cocoa/freetype/src/base/basepic.c similarity index 100% rename from desmume/src/cocoa/freetype/src/base/basepic.c rename to desmume/src/frontend/cocoa/freetype/src/base/basepic.c diff --git a/desmume/src/cocoa/freetype/src/base/basepic.h b/desmume/src/frontend/cocoa/freetype/src/base/basepic.h similarity index 100% rename from desmume/src/cocoa/freetype/src/base/basepic.h rename to desmume/src/frontend/cocoa/freetype/src/base/basepic.h diff --git a/desmume/src/cocoa/freetype/src/base/ftadvanc.c b/desmume/src/frontend/cocoa/freetype/src/base/ftadvanc.c similarity index 100% rename from desmume/src/cocoa/freetype/src/base/ftadvanc.c rename to desmume/src/frontend/cocoa/freetype/src/base/ftadvanc.c diff --git a/desmume/src/cocoa/freetype/src/base/ftapi.c b/desmume/src/frontend/cocoa/freetype/src/base/ftapi.c similarity index 100% rename from desmume/src/cocoa/freetype/src/base/ftapi.c rename to desmume/src/frontend/cocoa/freetype/src/base/ftapi.c diff --git a/desmume/src/cocoa/freetype/src/base/ftbase.c b/desmume/src/frontend/cocoa/freetype/src/base/ftbase.c similarity index 100% rename from desmume/src/cocoa/freetype/src/base/ftbase.c rename to desmume/src/frontend/cocoa/freetype/src/base/ftbase.c diff --git a/desmume/src/cocoa/freetype/src/base/ftbase.h b/desmume/src/frontend/cocoa/freetype/src/base/ftbase.h similarity index 100% rename from desmume/src/cocoa/freetype/src/base/ftbase.h rename to desmume/src/frontend/cocoa/freetype/src/base/ftbase.h diff --git a/desmume/src/cocoa/freetype/src/base/ftbbox.c b/desmume/src/frontend/cocoa/freetype/src/base/ftbbox.c similarity index 100% rename from desmume/src/cocoa/freetype/src/base/ftbbox.c rename to desmume/src/frontend/cocoa/freetype/src/base/ftbbox.c diff --git a/desmume/src/cocoa/freetype/src/base/ftbitmap.c b/desmume/src/frontend/cocoa/freetype/src/base/ftbitmap.c similarity index 100% rename from desmume/src/cocoa/freetype/src/base/ftbitmap.c rename to desmume/src/frontend/cocoa/freetype/src/base/ftbitmap.c diff --git a/desmume/src/cocoa/freetype/src/base/ftcalc.c b/desmume/src/frontend/cocoa/freetype/src/base/ftcalc.c similarity index 100% rename from desmume/src/cocoa/freetype/src/base/ftcalc.c rename to desmume/src/frontend/cocoa/freetype/src/base/ftcalc.c diff --git a/desmume/src/cocoa/freetype/src/base/ftdbgmem.c b/desmume/src/frontend/cocoa/freetype/src/base/ftdbgmem.c similarity index 100% rename from desmume/src/cocoa/freetype/src/base/ftdbgmem.c rename to desmume/src/frontend/cocoa/freetype/src/base/ftdbgmem.c diff --git a/desmume/src/cocoa/freetype/src/base/ftdebug.c b/desmume/src/frontend/cocoa/freetype/src/base/ftdebug.c similarity index 100% rename from desmume/src/cocoa/freetype/src/base/ftdebug.c rename to desmume/src/frontend/cocoa/freetype/src/base/ftdebug.c diff --git a/desmume/src/cocoa/freetype/src/base/ftfntfmt.c b/desmume/src/frontend/cocoa/freetype/src/base/ftfntfmt.c similarity index 100% rename from desmume/src/cocoa/freetype/src/base/ftfntfmt.c rename to desmume/src/frontend/cocoa/freetype/src/base/ftfntfmt.c diff --git a/desmume/src/cocoa/freetype/src/base/ftfstype.c b/desmume/src/frontend/cocoa/freetype/src/base/ftfstype.c similarity index 100% rename from desmume/src/cocoa/freetype/src/base/ftfstype.c rename to desmume/src/frontend/cocoa/freetype/src/base/ftfstype.c diff --git a/desmume/src/cocoa/freetype/src/base/ftgasp.c b/desmume/src/frontend/cocoa/freetype/src/base/ftgasp.c similarity index 100% rename from desmume/src/cocoa/freetype/src/base/ftgasp.c rename to desmume/src/frontend/cocoa/freetype/src/base/ftgasp.c diff --git a/desmume/src/cocoa/freetype/src/base/ftgloadr.c b/desmume/src/frontend/cocoa/freetype/src/base/ftgloadr.c similarity index 100% rename from desmume/src/cocoa/freetype/src/base/ftgloadr.c rename to desmume/src/frontend/cocoa/freetype/src/base/ftgloadr.c diff --git a/desmume/src/cocoa/freetype/src/base/ftglyph.c b/desmume/src/frontend/cocoa/freetype/src/base/ftglyph.c similarity index 100% rename from desmume/src/cocoa/freetype/src/base/ftglyph.c rename to desmume/src/frontend/cocoa/freetype/src/base/ftglyph.c diff --git a/desmume/src/cocoa/freetype/src/base/ftgxval.c b/desmume/src/frontend/cocoa/freetype/src/base/ftgxval.c similarity index 100% rename from desmume/src/cocoa/freetype/src/base/ftgxval.c rename to desmume/src/frontend/cocoa/freetype/src/base/ftgxval.c diff --git a/desmume/src/cocoa/freetype/src/base/ftinit.c b/desmume/src/frontend/cocoa/freetype/src/base/ftinit.c similarity index 100% rename from desmume/src/cocoa/freetype/src/base/ftinit.c rename to desmume/src/frontend/cocoa/freetype/src/base/ftinit.c diff --git a/desmume/src/cocoa/freetype/src/base/ftlcdfil.c b/desmume/src/frontend/cocoa/freetype/src/base/ftlcdfil.c similarity index 100% rename from desmume/src/cocoa/freetype/src/base/ftlcdfil.c rename to desmume/src/frontend/cocoa/freetype/src/base/ftlcdfil.c diff --git a/desmume/src/cocoa/freetype/src/base/ftmm.c b/desmume/src/frontend/cocoa/freetype/src/base/ftmm.c similarity index 100% rename from desmume/src/cocoa/freetype/src/base/ftmm.c rename to desmume/src/frontend/cocoa/freetype/src/base/ftmm.c diff --git a/desmume/src/cocoa/freetype/src/base/ftobjs.c b/desmume/src/frontend/cocoa/freetype/src/base/ftobjs.c similarity index 100% rename from desmume/src/cocoa/freetype/src/base/ftobjs.c rename to desmume/src/frontend/cocoa/freetype/src/base/ftobjs.c diff --git a/desmume/src/cocoa/freetype/src/base/ftotval.c b/desmume/src/frontend/cocoa/freetype/src/base/ftotval.c similarity index 100% rename from desmume/src/cocoa/freetype/src/base/ftotval.c rename to desmume/src/frontend/cocoa/freetype/src/base/ftotval.c diff --git a/desmume/src/cocoa/freetype/src/base/ftoutln.c b/desmume/src/frontend/cocoa/freetype/src/base/ftoutln.c similarity index 100% rename from desmume/src/cocoa/freetype/src/base/ftoutln.c rename to desmume/src/frontend/cocoa/freetype/src/base/ftoutln.c diff --git a/desmume/src/cocoa/freetype/src/base/ftpatent.c b/desmume/src/frontend/cocoa/freetype/src/base/ftpatent.c similarity index 100% rename from desmume/src/cocoa/freetype/src/base/ftpatent.c rename to desmume/src/frontend/cocoa/freetype/src/base/ftpatent.c diff --git a/desmume/src/cocoa/freetype/src/base/ftpfr.c b/desmume/src/frontend/cocoa/freetype/src/base/ftpfr.c similarity index 100% rename from desmume/src/cocoa/freetype/src/base/ftpfr.c rename to desmume/src/frontend/cocoa/freetype/src/base/ftpfr.c diff --git a/desmume/src/cocoa/freetype/src/base/ftpic.c b/desmume/src/frontend/cocoa/freetype/src/base/ftpic.c similarity index 100% rename from desmume/src/cocoa/freetype/src/base/ftpic.c rename to desmume/src/frontend/cocoa/freetype/src/base/ftpic.c diff --git a/desmume/src/cocoa/freetype/src/base/ftrfork.c b/desmume/src/frontend/cocoa/freetype/src/base/ftrfork.c similarity index 100% rename from desmume/src/cocoa/freetype/src/base/ftrfork.c rename to desmume/src/frontend/cocoa/freetype/src/base/ftrfork.c diff --git a/desmume/src/cocoa/freetype/src/base/ftsnames.c b/desmume/src/frontend/cocoa/freetype/src/base/ftsnames.c similarity index 100% rename from desmume/src/cocoa/freetype/src/base/ftsnames.c rename to desmume/src/frontend/cocoa/freetype/src/base/ftsnames.c diff --git a/desmume/src/cocoa/freetype/src/base/ftstream.c b/desmume/src/frontend/cocoa/freetype/src/base/ftstream.c similarity index 100% rename from desmume/src/cocoa/freetype/src/base/ftstream.c rename to desmume/src/frontend/cocoa/freetype/src/base/ftstream.c diff --git a/desmume/src/cocoa/freetype/src/base/ftstroke.c b/desmume/src/frontend/cocoa/freetype/src/base/ftstroke.c similarity index 100% rename from desmume/src/cocoa/freetype/src/base/ftstroke.c rename to desmume/src/frontend/cocoa/freetype/src/base/ftstroke.c diff --git a/desmume/src/cocoa/freetype/src/base/ftsynth.c b/desmume/src/frontend/cocoa/freetype/src/base/ftsynth.c similarity index 100% rename from desmume/src/cocoa/freetype/src/base/ftsynth.c rename to desmume/src/frontend/cocoa/freetype/src/base/ftsynth.c diff --git a/desmume/src/cocoa/freetype/src/base/ftsystem.c b/desmume/src/frontend/cocoa/freetype/src/base/ftsystem.c similarity index 100% rename from desmume/src/cocoa/freetype/src/base/ftsystem.c rename to desmume/src/frontend/cocoa/freetype/src/base/ftsystem.c diff --git a/desmume/src/cocoa/freetype/src/base/fttrigon.c b/desmume/src/frontend/cocoa/freetype/src/base/fttrigon.c similarity index 100% rename from desmume/src/cocoa/freetype/src/base/fttrigon.c rename to desmume/src/frontend/cocoa/freetype/src/base/fttrigon.c diff --git a/desmume/src/cocoa/freetype/src/base/fttype1.c b/desmume/src/frontend/cocoa/freetype/src/base/fttype1.c similarity index 100% rename from desmume/src/cocoa/freetype/src/base/fttype1.c rename to desmume/src/frontend/cocoa/freetype/src/base/fttype1.c diff --git a/desmume/src/cocoa/freetype/src/base/ftutil.c b/desmume/src/frontend/cocoa/freetype/src/base/ftutil.c similarity index 100% rename from desmume/src/cocoa/freetype/src/base/ftutil.c rename to desmume/src/frontend/cocoa/freetype/src/base/ftutil.c diff --git a/desmume/src/cocoa/freetype/src/base/md5.c b/desmume/src/frontend/cocoa/freetype/src/base/md5.c similarity index 100% rename from desmume/src/cocoa/freetype/src/base/md5.c rename to desmume/src/frontend/cocoa/freetype/src/base/md5.c diff --git a/desmume/src/cocoa/freetype/src/base/md5.h b/desmume/src/frontend/cocoa/freetype/src/base/md5.h similarity index 100% rename from desmume/src/cocoa/freetype/src/base/md5.h rename to desmume/src/frontend/cocoa/freetype/src/base/md5.h diff --git a/desmume/src/cocoa/freetype/src/cff/cf2arrst.c b/desmume/src/frontend/cocoa/freetype/src/cff/cf2arrst.c similarity index 100% rename from desmume/src/cocoa/freetype/src/cff/cf2arrst.c rename to desmume/src/frontend/cocoa/freetype/src/cff/cf2arrst.c diff --git a/desmume/src/cocoa/freetype/src/cff/cf2arrst.h b/desmume/src/frontend/cocoa/freetype/src/cff/cf2arrst.h similarity index 100% rename from desmume/src/cocoa/freetype/src/cff/cf2arrst.h rename to desmume/src/frontend/cocoa/freetype/src/cff/cf2arrst.h diff --git a/desmume/src/cocoa/freetype/src/cff/cf2blues.c b/desmume/src/frontend/cocoa/freetype/src/cff/cf2blues.c similarity index 100% rename from desmume/src/cocoa/freetype/src/cff/cf2blues.c rename to desmume/src/frontend/cocoa/freetype/src/cff/cf2blues.c diff --git a/desmume/src/cocoa/freetype/src/cff/cf2blues.h b/desmume/src/frontend/cocoa/freetype/src/cff/cf2blues.h similarity index 100% rename from desmume/src/cocoa/freetype/src/cff/cf2blues.h rename to desmume/src/frontend/cocoa/freetype/src/cff/cf2blues.h diff --git a/desmume/src/cocoa/freetype/src/cff/cf2error.c b/desmume/src/frontend/cocoa/freetype/src/cff/cf2error.c similarity index 100% rename from desmume/src/cocoa/freetype/src/cff/cf2error.c rename to desmume/src/frontend/cocoa/freetype/src/cff/cf2error.c diff --git a/desmume/src/cocoa/freetype/src/cff/cf2error.h b/desmume/src/frontend/cocoa/freetype/src/cff/cf2error.h similarity index 100% rename from desmume/src/cocoa/freetype/src/cff/cf2error.h rename to desmume/src/frontend/cocoa/freetype/src/cff/cf2error.h diff --git a/desmume/src/cocoa/freetype/src/cff/cf2fixed.h b/desmume/src/frontend/cocoa/freetype/src/cff/cf2fixed.h similarity index 100% rename from desmume/src/cocoa/freetype/src/cff/cf2fixed.h rename to desmume/src/frontend/cocoa/freetype/src/cff/cf2fixed.h diff --git a/desmume/src/cocoa/freetype/src/cff/cf2font.c b/desmume/src/frontend/cocoa/freetype/src/cff/cf2font.c similarity index 100% rename from desmume/src/cocoa/freetype/src/cff/cf2font.c rename to desmume/src/frontend/cocoa/freetype/src/cff/cf2font.c diff --git a/desmume/src/cocoa/freetype/src/cff/cf2font.h b/desmume/src/frontend/cocoa/freetype/src/cff/cf2font.h similarity index 100% rename from desmume/src/cocoa/freetype/src/cff/cf2font.h rename to desmume/src/frontend/cocoa/freetype/src/cff/cf2font.h diff --git a/desmume/src/cocoa/freetype/src/cff/cf2ft.c b/desmume/src/frontend/cocoa/freetype/src/cff/cf2ft.c similarity index 100% rename from desmume/src/cocoa/freetype/src/cff/cf2ft.c rename to desmume/src/frontend/cocoa/freetype/src/cff/cf2ft.c diff --git a/desmume/src/cocoa/freetype/src/cff/cf2ft.h b/desmume/src/frontend/cocoa/freetype/src/cff/cf2ft.h similarity index 100% rename from desmume/src/cocoa/freetype/src/cff/cf2ft.h rename to desmume/src/frontend/cocoa/freetype/src/cff/cf2ft.h diff --git a/desmume/src/cocoa/freetype/src/cff/cf2glue.h b/desmume/src/frontend/cocoa/freetype/src/cff/cf2glue.h similarity index 100% rename from desmume/src/cocoa/freetype/src/cff/cf2glue.h rename to desmume/src/frontend/cocoa/freetype/src/cff/cf2glue.h diff --git a/desmume/src/cocoa/freetype/src/cff/cf2hints.c b/desmume/src/frontend/cocoa/freetype/src/cff/cf2hints.c similarity index 100% rename from desmume/src/cocoa/freetype/src/cff/cf2hints.c rename to desmume/src/frontend/cocoa/freetype/src/cff/cf2hints.c diff --git a/desmume/src/cocoa/freetype/src/cff/cf2hints.h b/desmume/src/frontend/cocoa/freetype/src/cff/cf2hints.h similarity index 100% rename from desmume/src/cocoa/freetype/src/cff/cf2hints.h rename to desmume/src/frontend/cocoa/freetype/src/cff/cf2hints.h diff --git a/desmume/src/cocoa/freetype/src/cff/cf2intrp.c b/desmume/src/frontend/cocoa/freetype/src/cff/cf2intrp.c similarity index 100% rename from desmume/src/cocoa/freetype/src/cff/cf2intrp.c rename to desmume/src/frontend/cocoa/freetype/src/cff/cf2intrp.c diff --git a/desmume/src/cocoa/freetype/src/cff/cf2intrp.h b/desmume/src/frontend/cocoa/freetype/src/cff/cf2intrp.h similarity index 100% rename from desmume/src/cocoa/freetype/src/cff/cf2intrp.h rename to desmume/src/frontend/cocoa/freetype/src/cff/cf2intrp.h diff --git a/desmume/src/cocoa/freetype/src/cff/cf2read.c b/desmume/src/frontend/cocoa/freetype/src/cff/cf2read.c similarity index 100% rename from desmume/src/cocoa/freetype/src/cff/cf2read.c rename to desmume/src/frontend/cocoa/freetype/src/cff/cf2read.c diff --git a/desmume/src/cocoa/freetype/src/cff/cf2read.h b/desmume/src/frontend/cocoa/freetype/src/cff/cf2read.h similarity index 100% rename from desmume/src/cocoa/freetype/src/cff/cf2read.h rename to desmume/src/frontend/cocoa/freetype/src/cff/cf2read.h diff --git a/desmume/src/cocoa/freetype/src/cff/cf2stack.c b/desmume/src/frontend/cocoa/freetype/src/cff/cf2stack.c similarity index 100% rename from desmume/src/cocoa/freetype/src/cff/cf2stack.c rename to desmume/src/frontend/cocoa/freetype/src/cff/cf2stack.c diff --git a/desmume/src/cocoa/freetype/src/cff/cf2stack.h b/desmume/src/frontend/cocoa/freetype/src/cff/cf2stack.h similarity index 100% rename from desmume/src/cocoa/freetype/src/cff/cf2stack.h rename to desmume/src/frontend/cocoa/freetype/src/cff/cf2stack.h diff --git a/desmume/src/cocoa/freetype/src/cff/cf2types.h b/desmume/src/frontend/cocoa/freetype/src/cff/cf2types.h similarity index 100% rename from desmume/src/cocoa/freetype/src/cff/cf2types.h rename to desmume/src/frontend/cocoa/freetype/src/cff/cf2types.h diff --git a/desmume/src/cocoa/freetype/src/cff/cff.c b/desmume/src/frontend/cocoa/freetype/src/cff/cff.c similarity index 100% rename from desmume/src/cocoa/freetype/src/cff/cff.c rename to desmume/src/frontend/cocoa/freetype/src/cff/cff.c diff --git a/desmume/src/cocoa/freetype/src/cff/cffcmap.c b/desmume/src/frontend/cocoa/freetype/src/cff/cffcmap.c similarity index 100% rename from desmume/src/cocoa/freetype/src/cff/cffcmap.c rename to desmume/src/frontend/cocoa/freetype/src/cff/cffcmap.c diff --git a/desmume/src/cocoa/freetype/src/cff/cffcmap.h b/desmume/src/frontend/cocoa/freetype/src/cff/cffcmap.h similarity index 100% rename from desmume/src/cocoa/freetype/src/cff/cffcmap.h rename to desmume/src/frontend/cocoa/freetype/src/cff/cffcmap.h diff --git a/desmume/src/cocoa/freetype/src/cff/cffdrivr.c b/desmume/src/frontend/cocoa/freetype/src/cff/cffdrivr.c similarity index 100% rename from desmume/src/cocoa/freetype/src/cff/cffdrivr.c rename to desmume/src/frontend/cocoa/freetype/src/cff/cffdrivr.c diff --git a/desmume/src/cocoa/freetype/src/cff/cffdrivr.h b/desmume/src/frontend/cocoa/freetype/src/cff/cffdrivr.h similarity index 100% rename from desmume/src/cocoa/freetype/src/cff/cffdrivr.h rename to desmume/src/frontend/cocoa/freetype/src/cff/cffdrivr.h diff --git a/desmume/src/cocoa/freetype/src/cff/cfferrs.h b/desmume/src/frontend/cocoa/freetype/src/cff/cfferrs.h similarity index 100% rename from desmume/src/cocoa/freetype/src/cff/cfferrs.h rename to desmume/src/frontend/cocoa/freetype/src/cff/cfferrs.h diff --git a/desmume/src/cocoa/freetype/src/cff/cffgload.c b/desmume/src/frontend/cocoa/freetype/src/cff/cffgload.c similarity index 100% rename from desmume/src/cocoa/freetype/src/cff/cffgload.c rename to desmume/src/frontend/cocoa/freetype/src/cff/cffgload.c diff --git a/desmume/src/cocoa/freetype/src/cff/cffgload.h b/desmume/src/frontend/cocoa/freetype/src/cff/cffgload.h similarity index 100% rename from desmume/src/cocoa/freetype/src/cff/cffgload.h rename to desmume/src/frontend/cocoa/freetype/src/cff/cffgload.h diff --git a/desmume/src/cocoa/freetype/src/cff/cffload.c b/desmume/src/frontend/cocoa/freetype/src/cff/cffload.c similarity index 100% rename from desmume/src/cocoa/freetype/src/cff/cffload.c rename to desmume/src/frontend/cocoa/freetype/src/cff/cffload.c diff --git a/desmume/src/cocoa/freetype/src/cff/cffload.h b/desmume/src/frontend/cocoa/freetype/src/cff/cffload.h similarity index 100% rename from desmume/src/cocoa/freetype/src/cff/cffload.h rename to desmume/src/frontend/cocoa/freetype/src/cff/cffload.h diff --git a/desmume/src/cocoa/freetype/src/cff/cffobjs.c b/desmume/src/frontend/cocoa/freetype/src/cff/cffobjs.c similarity index 100% rename from desmume/src/cocoa/freetype/src/cff/cffobjs.c rename to desmume/src/frontend/cocoa/freetype/src/cff/cffobjs.c diff --git a/desmume/src/cocoa/freetype/src/cff/cffobjs.h b/desmume/src/frontend/cocoa/freetype/src/cff/cffobjs.h similarity index 100% rename from desmume/src/cocoa/freetype/src/cff/cffobjs.h rename to desmume/src/frontend/cocoa/freetype/src/cff/cffobjs.h diff --git a/desmume/src/cocoa/freetype/src/cff/cffparse.c b/desmume/src/frontend/cocoa/freetype/src/cff/cffparse.c similarity index 100% rename from desmume/src/cocoa/freetype/src/cff/cffparse.c rename to desmume/src/frontend/cocoa/freetype/src/cff/cffparse.c diff --git a/desmume/src/cocoa/freetype/src/cff/cffparse.h b/desmume/src/frontend/cocoa/freetype/src/cff/cffparse.h similarity index 100% rename from desmume/src/cocoa/freetype/src/cff/cffparse.h rename to desmume/src/frontend/cocoa/freetype/src/cff/cffparse.h diff --git a/desmume/src/cocoa/freetype/src/cff/cffpic.c b/desmume/src/frontend/cocoa/freetype/src/cff/cffpic.c similarity index 100% rename from desmume/src/cocoa/freetype/src/cff/cffpic.c rename to desmume/src/frontend/cocoa/freetype/src/cff/cffpic.c diff --git a/desmume/src/cocoa/freetype/src/cff/cffpic.h b/desmume/src/frontend/cocoa/freetype/src/cff/cffpic.h similarity index 100% rename from desmume/src/cocoa/freetype/src/cff/cffpic.h rename to desmume/src/frontend/cocoa/freetype/src/cff/cffpic.h diff --git a/desmume/src/cocoa/freetype/src/cff/cfftoken.h b/desmume/src/frontend/cocoa/freetype/src/cff/cfftoken.h similarity index 100% rename from desmume/src/cocoa/freetype/src/cff/cfftoken.h rename to desmume/src/frontend/cocoa/freetype/src/cff/cfftoken.h diff --git a/desmume/src/cocoa/freetype/src/cff/cfftypes.h b/desmume/src/frontend/cocoa/freetype/src/cff/cfftypes.h similarity index 100% rename from desmume/src/cocoa/freetype/src/cff/cfftypes.h rename to desmume/src/frontend/cocoa/freetype/src/cff/cfftypes.h diff --git a/desmume/src/cocoa/freetype/src/cid/ciderrs.h b/desmume/src/frontend/cocoa/freetype/src/cid/ciderrs.h similarity index 100% rename from desmume/src/cocoa/freetype/src/cid/ciderrs.h rename to desmume/src/frontend/cocoa/freetype/src/cid/ciderrs.h diff --git a/desmume/src/cocoa/freetype/src/cid/cidgload.c b/desmume/src/frontend/cocoa/freetype/src/cid/cidgload.c similarity index 100% rename from desmume/src/cocoa/freetype/src/cid/cidgload.c rename to desmume/src/frontend/cocoa/freetype/src/cid/cidgload.c diff --git a/desmume/src/cocoa/freetype/src/cid/cidgload.h b/desmume/src/frontend/cocoa/freetype/src/cid/cidgload.h similarity index 100% rename from desmume/src/cocoa/freetype/src/cid/cidgload.h rename to desmume/src/frontend/cocoa/freetype/src/cid/cidgload.h diff --git a/desmume/src/cocoa/freetype/src/cid/cidload.c b/desmume/src/frontend/cocoa/freetype/src/cid/cidload.c similarity index 100% rename from desmume/src/cocoa/freetype/src/cid/cidload.c rename to desmume/src/frontend/cocoa/freetype/src/cid/cidload.c diff --git a/desmume/src/cocoa/freetype/src/cid/cidload.h b/desmume/src/frontend/cocoa/freetype/src/cid/cidload.h similarity index 100% rename from desmume/src/cocoa/freetype/src/cid/cidload.h rename to desmume/src/frontend/cocoa/freetype/src/cid/cidload.h diff --git a/desmume/src/cocoa/freetype/src/cid/cidobjs.c b/desmume/src/frontend/cocoa/freetype/src/cid/cidobjs.c similarity index 100% rename from desmume/src/cocoa/freetype/src/cid/cidobjs.c rename to desmume/src/frontend/cocoa/freetype/src/cid/cidobjs.c diff --git a/desmume/src/cocoa/freetype/src/cid/cidobjs.h b/desmume/src/frontend/cocoa/freetype/src/cid/cidobjs.h similarity index 100% rename from desmume/src/cocoa/freetype/src/cid/cidobjs.h rename to desmume/src/frontend/cocoa/freetype/src/cid/cidobjs.h diff --git a/desmume/src/cocoa/freetype/src/cid/cidparse.c b/desmume/src/frontend/cocoa/freetype/src/cid/cidparse.c similarity index 100% rename from desmume/src/cocoa/freetype/src/cid/cidparse.c rename to desmume/src/frontend/cocoa/freetype/src/cid/cidparse.c diff --git a/desmume/src/cocoa/freetype/src/cid/cidparse.h b/desmume/src/frontend/cocoa/freetype/src/cid/cidparse.h similarity index 100% rename from desmume/src/cocoa/freetype/src/cid/cidparse.h rename to desmume/src/frontend/cocoa/freetype/src/cid/cidparse.h diff --git a/desmume/src/cocoa/freetype/src/cid/cidriver.c b/desmume/src/frontend/cocoa/freetype/src/cid/cidriver.c similarity index 100% rename from desmume/src/cocoa/freetype/src/cid/cidriver.c rename to desmume/src/frontend/cocoa/freetype/src/cid/cidriver.c diff --git a/desmume/src/cocoa/freetype/src/cid/cidriver.h b/desmume/src/frontend/cocoa/freetype/src/cid/cidriver.h similarity index 100% rename from desmume/src/cocoa/freetype/src/cid/cidriver.h rename to desmume/src/frontend/cocoa/freetype/src/cid/cidriver.h diff --git a/desmume/src/cocoa/freetype/src/cid/cidtoken.h b/desmume/src/frontend/cocoa/freetype/src/cid/cidtoken.h similarity index 100% rename from desmume/src/cocoa/freetype/src/cid/cidtoken.h rename to desmume/src/frontend/cocoa/freetype/src/cid/cidtoken.h diff --git a/desmume/src/cocoa/freetype/src/cid/type1cid.c b/desmume/src/frontend/cocoa/freetype/src/cid/type1cid.c similarity index 100% rename from desmume/src/cocoa/freetype/src/cid/type1cid.c rename to desmume/src/frontend/cocoa/freetype/src/cid/type1cid.c diff --git a/desmume/src/cocoa/freetype/src/psaux/afmparse.c b/desmume/src/frontend/cocoa/freetype/src/psaux/afmparse.c similarity index 100% rename from desmume/src/cocoa/freetype/src/psaux/afmparse.c rename to desmume/src/frontend/cocoa/freetype/src/psaux/afmparse.c diff --git a/desmume/src/cocoa/freetype/src/psaux/afmparse.h b/desmume/src/frontend/cocoa/freetype/src/psaux/afmparse.h similarity index 100% rename from desmume/src/cocoa/freetype/src/psaux/afmparse.h rename to desmume/src/frontend/cocoa/freetype/src/psaux/afmparse.h diff --git a/desmume/src/cocoa/freetype/src/psaux/psaux.c b/desmume/src/frontend/cocoa/freetype/src/psaux/psaux.c similarity index 100% rename from desmume/src/cocoa/freetype/src/psaux/psaux.c rename to desmume/src/frontend/cocoa/freetype/src/psaux/psaux.c diff --git a/desmume/src/cocoa/freetype/src/psaux/psauxerr.h b/desmume/src/frontend/cocoa/freetype/src/psaux/psauxerr.h similarity index 100% rename from desmume/src/cocoa/freetype/src/psaux/psauxerr.h rename to desmume/src/frontend/cocoa/freetype/src/psaux/psauxerr.h diff --git a/desmume/src/cocoa/freetype/src/psaux/psauxmod.c b/desmume/src/frontend/cocoa/freetype/src/psaux/psauxmod.c similarity index 100% rename from desmume/src/cocoa/freetype/src/psaux/psauxmod.c rename to desmume/src/frontend/cocoa/freetype/src/psaux/psauxmod.c diff --git a/desmume/src/cocoa/freetype/src/psaux/psauxmod.h b/desmume/src/frontend/cocoa/freetype/src/psaux/psauxmod.h similarity index 100% rename from desmume/src/cocoa/freetype/src/psaux/psauxmod.h rename to desmume/src/frontend/cocoa/freetype/src/psaux/psauxmod.h diff --git a/desmume/src/cocoa/freetype/src/psaux/psconv.c b/desmume/src/frontend/cocoa/freetype/src/psaux/psconv.c similarity index 100% rename from desmume/src/cocoa/freetype/src/psaux/psconv.c rename to desmume/src/frontend/cocoa/freetype/src/psaux/psconv.c diff --git a/desmume/src/cocoa/freetype/src/psaux/psconv.h b/desmume/src/frontend/cocoa/freetype/src/psaux/psconv.h similarity index 100% rename from desmume/src/cocoa/freetype/src/psaux/psconv.h rename to desmume/src/frontend/cocoa/freetype/src/psaux/psconv.h diff --git a/desmume/src/cocoa/freetype/src/psaux/psobjs.c b/desmume/src/frontend/cocoa/freetype/src/psaux/psobjs.c similarity index 100% rename from desmume/src/cocoa/freetype/src/psaux/psobjs.c rename to desmume/src/frontend/cocoa/freetype/src/psaux/psobjs.c diff --git a/desmume/src/cocoa/freetype/src/psaux/psobjs.h b/desmume/src/frontend/cocoa/freetype/src/psaux/psobjs.h similarity index 100% rename from desmume/src/cocoa/freetype/src/psaux/psobjs.h rename to desmume/src/frontend/cocoa/freetype/src/psaux/psobjs.h diff --git a/desmume/src/cocoa/freetype/src/psaux/t1cmap.c b/desmume/src/frontend/cocoa/freetype/src/psaux/t1cmap.c similarity index 100% rename from desmume/src/cocoa/freetype/src/psaux/t1cmap.c rename to desmume/src/frontend/cocoa/freetype/src/psaux/t1cmap.c diff --git a/desmume/src/cocoa/freetype/src/psaux/t1cmap.h b/desmume/src/frontend/cocoa/freetype/src/psaux/t1cmap.h similarity index 100% rename from desmume/src/cocoa/freetype/src/psaux/t1cmap.h rename to desmume/src/frontend/cocoa/freetype/src/psaux/t1cmap.h diff --git a/desmume/src/cocoa/freetype/src/psaux/t1decode.c b/desmume/src/frontend/cocoa/freetype/src/psaux/t1decode.c similarity index 100% rename from desmume/src/cocoa/freetype/src/psaux/t1decode.c rename to desmume/src/frontend/cocoa/freetype/src/psaux/t1decode.c diff --git a/desmume/src/cocoa/freetype/src/psaux/t1decode.h b/desmume/src/frontend/cocoa/freetype/src/psaux/t1decode.h similarity index 100% rename from desmume/src/cocoa/freetype/src/psaux/t1decode.h rename to desmume/src/frontend/cocoa/freetype/src/psaux/t1decode.h diff --git a/desmume/src/cocoa/freetype/src/pshinter/pshalgo.c b/desmume/src/frontend/cocoa/freetype/src/pshinter/pshalgo.c similarity index 100% rename from desmume/src/cocoa/freetype/src/pshinter/pshalgo.c rename to desmume/src/frontend/cocoa/freetype/src/pshinter/pshalgo.c diff --git a/desmume/src/cocoa/freetype/src/pshinter/pshalgo.h b/desmume/src/frontend/cocoa/freetype/src/pshinter/pshalgo.h similarity index 100% rename from desmume/src/cocoa/freetype/src/pshinter/pshalgo.h rename to desmume/src/frontend/cocoa/freetype/src/pshinter/pshalgo.h diff --git a/desmume/src/cocoa/freetype/src/pshinter/pshglob.c b/desmume/src/frontend/cocoa/freetype/src/pshinter/pshglob.c similarity index 100% rename from desmume/src/cocoa/freetype/src/pshinter/pshglob.c rename to desmume/src/frontend/cocoa/freetype/src/pshinter/pshglob.c diff --git a/desmume/src/cocoa/freetype/src/pshinter/pshglob.h b/desmume/src/frontend/cocoa/freetype/src/pshinter/pshglob.h similarity index 100% rename from desmume/src/cocoa/freetype/src/pshinter/pshglob.h rename to desmume/src/frontend/cocoa/freetype/src/pshinter/pshglob.h diff --git a/desmume/src/cocoa/freetype/src/pshinter/pshinter.c b/desmume/src/frontend/cocoa/freetype/src/pshinter/pshinter.c similarity index 100% rename from desmume/src/cocoa/freetype/src/pshinter/pshinter.c rename to desmume/src/frontend/cocoa/freetype/src/pshinter/pshinter.c diff --git a/desmume/src/cocoa/freetype/src/pshinter/pshmod.c b/desmume/src/frontend/cocoa/freetype/src/pshinter/pshmod.c similarity index 100% rename from desmume/src/cocoa/freetype/src/pshinter/pshmod.c rename to desmume/src/frontend/cocoa/freetype/src/pshinter/pshmod.c diff --git a/desmume/src/cocoa/freetype/src/pshinter/pshmod.h b/desmume/src/frontend/cocoa/freetype/src/pshinter/pshmod.h similarity index 100% rename from desmume/src/cocoa/freetype/src/pshinter/pshmod.h rename to desmume/src/frontend/cocoa/freetype/src/pshinter/pshmod.h diff --git a/desmume/src/cocoa/freetype/src/pshinter/pshnterr.h b/desmume/src/frontend/cocoa/freetype/src/pshinter/pshnterr.h similarity index 100% rename from desmume/src/cocoa/freetype/src/pshinter/pshnterr.h rename to desmume/src/frontend/cocoa/freetype/src/pshinter/pshnterr.h diff --git a/desmume/src/cocoa/freetype/src/pshinter/pshpic.c b/desmume/src/frontend/cocoa/freetype/src/pshinter/pshpic.c similarity index 100% rename from desmume/src/cocoa/freetype/src/pshinter/pshpic.c rename to desmume/src/frontend/cocoa/freetype/src/pshinter/pshpic.c diff --git a/desmume/src/cocoa/freetype/src/pshinter/pshpic.h b/desmume/src/frontend/cocoa/freetype/src/pshinter/pshpic.h similarity index 100% rename from desmume/src/cocoa/freetype/src/pshinter/pshpic.h rename to desmume/src/frontend/cocoa/freetype/src/pshinter/pshpic.h diff --git a/desmume/src/cocoa/freetype/src/pshinter/pshrec.c b/desmume/src/frontend/cocoa/freetype/src/pshinter/pshrec.c similarity index 100% rename from desmume/src/cocoa/freetype/src/pshinter/pshrec.c rename to desmume/src/frontend/cocoa/freetype/src/pshinter/pshrec.c diff --git a/desmume/src/cocoa/freetype/src/pshinter/pshrec.h b/desmume/src/frontend/cocoa/freetype/src/pshinter/pshrec.h similarity index 100% rename from desmume/src/cocoa/freetype/src/pshinter/pshrec.h rename to desmume/src/frontend/cocoa/freetype/src/pshinter/pshrec.h diff --git a/desmume/src/cocoa/freetype/src/psnames/psmodule.c b/desmume/src/frontend/cocoa/freetype/src/psnames/psmodule.c similarity index 100% rename from desmume/src/cocoa/freetype/src/psnames/psmodule.c rename to desmume/src/frontend/cocoa/freetype/src/psnames/psmodule.c diff --git a/desmume/src/cocoa/freetype/src/psnames/psmodule.h b/desmume/src/frontend/cocoa/freetype/src/psnames/psmodule.h similarity index 100% rename from desmume/src/cocoa/freetype/src/psnames/psmodule.h rename to desmume/src/frontend/cocoa/freetype/src/psnames/psmodule.h diff --git a/desmume/src/cocoa/freetype/src/psnames/psnamerr.h b/desmume/src/frontend/cocoa/freetype/src/psnames/psnamerr.h similarity index 100% rename from desmume/src/cocoa/freetype/src/psnames/psnamerr.h rename to desmume/src/frontend/cocoa/freetype/src/psnames/psnamerr.h diff --git a/desmume/src/cocoa/freetype/src/psnames/psnames.c b/desmume/src/frontend/cocoa/freetype/src/psnames/psnames.c similarity index 100% rename from desmume/src/cocoa/freetype/src/psnames/psnames.c rename to desmume/src/frontend/cocoa/freetype/src/psnames/psnames.c diff --git a/desmume/src/cocoa/freetype/src/psnames/pspic.c b/desmume/src/frontend/cocoa/freetype/src/psnames/pspic.c similarity index 100% rename from desmume/src/cocoa/freetype/src/psnames/pspic.c rename to desmume/src/frontend/cocoa/freetype/src/psnames/pspic.c diff --git a/desmume/src/cocoa/freetype/src/psnames/pspic.h b/desmume/src/frontend/cocoa/freetype/src/psnames/pspic.h similarity index 100% rename from desmume/src/cocoa/freetype/src/psnames/pspic.h rename to desmume/src/frontend/cocoa/freetype/src/psnames/pspic.h diff --git a/desmume/src/cocoa/freetype/src/psnames/pstables.h b/desmume/src/frontend/cocoa/freetype/src/psnames/pstables.h similarity index 100% rename from desmume/src/cocoa/freetype/src/psnames/pstables.h rename to desmume/src/frontend/cocoa/freetype/src/psnames/pstables.h diff --git a/desmume/src/cocoa/freetype/src/sfnt/pngshim.c b/desmume/src/frontend/cocoa/freetype/src/sfnt/pngshim.c similarity index 100% rename from desmume/src/cocoa/freetype/src/sfnt/pngshim.c rename to desmume/src/frontend/cocoa/freetype/src/sfnt/pngshim.c diff --git a/desmume/src/cocoa/freetype/src/sfnt/pngshim.h b/desmume/src/frontend/cocoa/freetype/src/sfnt/pngshim.h similarity index 100% rename from desmume/src/cocoa/freetype/src/sfnt/pngshim.h rename to desmume/src/frontend/cocoa/freetype/src/sfnt/pngshim.h diff --git a/desmume/src/cocoa/freetype/src/sfnt/sfdriver.c b/desmume/src/frontend/cocoa/freetype/src/sfnt/sfdriver.c similarity index 100% rename from desmume/src/cocoa/freetype/src/sfnt/sfdriver.c rename to desmume/src/frontend/cocoa/freetype/src/sfnt/sfdriver.c diff --git a/desmume/src/cocoa/freetype/src/sfnt/sfdriver.h b/desmume/src/frontend/cocoa/freetype/src/sfnt/sfdriver.h similarity index 100% rename from desmume/src/cocoa/freetype/src/sfnt/sfdriver.h rename to desmume/src/frontend/cocoa/freetype/src/sfnt/sfdriver.h diff --git a/desmume/src/cocoa/freetype/src/sfnt/sferrors.h b/desmume/src/frontend/cocoa/freetype/src/sfnt/sferrors.h similarity index 100% rename from desmume/src/cocoa/freetype/src/sfnt/sferrors.h rename to desmume/src/frontend/cocoa/freetype/src/sfnt/sferrors.h diff --git a/desmume/src/cocoa/freetype/src/sfnt/sfnt.c b/desmume/src/frontend/cocoa/freetype/src/sfnt/sfnt.c similarity index 100% rename from desmume/src/cocoa/freetype/src/sfnt/sfnt.c rename to desmume/src/frontend/cocoa/freetype/src/sfnt/sfnt.c diff --git a/desmume/src/cocoa/freetype/src/sfnt/sfntpic.c b/desmume/src/frontend/cocoa/freetype/src/sfnt/sfntpic.c similarity index 100% rename from desmume/src/cocoa/freetype/src/sfnt/sfntpic.c rename to desmume/src/frontend/cocoa/freetype/src/sfnt/sfntpic.c diff --git a/desmume/src/cocoa/freetype/src/sfnt/sfntpic.h b/desmume/src/frontend/cocoa/freetype/src/sfnt/sfntpic.h similarity index 100% rename from desmume/src/cocoa/freetype/src/sfnt/sfntpic.h rename to desmume/src/frontend/cocoa/freetype/src/sfnt/sfntpic.h diff --git a/desmume/src/cocoa/freetype/src/sfnt/sfobjs.c b/desmume/src/frontend/cocoa/freetype/src/sfnt/sfobjs.c similarity index 100% rename from desmume/src/cocoa/freetype/src/sfnt/sfobjs.c rename to desmume/src/frontend/cocoa/freetype/src/sfnt/sfobjs.c diff --git a/desmume/src/cocoa/freetype/src/sfnt/sfobjs.h b/desmume/src/frontend/cocoa/freetype/src/sfnt/sfobjs.h similarity index 100% rename from desmume/src/cocoa/freetype/src/sfnt/sfobjs.h rename to desmume/src/frontend/cocoa/freetype/src/sfnt/sfobjs.h diff --git a/desmume/src/cocoa/freetype/src/sfnt/ttbdf.c b/desmume/src/frontend/cocoa/freetype/src/sfnt/ttbdf.c similarity index 100% rename from desmume/src/cocoa/freetype/src/sfnt/ttbdf.c rename to desmume/src/frontend/cocoa/freetype/src/sfnt/ttbdf.c diff --git a/desmume/src/cocoa/freetype/src/sfnt/ttbdf.h b/desmume/src/frontend/cocoa/freetype/src/sfnt/ttbdf.h similarity index 100% rename from desmume/src/cocoa/freetype/src/sfnt/ttbdf.h rename to desmume/src/frontend/cocoa/freetype/src/sfnt/ttbdf.h diff --git a/desmume/src/cocoa/freetype/src/sfnt/ttcmap.c b/desmume/src/frontend/cocoa/freetype/src/sfnt/ttcmap.c similarity index 100% rename from desmume/src/cocoa/freetype/src/sfnt/ttcmap.c rename to desmume/src/frontend/cocoa/freetype/src/sfnt/ttcmap.c diff --git a/desmume/src/cocoa/freetype/src/sfnt/ttcmap.h b/desmume/src/frontend/cocoa/freetype/src/sfnt/ttcmap.h similarity index 100% rename from desmume/src/cocoa/freetype/src/sfnt/ttcmap.h rename to desmume/src/frontend/cocoa/freetype/src/sfnt/ttcmap.h diff --git a/desmume/src/cocoa/freetype/src/sfnt/ttcmapc.h b/desmume/src/frontend/cocoa/freetype/src/sfnt/ttcmapc.h similarity index 100% rename from desmume/src/cocoa/freetype/src/sfnt/ttcmapc.h rename to desmume/src/frontend/cocoa/freetype/src/sfnt/ttcmapc.h diff --git a/desmume/src/cocoa/freetype/src/sfnt/ttkern.c b/desmume/src/frontend/cocoa/freetype/src/sfnt/ttkern.c similarity index 100% rename from desmume/src/cocoa/freetype/src/sfnt/ttkern.c rename to desmume/src/frontend/cocoa/freetype/src/sfnt/ttkern.c diff --git a/desmume/src/cocoa/freetype/src/sfnt/ttkern.h b/desmume/src/frontend/cocoa/freetype/src/sfnt/ttkern.h similarity index 100% rename from desmume/src/cocoa/freetype/src/sfnt/ttkern.h rename to desmume/src/frontend/cocoa/freetype/src/sfnt/ttkern.h diff --git a/desmume/src/cocoa/freetype/src/sfnt/ttload.c b/desmume/src/frontend/cocoa/freetype/src/sfnt/ttload.c similarity index 100% rename from desmume/src/cocoa/freetype/src/sfnt/ttload.c rename to desmume/src/frontend/cocoa/freetype/src/sfnt/ttload.c diff --git a/desmume/src/cocoa/freetype/src/sfnt/ttload.h b/desmume/src/frontend/cocoa/freetype/src/sfnt/ttload.h similarity index 100% rename from desmume/src/cocoa/freetype/src/sfnt/ttload.h rename to desmume/src/frontend/cocoa/freetype/src/sfnt/ttload.h diff --git a/desmume/src/cocoa/freetype/src/sfnt/ttmtx.c b/desmume/src/frontend/cocoa/freetype/src/sfnt/ttmtx.c similarity index 100% rename from desmume/src/cocoa/freetype/src/sfnt/ttmtx.c rename to desmume/src/frontend/cocoa/freetype/src/sfnt/ttmtx.c diff --git a/desmume/src/cocoa/freetype/src/sfnt/ttmtx.h b/desmume/src/frontend/cocoa/freetype/src/sfnt/ttmtx.h similarity index 100% rename from desmume/src/cocoa/freetype/src/sfnt/ttmtx.h rename to desmume/src/frontend/cocoa/freetype/src/sfnt/ttmtx.h diff --git a/desmume/src/cocoa/freetype/src/sfnt/ttpost.c b/desmume/src/frontend/cocoa/freetype/src/sfnt/ttpost.c similarity index 100% rename from desmume/src/cocoa/freetype/src/sfnt/ttpost.c rename to desmume/src/frontend/cocoa/freetype/src/sfnt/ttpost.c diff --git a/desmume/src/cocoa/freetype/src/sfnt/ttpost.h b/desmume/src/frontend/cocoa/freetype/src/sfnt/ttpost.h similarity index 100% rename from desmume/src/cocoa/freetype/src/sfnt/ttpost.h rename to desmume/src/frontend/cocoa/freetype/src/sfnt/ttpost.h diff --git a/desmume/src/cocoa/freetype/src/sfnt/ttsbit.c b/desmume/src/frontend/cocoa/freetype/src/sfnt/ttsbit.c similarity index 100% rename from desmume/src/cocoa/freetype/src/sfnt/ttsbit.c rename to desmume/src/frontend/cocoa/freetype/src/sfnt/ttsbit.c diff --git a/desmume/src/cocoa/freetype/src/sfnt/ttsbit.h b/desmume/src/frontend/cocoa/freetype/src/sfnt/ttsbit.h similarity index 100% rename from desmume/src/cocoa/freetype/src/sfnt/ttsbit.h rename to desmume/src/frontend/cocoa/freetype/src/sfnt/ttsbit.h diff --git a/desmume/src/cocoa/freetype/src/smooth/ftgrays.c b/desmume/src/frontend/cocoa/freetype/src/smooth/ftgrays.c similarity index 100% rename from desmume/src/cocoa/freetype/src/smooth/ftgrays.c rename to desmume/src/frontend/cocoa/freetype/src/smooth/ftgrays.c diff --git a/desmume/src/cocoa/freetype/src/smooth/ftgrays.h b/desmume/src/frontend/cocoa/freetype/src/smooth/ftgrays.h similarity index 100% rename from desmume/src/cocoa/freetype/src/smooth/ftgrays.h rename to desmume/src/frontend/cocoa/freetype/src/smooth/ftgrays.h diff --git a/desmume/src/cocoa/freetype/src/smooth/ftsmerrs.h b/desmume/src/frontend/cocoa/freetype/src/smooth/ftsmerrs.h similarity index 100% rename from desmume/src/cocoa/freetype/src/smooth/ftsmerrs.h rename to desmume/src/frontend/cocoa/freetype/src/smooth/ftsmerrs.h diff --git a/desmume/src/cocoa/freetype/src/smooth/ftsmooth.c b/desmume/src/frontend/cocoa/freetype/src/smooth/ftsmooth.c similarity index 100% rename from desmume/src/cocoa/freetype/src/smooth/ftsmooth.c rename to desmume/src/frontend/cocoa/freetype/src/smooth/ftsmooth.c diff --git a/desmume/src/cocoa/freetype/src/smooth/ftsmooth.h b/desmume/src/frontend/cocoa/freetype/src/smooth/ftsmooth.h similarity index 100% rename from desmume/src/cocoa/freetype/src/smooth/ftsmooth.h rename to desmume/src/frontend/cocoa/freetype/src/smooth/ftsmooth.h diff --git a/desmume/src/cocoa/freetype/src/smooth/ftspic.c b/desmume/src/frontend/cocoa/freetype/src/smooth/ftspic.c similarity index 100% rename from desmume/src/cocoa/freetype/src/smooth/ftspic.c rename to desmume/src/frontend/cocoa/freetype/src/smooth/ftspic.c diff --git a/desmume/src/cocoa/freetype/src/smooth/ftspic.h b/desmume/src/frontend/cocoa/freetype/src/smooth/ftspic.h similarity index 100% rename from desmume/src/cocoa/freetype/src/smooth/ftspic.h rename to desmume/src/frontend/cocoa/freetype/src/smooth/ftspic.h diff --git a/desmume/src/cocoa/freetype/src/smooth/smooth.c b/desmume/src/frontend/cocoa/freetype/src/smooth/smooth.c similarity index 100% rename from desmume/src/cocoa/freetype/src/smooth/smooth.c rename to desmume/src/frontend/cocoa/freetype/src/smooth/smooth.c diff --git a/desmume/src/cocoa/freetype/src/truetype/truetype.c b/desmume/src/frontend/cocoa/freetype/src/truetype/truetype.c similarity index 100% rename from desmume/src/cocoa/freetype/src/truetype/truetype.c rename to desmume/src/frontend/cocoa/freetype/src/truetype/truetype.c diff --git a/desmume/src/cocoa/freetype/src/truetype/ttdriver.c b/desmume/src/frontend/cocoa/freetype/src/truetype/ttdriver.c similarity index 100% rename from desmume/src/cocoa/freetype/src/truetype/ttdriver.c rename to desmume/src/frontend/cocoa/freetype/src/truetype/ttdriver.c diff --git a/desmume/src/cocoa/freetype/src/truetype/ttdriver.h b/desmume/src/frontend/cocoa/freetype/src/truetype/ttdriver.h similarity index 100% rename from desmume/src/cocoa/freetype/src/truetype/ttdriver.h rename to desmume/src/frontend/cocoa/freetype/src/truetype/ttdriver.h diff --git a/desmume/src/cocoa/freetype/src/truetype/tterrors.h b/desmume/src/frontend/cocoa/freetype/src/truetype/tterrors.h similarity index 100% rename from desmume/src/cocoa/freetype/src/truetype/tterrors.h rename to desmume/src/frontend/cocoa/freetype/src/truetype/tterrors.h diff --git a/desmume/src/cocoa/freetype/src/truetype/ttgload.c b/desmume/src/frontend/cocoa/freetype/src/truetype/ttgload.c similarity index 100% rename from desmume/src/cocoa/freetype/src/truetype/ttgload.c rename to desmume/src/frontend/cocoa/freetype/src/truetype/ttgload.c diff --git a/desmume/src/cocoa/freetype/src/truetype/ttgload.h b/desmume/src/frontend/cocoa/freetype/src/truetype/ttgload.h similarity index 100% rename from desmume/src/cocoa/freetype/src/truetype/ttgload.h rename to desmume/src/frontend/cocoa/freetype/src/truetype/ttgload.h diff --git a/desmume/src/cocoa/freetype/src/truetype/ttgxvar.c b/desmume/src/frontend/cocoa/freetype/src/truetype/ttgxvar.c similarity index 100% rename from desmume/src/cocoa/freetype/src/truetype/ttgxvar.c rename to desmume/src/frontend/cocoa/freetype/src/truetype/ttgxvar.c diff --git a/desmume/src/cocoa/freetype/src/truetype/ttgxvar.h b/desmume/src/frontend/cocoa/freetype/src/truetype/ttgxvar.h similarity index 100% rename from desmume/src/cocoa/freetype/src/truetype/ttgxvar.h rename to desmume/src/frontend/cocoa/freetype/src/truetype/ttgxvar.h diff --git a/desmume/src/cocoa/freetype/src/truetype/ttinterp.c b/desmume/src/frontend/cocoa/freetype/src/truetype/ttinterp.c similarity index 100% rename from desmume/src/cocoa/freetype/src/truetype/ttinterp.c rename to desmume/src/frontend/cocoa/freetype/src/truetype/ttinterp.c diff --git a/desmume/src/cocoa/freetype/src/truetype/ttinterp.h b/desmume/src/frontend/cocoa/freetype/src/truetype/ttinterp.h similarity index 100% rename from desmume/src/cocoa/freetype/src/truetype/ttinterp.h rename to desmume/src/frontend/cocoa/freetype/src/truetype/ttinterp.h diff --git a/desmume/src/cocoa/freetype/src/truetype/ttobjs.c b/desmume/src/frontend/cocoa/freetype/src/truetype/ttobjs.c similarity index 100% rename from desmume/src/cocoa/freetype/src/truetype/ttobjs.c rename to desmume/src/frontend/cocoa/freetype/src/truetype/ttobjs.c diff --git a/desmume/src/cocoa/freetype/src/truetype/ttobjs.h b/desmume/src/frontend/cocoa/freetype/src/truetype/ttobjs.h similarity index 100% rename from desmume/src/cocoa/freetype/src/truetype/ttobjs.h rename to desmume/src/frontend/cocoa/freetype/src/truetype/ttobjs.h diff --git a/desmume/src/cocoa/freetype/src/truetype/ttpic.c b/desmume/src/frontend/cocoa/freetype/src/truetype/ttpic.c similarity index 100% rename from desmume/src/cocoa/freetype/src/truetype/ttpic.c rename to desmume/src/frontend/cocoa/freetype/src/truetype/ttpic.c diff --git a/desmume/src/cocoa/freetype/src/truetype/ttpic.h b/desmume/src/frontend/cocoa/freetype/src/truetype/ttpic.h similarity index 100% rename from desmume/src/cocoa/freetype/src/truetype/ttpic.h rename to desmume/src/frontend/cocoa/freetype/src/truetype/ttpic.h diff --git a/desmume/src/cocoa/freetype/src/truetype/ttpload.c b/desmume/src/frontend/cocoa/freetype/src/truetype/ttpload.c similarity index 100% rename from desmume/src/cocoa/freetype/src/truetype/ttpload.c rename to desmume/src/frontend/cocoa/freetype/src/truetype/ttpload.c diff --git a/desmume/src/cocoa/freetype/src/truetype/ttpload.h b/desmume/src/frontend/cocoa/freetype/src/truetype/ttpload.h similarity index 100% rename from desmume/src/cocoa/freetype/src/truetype/ttpload.h rename to desmume/src/frontend/cocoa/freetype/src/truetype/ttpload.h diff --git a/desmume/src/cocoa/freetype/src/truetype/ttsubpix.c b/desmume/src/frontend/cocoa/freetype/src/truetype/ttsubpix.c similarity index 100% rename from desmume/src/cocoa/freetype/src/truetype/ttsubpix.c rename to desmume/src/frontend/cocoa/freetype/src/truetype/ttsubpix.c diff --git a/desmume/src/cocoa/freetype/src/truetype/ttsubpix.h b/desmume/src/frontend/cocoa/freetype/src/truetype/ttsubpix.h similarity index 100% rename from desmume/src/cocoa/freetype/src/truetype/ttsubpix.h rename to desmume/src/frontend/cocoa/freetype/src/truetype/ttsubpix.h diff --git a/desmume/src/cocoa/freetype/src/type1/t1afm.c b/desmume/src/frontend/cocoa/freetype/src/type1/t1afm.c similarity index 100% rename from desmume/src/cocoa/freetype/src/type1/t1afm.c rename to desmume/src/frontend/cocoa/freetype/src/type1/t1afm.c diff --git a/desmume/src/cocoa/freetype/src/type1/t1afm.h b/desmume/src/frontend/cocoa/freetype/src/type1/t1afm.h similarity index 100% rename from desmume/src/cocoa/freetype/src/type1/t1afm.h rename to desmume/src/frontend/cocoa/freetype/src/type1/t1afm.h diff --git a/desmume/src/cocoa/freetype/src/type1/t1driver.c b/desmume/src/frontend/cocoa/freetype/src/type1/t1driver.c similarity index 100% rename from desmume/src/cocoa/freetype/src/type1/t1driver.c rename to desmume/src/frontend/cocoa/freetype/src/type1/t1driver.c diff --git a/desmume/src/cocoa/freetype/src/type1/t1driver.h b/desmume/src/frontend/cocoa/freetype/src/type1/t1driver.h similarity index 100% rename from desmume/src/cocoa/freetype/src/type1/t1driver.h rename to desmume/src/frontend/cocoa/freetype/src/type1/t1driver.h diff --git a/desmume/src/cocoa/freetype/src/type1/t1errors.h b/desmume/src/frontend/cocoa/freetype/src/type1/t1errors.h similarity index 100% rename from desmume/src/cocoa/freetype/src/type1/t1errors.h rename to desmume/src/frontend/cocoa/freetype/src/type1/t1errors.h diff --git a/desmume/src/cocoa/freetype/src/type1/t1gload.c b/desmume/src/frontend/cocoa/freetype/src/type1/t1gload.c similarity index 100% rename from desmume/src/cocoa/freetype/src/type1/t1gload.c rename to desmume/src/frontend/cocoa/freetype/src/type1/t1gload.c diff --git a/desmume/src/cocoa/freetype/src/type1/t1gload.h b/desmume/src/frontend/cocoa/freetype/src/type1/t1gload.h similarity index 100% rename from desmume/src/cocoa/freetype/src/type1/t1gload.h rename to desmume/src/frontend/cocoa/freetype/src/type1/t1gload.h diff --git a/desmume/src/cocoa/freetype/src/type1/t1load.c b/desmume/src/frontend/cocoa/freetype/src/type1/t1load.c similarity index 100% rename from desmume/src/cocoa/freetype/src/type1/t1load.c rename to desmume/src/frontend/cocoa/freetype/src/type1/t1load.c diff --git a/desmume/src/cocoa/freetype/src/type1/t1load.h b/desmume/src/frontend/cocoa/freetype/src/type1/t1load.h similarity index 100% rename from desmume/src/cocoa/freetype/src/type1/t1load.h rename to desmume/src/frontend/cocoa/freetype/src/type1/t1load.h diff --git a/desmume/src/cocoa/freetype/src/type1/t1objs.c b/desmume/src/frontend/cocoa/freetype/src/type1/t1objs.c similarity index 100% rename from desmume/src/cocoa/freetype/src/type1/t1objs.c rename to desmume/src/frontend/cocoa/freetype/src/type1/t1objs.c diff --git a/desmume/src/cocoa/freetype/src/type1/t1objs.h b/desmume/src/frontend/cocoa/freetype/src/type1/t1objs.h similarity index 100% rename from desmume/src/cocoa/freetype/src/type1/t1objs.h rename to desmume/src/frontend/cocoa/freetype/src/type1/t1objs.h diff --git a/desmume/src/cocoa/freetype/src/type1/t1parse.c b/desmume/src/frontend/cocoa/freetype/src/type1/t1parse.c similarity index 100% rename from desmume/src/cocoa/freetype/src/type1/t1parse.c rename to desmume/src/frontend/cocoa/freetype/src/type1/t1parse.c diff --git a/desmume/src/cocoa/freetype/src/type1/t1parse.h b/desmume/src/frontend/cocoa/freetype/src/type1/t1parse.h similarity index 100% rename from desmume/src/cocoa/freetype/src/type1/t1parse.h rename to desmume/src/frontend/cocoa/freetype/src/type1/t1parse.h diff --git a/desmume/src/cocoa/freetype/src/type1/t1tokens.h b/desmume/src/frontend/cocoa/freetype/src/type1/t1tokens.h similarity index 100% rename from desmume/src/cocoa/freetype/src/type1/t1tokens.h rename to desmume/src/frontend/cocoa/freetype/src/type1/t1tokens.h diff --git a/desmume/src/cocoa/freetype/src/type1/type1.c b/desmume/src/frontend/cocoa/freetype/src/type1/type1.c similarity index 100% rename from desmume/src/cocoa/freetype/src/type1/type1.c rename to desmume/src/frontend/cocoa/freetype/src/type1/type1.c diff --git a/desmume/src/cocoa/images/ColorSwatch_Blue_16x16.png b/desmume/src/frontend/cocoa/images/ColorSwatch_Blue_16x16.png similarity index 100% rename from desmume/src/cocoa/images/ColorSwatch_Blue_16x16.png rename to desmume/src/frontend/cocoa/images/ColorSwatch_Blue_16x16.png diff --git a/desmume/src/cocoa/images/ColorSwatch_Brown_16x16.png b/desmume/src/frontend/cocoa/images/ColorSwatch_Brown_16x16.png similarity index 100% rename from desmume/src/cocoa/images/ColorSwatch_Brown_16x16.png rename to desmume/src/frontend/cocoa/images/ColorSwatch_Brown_16x16.png diff --git a/desmume/src/cocoa/images/ColorSwatch_DarkBlue_16x16.png b/desmume/src/frontend/cocoa/images/ColorSwatch_DarkBlue_16x16.png similarity index 100% rename from desmume/src/cocoa/images/ColorSwatch_DarkBlue_16x16.png rename to desmume/src/frontend/cocoa/images/ColorSwatch_DarkBlue_16x16.png diff --git a/desmume/src/cocoa/images/ColorSwatch_DarkGreen_16x16.png b/desmume/src/frontend/cocoa/images/ColorSwatch_DarkGreen_16x16.png similarity index 100% rename from desmume/src/cocoa/images/ColorSwatch_DarkGreen_16x16.png rename to desmume/src/frontend/cocoa/images/ColorSwatch_DarkGreen_16x16.png diff --git a/desmume/src/cocoa/images/ColorSwatch_DarkPurple_16x16.png b/desmume/src/frontend/cocoa/images/ColorSwatch_DarkPurple_16x16.png similarity index 100% rename from desmume/src/cocoa/images/ColorSwatch_DarkPurple_16x16.png rename to desmume/src/frontend/cocoa/images/ColorSwatch_DarkPurple_16x16.png diff --git a/desmume/src/cocoa/images/ColorSwatch_Gray_16x16.png b/desmume/src/frontend/cocoa/images/ColorSwatch_Gray_16x16.png similarity index 100% rename from desmume/src/cocoa/images/ColorSwatch_Gray_16x16.png rename to desmume/src/frontend/cocoa/images/ColorSwatch_Gray_16x16.png diff --git a/desmume/src/cocoa/images/ColorSwatch_Green_16x16.png b/desmume/src/frontend/cocoa/images/ColorSwatch_Green_16x16.png similarity index 100% rename from desmume/src/cocoa/images/ColorSwatch_Green_16x16.png rename to desmume/src/frontend/cocoa/images/ColorSwatch_Green_16x16.png diff --git a/desmume/src/cocoa/images/ColorSwatch_LimeGreen_16x16.png b/desmume/src/frontend/cocoa/images/ColorSwatch_LimeGreen_16x16.png similarity index 100% rename from desmume/src/cocoa/images/ColorSwatch_LimeGreen_16x16.png rename to desmume/src/frontend/cocoa/images/ColorSwatch_LimeGreen_16x16.png diff --git a/desmume/src/cocoa/images/ColorSwatch_Magenta_16x16.png b/desmume/src/frontend/cocoa/images/ColorSwatch_Magenta_16x16.png similarity index 100% rename from desmume/src/cocoa/images/ColorSwatch_Magenta_16x16.png rename to desmume/src/frontend/cocoa/images/ColorSwatch_Magenta_16x16.png diff --git a/desmume/src/cocoa/images/ColorSwatch_Orange_16x16.png b/desmume/src/frontend/cocoa/images/ColorSwatch_Orange_16x16.png similarity index 100% rename from desmume/src/cocoa/images/ColorSwatch_Orange_16x16.png rename to desmume/src/frontend/cocoa/images/ColorSwatch_Orange_16x16.png diff --git a/desmume/src/cocoa/images/ColorSwatch_Pink_16x16.png b/desmume/src/frontend/cocoa/images/ColorSwatch_Pink_16x16.png similarity index 100% rename from desmume/src/cocoa/images/ColorSwatch_Pink_16x16.png rename to desmume/src/frontend/cocoa/images/ColorSwatch_Pink_16x16.png diff --git a/desmume/src/cocoa/images/ColorSwatch_Red_16x16.png b/desmume/src/frontend/cocoa/images/ColorSwatch_Red_16x16.png similarity index 100% rename from desmume/src/cocoa/images/ColorSwatch_Red_16x16.png rename to desmume/src/frontend/cocoa/images/ColorSwatch_Red_16x16.png diff --git a/desmume/src/cocoa/images/ColorSwatch_SeaGreen_16x16.png b/desmume/src/frontend/cocoa/images/ColorSwatch_SeaGreen_16x16.png similarity index 100% rename from desmume/src/cocoa/images/ColorSwatch_SeaGreen_16x16.png rename to desmume/src/frontend/cocoa/images/ColorSwatch_SeaGreen_16x16.png diff --git a/desmume/src/cocoa/images/ColorSwatch_Turquoise_16x16.png b/desmume/src/frontend/cocoa/images/ColorSwatch_Turquoise_16x16.png similarity index 100% rename from desmume/src/cocoa/images/ColorSwatch_Turquoise_16x16.png rename to desmume/src/frontend/cocoa/images/ColorSwatch_Turquoise_16x16.png diff --git a/desmume/src/cocoa/images/ColorSwatch_Violet_16x16.png b/desmume/src/frontend/cocoa/images/ColorSwatch_Violet_16x16.png similarity index 100% rename from desmume/src/cocoa/images/ColorSwatch_Violet_16x16.png rename to desmume/src/frontend/cocoa/images/ColorSwatch_Violet_16x16.png diff --git a/desmume/src/cocoa/images/ColorSwatch_Yellow_16x16.png b/desmume/src/frontend/cocoa/images/ColorSwatch_Yellow_16x16.png similarity index 100% rename from desmume/src/cocoa/images/ColorSwatch_Yellow_16x16.png rename to desmume/src/frontend/cocoa/images/ColorSwatch_Yellow_16x16.png diff --git a/desmume/src/cocoa/images/Icon_ActionReplay_128x128.png b/desmume/src/frontend/cocoa/images/Icon_ActionReplay_128x128.png similarity index 100% rename from desmume/src/cocoa/images/Icon_ActionReplay_128x128.png rename to desmume/src/frontend/cocoa/images/Icon_ActionReplay_128x128.png diff --git a/desmume/src/cocoa/images/Icon_ActionReplay_32x32.png b/desmume/src/frontend/cocoa/images/Icon_ActionReplay_32x32.png similarity index 100% rename from desmume/src/cocoa/images/Icon_ActionReplay_32x32.png rename to desmume/src/frontend/cocoa/images/Icon_ActionReplay_32x32.png diff --git a/desmume/src/cocoa/images/Icon_ActionReplay_32x32@2x.png b/desmume/src/frontend/cocoa/images/Icon_ActionReplay_32x32@2x.png similarity index 100% rename from desmume/src/cocoa/images/Icon_ActionReplay_32x32@2x.png rename to desmume/src/frontend/cocoa/images/Icon_ActionReplay_32x32@2x.png diff --git a/desmume/src/cocoa/images/Icon_ArrowDown_420x420.png b/desmume/src/frontend/cocoa/images/Icon_ArrowDown_420x420.png similarity index 100% rename from desmume/src/cocoa/images/Icon_ArrowDown_420x420.png rename to desmume/src/frontend/cocoa/images/Icon_ArrowDown_420x420.png diff --git a/desmume/src/cocoa/images/Icon_ArrowLeft_420x420.png b/desmume/src/frontend/cocoa/images/Icon_ArrowLeft_420x420.png similarity index 100% rename from desmume/src/cocoa/images/Icon_ArrowLeft_420x420.png rename to desmume/src/frontend/cocoa/images/Icon_ArrowLeft_420x420.png diff --git a/desmume/src/cocoa/images/Icon_ArrowRight_420x420.png b/desmume/src/frontend/cocoa/images/Icon_ArrowRight_420x420.png similarity index 100% rename from desmume/src/cocoa/images/Icon_ArrowRight_420x420.png rename to desmume/src/frontend/cocoa/images/Icon_ArrowRight_420x420.png diff --git a/desmume/src/cocoa/images/Icon_ArrowUp_420x420.png b/desmume/src/frontend/cocoa/images/Icon_ArrowUp_420x420.png similarity index 100% rename from desmume/src/cocoa/images/Icon_ArrowUp_420x420.png rename to desmume/src/frontend/cocoa/images/Icon_ArrowUp_420x420.png diff --git a/desmume/src/cocoa/images/Icon_AutoholdClear_420x420.png b/desmume/src/frontend/cocoa/images/Icon_AutoholdClear_420x420.png similarity index 100% rename from desmume/src/cocoa/images/Icon_AutoholdClear_420x420.png rename to desmume/src/frontend/cocoa/images/Icon_AutoholdClear_420x420.png diff --git a/desmume/src/cocoa/images/Icon_AutoholdSet_420x420.png b/desmume/src/frontend/cocoa/images/Icon_AutoholdSet_420x420.png similarity index 100% rename from desmume/src/cocoa/images/Icon_AutoholdSet_420x420.png rename to desmume/src/frontend/cocoa/images/Icon_AutoholdSet_420x420.png diff --git a/desmume/src/cocoa/images/Icon_CodeBreaker_128x128.png b/desmume/src/frontend/cocoa/images/Icon_CodeBreaker_128x128.png similarity index 100% rename from desmume/src/cocoa/images/Icon_CodeBreaker_128x128.png rename to desmume/src/frontend/cocoa/images/Icon_CodeBreaker_128x128.png diff --git a/desmume/src/cocoa/images/Icon_CodeBreaker_32x32.png b/desmume/src/frontend/cocoa/images/Icon_CodeBreaker_32x32.png similarity index 100% rename from desmume/src/cocoa/images/Icon_CodeBreaker_32x32.png rename to desmume/src/frontend/cocoa/images/Icon_CodeBreaker_32x32.png diff --git a/desmume/src/cocoa/images/Icon_CodeBreaker_32x32@2x.png b/desmume/src/frontend/cocoa/images/Icon_CodeBreaker_32x32@2x.png similarity index 100% rename from desmume/src/cocoa/images/Icon_CodeBreaker_32x32@2x.png rename to desmume/src/frontend/cocoa/images/Icon_CodeBreaker_32x32@2x.png diff --git a/desmume/src/cocoa/images/Icon_DSButtonA_420x420.png b/desmume/src/frontend/cocoa/images/Icon_DSButtonA_420x420.png similarity index 100% rename from desmume/src/cocoa/images/Icon_DSButtonA_420x420.png rename to desmume/src/frontend/cocoa/images/Icon_DSButtonA_420x420.png diff --git a/desmume/src/cocoa/images/Icon_DSButtonB_420x420.png b/desmume/src/frontend/cocoa/images/Icon_DSButtonB_420x420.png similarity index 100% rename from desmume/src/cocoa/images/Icon_DSButtonB_420x420.png rename to desmume/src/frontend/cocoa/images/Icon_DSButtonB_420x420.png diff --git a/desmume/src/cocoa/images/Icon_DSButtonL_420x420.png b/desmume/src/frontend/cocoa/images/Icon_DSButtonL_420x420.png similarity index 100% rename from desmume/src/cocoa/images/Icon_DSButtonL_420x420.png rename to desmume/src/frontend/cocoa/images/Icon_DSButtonL_420x420.png diff --git a/desmume/src/cocoa/images/Icon_DSButtonR_420x420.png b/desmume/src/frontend/cocoa/images/Icon_DSButtonR_420x420.png similarity index 100% rename from desmume/src/cocoa/images/Icon_DSButtonR_420x420.png rename to desmume/src/frontend/cocoa/images/Icon_DSButtonR_420x420.png diff --git a/desmume/src/cocoa/images/Icon_DSButtonSelect_420x420.png b/desmume/src/frontend/cocoa/images/Icon_DSButtonSelect_420x420.png similarity index 100% rename from desmume/src/cocoa/images/Icon_DSButtonSelect_420x420.png rename to desmume/src/frontend/cocoa/images/Icon_DSButtonSelect_420x420.png diff --git a/desmume/src/cocoa/images/Icon_DSButtonStart_420x420.png b/desmume/src/frontend/cocoa/images/Icon_DSButtonStart_420x420.png similarity index 100% rename from desmume/src/cocoa/images/Icon_DSButtonStart_420x420.png rename to desmume/src/frontend/cocoa/images/Icon_DSButtonStart_420x420.png diff --git a/desmume/src/cocoa/images/Icon_DSButtonX_420x420.png b/desmume/src/frontend/cocoa/images/Icon_DSButtonX_420x420.png similarity index 100% rename from desmume/src/cocoa/images/Icon_DSButtonX_420x420.png rename to desmume/src/frontend/cocoa/images/Icon_DSButtonX_420x420.png diff --git a/desmume/src/cocoa/images/Icon_DSButtonY_420x420.png b/desmume/src/frontend/cocoa/images/Icon_DSButtonY_420x420.png similarity index 100% rename from desmume/src/cocoa/images/Icon_DSButtonY_420x420.png rename to desmume/src/frontend/cocoa/images/Icon_DSButtonY_420x420.png diff --git a/desmume/src/cocoa/images/Icon_DeSmuME_32x32.png b/desmume/src/frontend/cocoa/images/Icon_DeSmuME_32x32.png similarity index 100% rename from desmume/src/cocoa/images/Icon_DeSmuME_32x32.png rename to desmume/src/frontend/cocoa/images/Icon_DeSmuME_32x32.png diff --git a/desmume/src/cocoa/images/Icon_DeSmuME_32x32@2x.png b/desmume/src/frontend/cocoa/images/Icon_DeSmuME_32x32@2x.png similarity index 100% rename from desmume/src/cocoa/images/Icon_DeSmuME_32x32@2x.png rename to desmume/src/frontend/cocoa/images/Icon_DeSmuME_32x32@2x.png diff --git a/desmume/src/cocoa/images/Icon_DisplayToggle_420x420.png b/desmume/src/frontend/cocoa/images/Icon_DisplayToggle_420x420.png similarity index 100% rename from desmume/src/cocoa/images/Icon_DisplayToggle_420x420.png rename to desmume/src/frontend/cocoa/images/Icon_DisplayToggle_420x420.png diff --git a/desmume/src/cocoa/images/Icon_DoubleSpeed_420x420.png b/desmume/src/frontend/cocoa/images/Icon_DoubleSpeed_420x420.png similarity index 100% rename from desmume/src/cocoa/images/Icon_DoubleSpeed_420x420.png rename to desmume/src/frontend/cocoa/images/Icon_DoubleSpeed_420x420.png diff --git a/desmume/src/cocoa/images/Icon_Emulation_420x420.png b/desmume/src/frontend/cocoa/images/Icon_Emulation_420x420.png similarity index 100% rename from desmume/src/cocoa/images/Icon_Emulation_420x420.png rename to desmume/src/frontend/cocoa/images/Icon_Emulation_420x420.png diff --git a/desmume/src/cocoa/images/Icon_Execute_420x420.png b/desmume/src/frontend/cocoa/images/Icon_Execute_420x420.png similarity index 100% rename from desmume/src/cocoa/images/Icon_Execute_420x420.png rename to desmume/src/frontend/cocoa/images/Icon_Execute_420x420.png diff --git a/desmume/src/cocoa/images/Icon_FrameAdvance_420x420.png b/desmume/src/frontend/cocoa/images/Icon_FrameAdvance_420x420.png similarity index 100% rename from desmume/src/cocoa/images/Icon_FrameAdvance_420x420.png rename to desmume/src/frontend/cocoa/images/Icon_FrameAdvance_420x420.png diff --git a/desmume/src/cocoa/images/Icon_FrameJump_420x420.png b/desmume/src/frontend/cocoa/images/Icon_FrameJump_420x420.png similarity index 100% rename from desmume/src/cocoa/images/Icon_FrameJump_420x420.png rename to desmume/src/frontend/cocoa/images/Icon_FrameJump_420x420.png diff --git a/desmume/src/cocoa/images/Icon_GuitarGrip_Button_Blue_512x512.png b/desmume/src/frontend/cocoa/images/Icon_GuitarGrip_Button_Blue_512x512.png similarity index 100% rename from desmume/src/cocoa/images/Icon_GuitarGrip_Button_Blue_512x512.png rename to desmume/src/frontend/cocoa/images/Icon_GuitarGrip_Button_Blue_512x512.png diff --git a/desmume/src/cocoa/images/Icon_GuitarGrip_Button_Green_512x512.png b/desmume/src/frontend/cocoa/images/Icon_GuitarGrip_Button_Green_512x512.png similarity index 100% rename from desmume/src/cocoa/images/Icon_GuitarGrip_Button_Green_512x512.png rename to desmume/src/frontend/cocoa/images/Icon_GuitarGrip_Button_Green_512x512.png diff --git a/desmume/src/cocoa/images/Icon_GuitarGrip_Button_Red_512x512.png b/desmume/src/frontend/cocoa/images/Icon_GuitarGrip_Button_Red_512x512.png similarity index 100% rename from desmume/src/cocoa/images/Icon_GuitarGrip_Button_Red_512x512.png rename to desmume/src/frontend/cocoa/images/Icon_GuitarGrip_Button_Red_512x512.png diff --git a/desmume/src/cocoa/images/Icon_GuitarGrip_Button_Yellow_512x512.png b/desmume/src/frontend/cocoa/images/Icon_GuitarGrip_Button_Yellow_512x512.png similarity index 100% rename from desmume/src/cocoa/images/Icon_GuitarGrip_Button_Yellow_512x512.png rename to desmume/src/frontend/cocoa/images/Icon_GuitarGrip_Button_Yellow_512x512.png diff --git a/desmume/src/cocoa/images/Icon_Input_420x420.png b/desmume/src/frontend/cocoa/images/Icon_Input_420x420.png similarity index 100% rename from desmume/src/cocoa/images/Icon_Input_420x420.png rename to desmume/src/frontend/cocoa/images/Icon_Input_420x420.png diff --git a/desmume/src/cocoa/images/Icon_MicrophoneBlack_256x256.png b/desmume/src/frontend/cocoa/images/Icon_MicrophoneBlack_256x256.png similarity index 100% rename from desmume/src/cocoa/images/Icon_MicrophoneBlack_256x256.png rename to desmume/src/frontend/cocoa/images/Icon_MicrophoneBlack_256x256.png diff --git a/desmume/src/cocoa/images/Icon_MicrophoneBlueGlow_256x256.png b/desmume/src/frontend/cocoa/images/Icon_MicrophoneBlueGlow_256x256.png similarity index 100% rename from desmume/src/cocoa/images/Icon_MicrophoneBlueGlow_256x256.png rename to desmume/src/frontend/cocoa/images/Icon_MicrophoneBlueGlow_256x256.png diff --git a/desmume/src/cocoa/images/Icon_MicrophoneDarkGreen_256x256.png b/desmume/src/frontend/cocoa/images/Icon_MicrophoneDarkGreen_256x256.png similarity index 100% rename from desmume/src/cocoa/images/Icon_MicrophoneDarkGreen_256x256.png rename to desmume/src/frontend/cocoa/images/Icon_MicrophoneDarkGreen_256x256.png diff --git a/desmume/src/cocoa/images/Icon_MicrophoneGray_256x256.png b/desmume/src/frontend/cocoa/images/Icon_MicrophoneGray_256x256.png similarity index 100% rename from desmume/src/cocoa/images/Icon_MicrophoneGray_256x256.png rename to desmume/src/frontend/cocoa/images/Icon_MicrophoneGray_256x256.png diff --git a/desmume/src/cocoa/images/Icon_MicrophoneGreen_256x256.png b/desmume/src/frontend/cocoa/images/Icon_MicrophoneGreen_256x256.png similarity index 100% rename from desmume/src/cocoa/images/Icon_MicrophoneGreen_256x256.png rename to desmume/src/frontend/cocoa/images/Icon_MicrophoneGreen_256x256.png diff --git a/desmume/src/cocoa/images/Icon_MicrophoneRed_256x256.png b/desmume/src/frontend/cocoa/images/Icon_MicrophoneRed_256x256.png similarity index 100% rename from desmume/src/cocoa/images/Icon_MicrophoneRed_256x256.png rename to desmume/src/frontend/cocoa/images/Icon_MicrophoneRed_256x256.png diff --git a/desmume/src/cocoa/images/Icon_OpenROM_420x420.png b/desmume/src/frontend/cocoa/images/Icon_OpenROM_420x420.png similarity index 100% rename from desmume/src/cocoa/images/Icon_OpenROM_420x420.png rename to desmume/src/frontend/cocoa/images/Icon_OpenROM_420x420.png diff --git a/desmume/src/cocoa/images/Icon_PaddleKnob_256x256.png b/desmume/src/frontend/cocoa/images/Icon_PaddleKnob_256x256.png similarity index 100% rename from desmume/src/cocoa/images/Icon_PaddleKnob_256x256.png rename to desmume/src/frontend/cocoa/images/Icon_PaddleKnob_256x256.png diff --git a/desmume/src/cocoa/images/Icon_Pause_420x420.png b/desmume/src/frontend/cocoa/images/Icon_Pause_420x420.png similarity index 100% rename from desmume/src/cocoa/images/Icon_Pause_420x420.png rename to desmume/src/frontend/cocoa/images/Icon_Pause_420x420.png diff --git a/desmume/src/cocoa/images/Icon_Piano_256x256.png b/desmume/src/frontend/cocoa/images/Icon_Piano_256x256.png similarity index 100% rename from desmume/src/cocoa/images/Icon_Piano_256x256.png rename to desmume/src/frontend/cocoa/images/Icon_Piano_256x256.png diff --git a/desmume/src/cocoa/images/Icon_Reset_420x420.png b/desmume/src/frontend/cocoa/images/Icon_Reset_420x420.png similarity index 100% rename from desmume/src/cocoa/images/Icon_Reset_420x420.png rename to desmume/src/frontend/cocoa/images/Icon_Reset_420x420.png diff --git a/desmume/src/cocoa/images/Icon_RotateCCW_420x420.png b/desmume/src/frontend/cocoa/images/Icon_RotateCCW_420x420.png similarity index 100% rename from desmume/src/cocoa/images/Icon_RotateCCW_420x420.png rename to desmume/src/frontend/cocoa/images/Icon_RotateCCW_420x420.png diff --git a/desmume/src/cocoa/images/Icon_RotateCW_420x420.png b/desmume/src/frontend/cocoa/images/Icon_RotateCW_420x420.png similarity index 100% rename from desmume/src/cocoa/images/Icon_RotateCW_420x420.png rename to desmume/src/frontend/cocoa/images/Icon_RotateCW_420x420.png diff --git a/desmume/src/cocoa/images/Icon_ShowHUD_420x420.png b/desmume/src/frontend/cocoa/images/Icon_ShowHUD_420x420.png similarity index 100% rename from desmume/src/cocoa/images/Icon_ShowHUD_420x420.png rename to desmume/src/frontend/cocoa/images/Icon_ShowHUD_420x420.png diff --git a/desmume/src/cocoa/images/Icon_Speaker_420x420.png b/desmume/src/frontend/cocoa/images/Icon_Speaker_420x420.png similarity index 100% rename from desmume/src/cocoa/images/Icon_Speaker_420x420.png rename to desmume/src/frontend/cocoa/images/Icon_Speaker_420x420.png diff --git a/desmume/src/cocoa/images/Icon_Speed1x_420x420.png b/desmume/src/frontend/cocoa/images/Icon_Speed1x_420x420.png similarity index 100% rename from desmume/src/cocoa/images/Icon_Speed1x_420x420.png rename to desmume/src/frontend/cocoa/images/Icon_Speed1x_420x420.png diff --git a/desmume/src/cocoa/images/Icon_Speed2x_420x420.png b/desmume/src/frontend/cocoa/images/Icon_Speed2x_420x420.png similarity index 100% rename from desmume/src/cocoa/images/Icon_Speed2x_420x420.png rename to desmume/src/frontend/cocoa/images/Icon_Speed2x_420x420.png diff --git a/desmume/src/cocoa/images/Icon_VolumeFull_16x16.png b/desmume/src/frontend/cocoa/images/Icon_VolumeFull_16x16.png similarity index 100% rename from desmume/src/cocoa/images/Icon_VolumeFull_16x16.png rename to desmume/src/frontend/cocoa/images/Icon_VolumeFull_16x16.png diff --git a/desmume/src/cocoa/images/Icon_VolumeFull_16x16@2x.png b/desmume/src/frontend/cocoa/images/Icon_VolumeFull_16x16@2x.png similarity index 100% rename from desmume/src/cocoa/images/Icon_VolumeFull_16x16@2x.png rename to desmume/src/frontend/cocoa/images/Icon_VolumeFull_16x16@2x.png diff --git a/desmume/src/cocoa/images/Icon_VolumeMute_16x16.png b/desmume/src/frontend/cocoa/images/Icon_VolumeMute_16x16.png similarity index 100% rename from desmume/src/cocoa/images/Icon_VolumeMute_16x16.png rename to desmume/src/frontend/cocoa/images/Icon_VolumeMute_16x16.png diff --git a/desmume/src/cocoa/images/Icon_VolumeMute_16x16@2x.png b/desmume/src/frontend/cocoa/images/Icon_VolumeMute_16x16@2x.png similarity index 100% rename from desmume/src/cocoa/images/Icon_VolumeMute_16x16@2x.png rename to desmume/src/frontend/cocoa/images/Icon_VolumeMute_16x16@2x.png diff --git a/desmume/src/cocoa/images/Icon_VolumeOneThird_16x16.png b/desmume/src/frontend/cocoa/images/Icon_VolumeOneThird_16x16.png similarity index 100% rename from desmume/src/cocoa/images/Icon_VolumeOneThird_16x16.png rename to desmume/src/frontend/cocoa/images/Icon_VolumeOneThird_16x16.png diff --git a/desmume/src/cocoa/images/Icon_VolumeOneThird_16x16@2x.png b/desmume/src/frontend/cocoa/images/Icon_VolumeOneThird_16x16@2x.png similarity index 100% rename from desmume/src/cocoa/images/Icon_VolumeOneThird_16x16@2x.png rename to desmume/src/frontend/cocoa/images/Icon_VolumeOneThird_16x16@2x.png diff --git a/desmume/src/cocoa/images/Icon_VolumeTwoThird_16x16.png b/desmume/src/frontend/cocoa/images/Icon_VolumeTwoThird_16x16.png similarity index 100% rename from desmume/src/cocoa/images/Icon_VolumeTwoThird_16x16.png rename to desmume/src/frontend/cocoa/images/Icon_VolumeTwoThird_16x16.png diff --git a/desmume/src/cocoa/images/Icon_VolumeTwoThird_16x16@2x.png b/desmume/src/frontend/cocoa/images/Icon_VolumeTwoThird_16x16@2x.png similarity index 100% rename from desmume/src/cocoa/images/Icon_VolumeTwoThird_16x16@2x.png rename to desmume/src/frontend/cocoa/images/Icon_VolumeTwoThird_16x16@2x.png diff --git a/desmume/src/cocoa/images/Image_GuitarGrip.png b/desmume/src/frontend/cocoa/images/Image_GuitarGrip.png similarity index 100% rename from desmume/src/cocoa/images/Image_GuitarGrip.png rename to desmume/src/frontend/cocoa/images/Image_GuitarGrip.png diff --git a/desmume/src/cocoa/images/Image_MemoryExpansionPak.png b/desmume/src/frontend/cocoa/images/Image_MemoryExpansionPak.png similarity index 100% rename from desmume/src/cocoa/images/Image_MemoryExpansionPak.png rename to desmume/src/frontend/cocoa/images/Image_MemoryExpansionPak.png diff --git a/desmume/src/cocoa/images/Image_PaddleController.png b/desmume/src/frontend/cocoa/images/Image_PaddleController.png similarity index 100% rename from desmume/src/cocoa/images/Image_PaddleController.png rename to desmume/src/frontend/cocoa/images/Image_PaddleController.png diff --git a/desmume/src/cocoa/images/Image_PassME.png b/desmume/src/frontend/cocoa/images/Image_PassME.png similarity index 100% rename from desmume/src/cocoa/images/Image_PassME.png rename to desmume/src/frontend/cocoa/images/Image_PassME.png diff --git a/desmume/src/cocoa/images/Image_Piano.png b/desmume/src/frontend/cocoa/images/Image_Piano.png similarity index 100% rename from desmume/src/cocoa/images/Image_Piano.png rename to desmume/src/frontend/cocoa/images/Image_Piano.png diff --git a/desmume/src/cocoa/images/VideoFilterPreview_64x64.png b/desmume/src/frontend/cocoa/images/VideoFilterPreview_64x64.png similarity index 100% rename from desmume/src/cocoa/images/VideoFilterPreview_64x64.png rename to desmume/src/frontend/cocoa/images/VideoFilterPreview_64x64.png diff --git a/desmume/src/cocoa/input_legacy.h b/desmume/src/frontend/cocoa/input_legacy.h similarity index 100% rename from desmume/src/cocoa/input_legacy.h rename to desmume/src/frontend/cocoa/input_legacy.h diff --git a/desmume/src/cocoa/macosx_10_5_compat.cpp b/desmume/src/frontend/cocoa/macosx_10_5_compat.cpp similarity index 100% rename from desmume/src/cocoa/macosx_10_5_compat.cpp rename to desmume/src/frontend/cocoa/macosx_10_5_compat.cpp diff --git a/desmume/src/cocoa/main.m b/desmume/src/frontend/cocoa/main.m similarity index 100% rename from desmume/src/cocoa/main.m rename to desmume/src/frontend/cocoa/main.m diff --git a/desmume/src/cocoa/makeapp.sh b/desmume/src/frontend/cocoa/makeapp.sh similarity index 100% rename from desmume/src/cocoa/makeapp.sh rename to desmume/src/frontend/cocoa/makeapp.sh diff --git a/desmume/src/cocoa/mic_ext.cpp b/desmume/src/frontend/cocoa/mic_ext.cpp similarity index 100% rename from desmume/src/cocoa/mic_ext.cpp rename to desmume/src/frontend/cocoa/mic_ext.cpp diff --git a/desmume/src/cocoa/mic_ext.h b/desmume/src/frontend/cocoa/mic_ext.h similarity index 100% rename from desmume/src/cocoa/mic_ext.h rename to desmume/src/frontend/cocoa/mic_ext.h diff --git a/desmume/src/cocoa/openemu/DeSmuME_Prefix_OpenEmu.pch b/desmume/src/frontend/cocoa/openemu/DeSmuME_Prefix_OpenEmu.pch similarity index 100% rename from desmume/src/cocoa/openemu/DeSmuME_Prefix_OpenEmu.pch rename to desmume/src/frontend/cocoa/openemu/DeSmuME_Prefix_OpenEmu.pch diff --git a/desmume/src/cocoa/openemu/Info (OpenEmu Plug-in).plist b/desmume/src/frontend/cocoa/openemu/Info (OpenEmu Plug-in).plist similarity index 100% rename from desmume/src/cocoa/openemu/Info (OpenEmu Plug-in).plist rename to desmume/src/frontend/cocoa/openemu/Info (OpenEmu Plug-in).plist diff --git a/desmume/src/cocoa/openemu/NDSGameCore.h b/desmume/src/frontend/cocoa/openemu/NDSGameCore.h similarity index 100% rename from desmume/src/cocoa/openemu/NDSGameCore.h rename to desmume/src/frontend/cocoa/openemu/NDSGameCore.h diff --git a/desmume/src/cocoa/openemu/NDSGameCore.mm b/desmume/src/frontend/cocoa/openemu/NDSGameCore.mm similarity index 100% rename from desmume/src/cocoa/openemu/NDSGameCore.mm rename to desmume/src/frontend/cocoa/openemu/NDSGameCore.mm diff --git a/desmume/src/cocoa/openemu/OENDSSystemResponderClient.h b/desmume/src/frontend/cocoa/openemu/OENDSSystemResponderClient.h similarity index 100% rename from desmume/src/cocoa/openemu/OENDSSystemResponderClient.h rename to desmume/src/frontend/cocoa/openemu/OENDSSystemResponderClient.h diff --git a/desmume/src/cocoa/openemu/OESoundInterface.h b/desmume/src/frontend/cocoa/openemu/OESoundInterface.h similarity index 100% rename from desmume/src/cocoa/openemu/OESoundInterface.h rename to desmume/src/frontend/cocoa/openemu/OESoundInterface.h diff --git a/desmume/src/cocoa/openemu/OESoundInterface.mm b/desmume/src/frontend/cocoa/openemu/OESoundInterface.mm similarity index 100% rename from desmume/src/cocoa/openemu/OESoundInterface.mm rename to desmume/src/frontend/cocoa/openemu/OESoundInterface.mm diff --git a/desmume/src/cocoa/ringbuffer.cpp b/desmume/src/frontend/cocoa/ringbuffer.cpp similarity index 100% rename from desmume/src/cocoa/ringbuffer.cpp rename to desmume/src/frontend/cocoa/ringbuffer.cpp diff --git a/desmume/src/cocoa/ringbuffer.h b/desmume/src/frontend/cocoa/ringbuffer.h similarity index 100% rename from desmume/src/cocoa/ringbuffer.h rename to desmume/src/frontend/cocoa/ringbuffer.h diff --git a/desmume/src/cocoa/sndOSX.cpp b/desmume/src/frontend/cocoa/sndOSX.cpp similarity index 100% rename from desmume/src/cocoa/sndOSX.cpp rename to desmume/src/frontend/cocoa/sndOSX.cpp diff --git a/desmume/src/cocoa/sndOSX.h b/desmume/src/frontend/cocoa/sndOSX.h similarity index 100% rename from desmume/src/cocoa/sndOSX.h rename to desmume/src/frontend/cocoa/sndOSX.h diff --git a/desmume/src/cocoa/source-sans-pro/SIL Open Font License.txt b/desmume/src/frontend/cocoa/source-sans-pro/SIL Open Font License.txt similarity index 100% rename from desmume/src/cocoa/source-sans-pro/SIL Open Font License.txt rename to desmume/src/frontend/cocoa/source-sans-pro/SIL Open Font License.txt diff --git a/desmume/src/cocoa/source-sans-pro/SourceSansPro-Black.otf b/desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-Black.otf similarity index 100% rename from desmume/src/cocoa/source-sans-pro/SourceSansPro-Black.otf rename to desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-Black.otf diff --git a/desmume/src/cocoa/source-sans-pro/SourceSansPro-BlackIt.otf b/desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-BlackIt.otf similarity index 100% rename from desmume/src/cocoa/source-sans-pro/SourceSansPro-BlackIt.otf rename to desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-BlackIt.otf diff --git a/desmume/src/cocoa/source-sans-pro/SourceSansPro-Bold.otf b/desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-Bold.otf similarity index 100% rename from desmume/src/cocoa/source-sans-pro/SourceSansPro-Bold.otf rename to desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-Bold.otf diff --git a/desmume/src/cocoa/source-sans-pro/SourceSansPro-BoldIt.otf b/desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-BoldIt.otf similarity index 100% rename from desmume/src/cocoa/source-sans-pro/SourceSansPro-BoldIt.otf rename to desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-BoldIt.otf diff --git a/desmume/src/cocoa/source-sans-pro/SourceSansPro-ExtraLight.otf b/desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-ExtraLight.otf similarity index 100% rename from desmume/src/cocoa/source-sans-pro/SourceSansPro-ExtraLight.otf rename to desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-ExtraLight.otf diff --git a/desmume/src/cocoa/source-sans-pro/SourceSansPro-ExtraLightIt.otf b/desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-ExtraLightIt.otf similarity index 100% rename from desmume/src/cocoa/source-sans-pro/SourceSansPro-ExtraLightIt.otf rename to desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-ExtraLightIt.otf diff --git a/desmume/src/cocoa/source-sans-pro/SourceSansPro-It.otf b/desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-It.otf similarity index 100% rename from desmume/src/cocoa/source-sans-pro/SourceSansPro-It.otf rename to desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-It.otf diff --git a/desmume/src/cocoa/source-sans-pro/SourceSansPro-Light.otf b/desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-Light.otf similarity index 100% rename from desmume/src/cocoa/source-sans-pro/SourceSansPro-Light.otf rename to desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-Light.otf diff --git a/desmume/src/cocoa/source-sans-pro/SourceSansPro-LightIt.otf b/desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-LightIt.otf similarity index 100% rename from desmume/src/cocoa/source-sans-pro/SourceSansPro-LightIt.otf rename to desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-LightIt.otf diff --git a/desmume/src/cocoa/source-sans-pro/SourceSansPro-Regular.otf b/desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-Regular.otf similarity index 100% rename from desmume/src/cocoa/source-sans-pro/SourceSansPro-Regular.otf rename to desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-Regular.otf diff --git a/desmume/src/cocoa/source-sans-pro/SourceSansPro-Semibold.otf b/desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-Semibold.otf similarity index 100% rename from desmume/src/cocoa/source-sans-pro/SourceSansPro-Semibold.otf rename to desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-Semibold.otf diff --git a/desmume/src/cocoa/source-sans-pro/SourceSansPro-SemiboldIt.otf b/desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-SemiboldIt.otf similarity index 100% rename from desmume/src/cocoa/source-sans-pro/SourceSansPro-SemiboldIt.otf rename to desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-SemiboldIt.otf diff --git a/desmume/src/cocoa/svnrev.sh b/desmume/src/frontend/cocoa/svnrev.sh similarity index 100% rename from desmume/src/cocoa/svnrev.sh rename to desmume/src/frontend/cocoa/svnrev.sh diff --git a/desmume/src/cocoa/translations/English.lproj/DisplayWindow.xib b/desmume/src/frontend/cocoa/translations/English.lproj/DisplayWindow.xib similarity index 100% rename from desmume/src/cocoa/translations/English.lproj/DisplayWindow.xib rename to desmume/src/frontend/cocoa/translations/English.lproj/DisplayWindow.xib diff --git a/desmume/src/cocoa/translations/English.lproj/HID_usage_strings.plist b/desmume/src/frontend/cocoa/translations/English.lproj/HID_usage_strings.plist similarity index 100% rename from desmume/src/cocoa/translations/English.lproj/HID_usage_strings.plist rename to desmume/src/frontend/cocoa/translations/English.lproj/HID_usage_strings.plist diff --git a/desmume/src/cocoa/translations/English.lproj/InfoPlist.strings b/desmume/src/frontend/cocoa/translations/English.lproj/InfoPlist.strings similarity index 100% rename from desmume/src/cocoa/translations/English.lproj/InfoPlist.strings rename to desmume/src/frontend/cocoa/translations/English.lproj/InfoPlist.strings diff --git a/desmume/src/cocoa/translations/English.lproj/Localizable.strings b/desmume/src/frontend/cocoa/translations/English.lproj/Localizable.strings similarity index 100% rename from desmume/src/cocoa/translations/English.lproj/Localizable.strings rename to desmume/src/frontend/cocoa/translations/English.lproj/Localizable.strings diff --git a/desmume/src/cocoa/translations/English.lproj/MainMenu.strings b/desmume/src/frontend/cocoa/translations/English.lproj/MainMenu.strings similarity index 100% rename from desmume/src/cocoa/translations/English.lproj/MainMenu.strings rename to desmume/src/frontend/cocoa/translations/English.lproj/MainMenu.strings diff --git a/desmume/src/cocoa/translations/English.lproj/MainMenu.xib b/desmume/src/frontend/cocoa/translations/English.lproj/MainMenu.xib similarity index 100% rename from desmume/src/cocoa/translations/English.lproj/MainMenu.xib rename to desmume/src/frontend/cocoa/translations/English.lproj/MainMenu.xib diff --git a/desmume/src/cocoa/userinterface/DisplayWindowController.h b/desmume/src/frontend/cocoa/userinterface/DisplayWindowController.h similarity index 100% rename from desmume/src/cocoa/userinterface/DisplayWindowController.h rename to desmume/src/frontend/cocoa/userinterface/DisplayWindowController.h diff --git a/desmume/src/cocoa/userinterface/DisplayWindowController.mm b/desmume/src/frontend/cocoa/userinterface/DisplayWindowController.mm similarity index 100% rename from desmume/src/cocoa/userinterface/DisplayWindowController.mm rename to desmume/src/frontend/cocoa/userinterface/DisplayWindowController.mm diff --git a/desmume/src/cocoa/userinterface/EmuControllerDelegate.h b/desmume/src/frontend/cocoa/userinterface/EmuControllerDelegate.h similarity index 100% rename from desmume/src/cocoa/userinterface/EmuControllerDelegate.h rename to desmume/src/frontend/cocoa/userinterface/EmuControllerDelegate.h diff --git a/desmume/src/cocoa/userinterface/EmuControllerDelegate.mm b/desmume/src/frontend/cocoa/userinterface/EmuControllerDelegate.mm similarity index 100% rename from desmume/src/cocoa/userinterface/EmuControllerDelegate.mm rename to desmume/src/frontend/cocoa/userinterface/EmuControllerDelegate.mm diff --git a/desmume/src/cocoa/userinterface/FileMigrationDelegate.h b/desmume/src/frontend/cocoa/userinterface/FileMigrationDelegate.h similarity index 100% rename from desmume/src/cocoa/userinterface/FileMigrationDelegate.h rename to desmume/src/frontend/cocoa/userinterface/FileMigrationDelegate.h diff --git a/desmume/src/cocoa/userinterface/FileMigrationDelegate.mm b/desmume/src/frontend/cocoa/userinterface/FileMigrationDelegate.mm similarity index 100% rename from desmume/src/cocoa/userinterface/FileMigrationDelegate.mm rename to desmume/src/frontend/cocoa/userinterface/FileMigrationDelegate.mm diff --git a/desmume/src/cocoa/userinterface/InputManager.h b/desmume/src/frontend/cocoa/userinterface/InputManager.h similarity index 100% rename from desmume/src/cocoa/userinterface/InputManager.h rename to desmume/src/frontend/cocoa/userinterface/InputManager.h diff --git a/desmume/src/cocoa/userinterface/InputManager.mm b/desmume/src/frontend/cocoa/userinterface/InputManager.mm similarity index 100% rename from desmume/src/cocoa/userinterface/InputManager.mm rename to desmume/src/frontend/cocoa/userinterface/InputManager.mm diff --git a/desmume/src/cocoa/userinterface/InputProfileController.h b/desmume/src/frontend/cocoa/userinterface/InputProfileController.h similarity index 100% rename from desmume/src/cocoa/userinterface/InputProfileController.h rename to desmume/src/frontend/cocoa/userinterface/InputProfileController.h diff --git a/desmume/src/cocoa/userinterface/InputProfileController.mm b/desmume/src/frontend/cocoa/userinterface/InputProfileController.mm similarity index 100% rename from desmume/src/cocoa/userinterface/InputProfileController.mm rename to desmume/src/frontend/cocoa/userinterface/InputProfileController.mm diff --git a/desmume/src/cocoa/userinterface/RomInfoPanel.h b/desmume/src/frontend/cocoa/userinterface/RomInfoPanel.h similarity index 100% rename from desmume/src/cocoa/userinterface/RomInfoPanel.h rename to desmume/src/frontend/cocoa/userinterface/RomInfoPanel.h diff --git a/desmume/src/cocoa/userinterface/RomInfoPanel.mm b/desmume/src/frontend/cocoa/userinterface/RomInfoPanel.mm similarity index 100% rename from desmume/src/cocoa/userinterface/RomInfoPanel.mm rename to desmume/src/frontend/cocoa/userinterface/RomInfoPanel.mm diff --git a/desmume/src/cocoa/userinterface/Slot2WindowDelegate.h b/desmume/src/frontend/cocoa/userinterface/Slot2WindowDelegate.h similarity index 100% rename from desmume/src/cocoa/userinterface/Slot2WindowDelegate.h rename to desmume/src/frontend/cocoa/userinterface/Slot2WindowDelegate.h diff --git a/desmume/src/cocoa/userinterface/Slot2WindowDelegate.mm b/desmume/src/frontend/cocoa/userinterface/Slot2WindowDelegate.mm similarity index 100% rename from desmume/src/cocoa/userinterface/Slot2WindowDelegate.mm rename to desmume/src/frontend/cocoa/userinterface/Slot2WindowDelegate.mm diff --git a/desmume/src/cocoa/userinterface/appDelegate.h b/desmume/src/frontend/cocoa/userinterface/appDelegate.h similarity index 100% rename from desmume/src/cocoa/userinterface/appDelegate.h rename to desmume/src/frontend/cocoa/userinterface/appDelegate.h diff --git a/desmume/src/cocoa/userinterface/appDelegate.mm b/desmume/src/frontend/cocoa/userinterface/appDelegate.mm similarity index 100% rename from desmume/src/cocoa/userinterface/appDelegate.mm rename to desmume/src/frontend/cocoa/userinterface/appDelegate.mm diff --git a/desmume/src/cocoa/userinterface/cheatWindowDelegate.h b/desmume/src/frontend/cocoa/userinterface/cheatWindowDelegate.h similarity index 100% rename from desmume/src/cocoa/userinterface/cheatWindowDelegate.h rename to desmume/src/frontend/cocoa/userinterface/cheatWindowDelegate.h diff --git a/desmume/src/cocoa/userinterface/cheatWindowDelegate.mm b/desmume/src/frontend/cocoa/userinterface/cheatWindowDelegate.mm similarity index 100% rename from desmume/src/cocoa/userinterface/cheatWindowDelegate.mm rename to desmume/src/frontend/cocoa/userinterface/cheatWindowDelegate.mm diff --git a/desmume/src/cocoa/userinterface/inputPrefsView.h b/desmume/src/frontend/cocoa/userinterface/inputPrefsView.h similarity index 100% rename from desmume/src/cocoa/userinterface/inputPrefsView.h rename to desmume/src/frontend/cocoa/userinterface/inputPrefsView.h diff --git a/desmume/src/cocoa/userinterface/inputPrefsView.mm b/desmume/src/frontend/cocoa/userinterface/inputPrefsView.mm similarity index 100% rename from desmume/src/cocoa/userinterface/inputPrefsView.mm rename to desmume/src/frontend/cocoa/userinterface/inputPrefsView.mm diff --git a/desmume/src/cocoa/userinterface/preferencesWindowDelegate.h b/desmume/src/frontend/cocoa/userinterface/preferencesWindowDelegate.h similarity index 100% rename from desmume/src/cocoa/userinterface/preferencesWindowDelegate.h rename to desmume/src/frontend/cocoa/userinterface/preferencesWindowDelegate.h diff --git a/desmume/src/cocoa/userinterface/preferencesWindowDelegate.mm b/desmume/src/frontend/cocoa/userinterface/preferencesWindowDelegate.mm similarity index 100% rename from desmume/src/cocoa/userinterface/preferencesWindowDelegate.mm rename to desmume/src/frontend/cocoa/userinterface/preferencesWindowDelegate.mm diff --git a/desmume/src/cocoa/userinterface/troubleshootingWindowDelegate.h b/desmume/src/frontend/cocoa/userinterface/troubleshootingWindowDelegate.h similarity index 100% rename from desmume/src/cocoa/userinterface/troubleshootingWindowDelegate.h rename to desmume/src/frontend/cocoa/userinterface/troubleshootingWindowDelegate.h diff --git a/desmume/src/cocoa/userinterface/troubleshootingWindowDelegate.mm b/desmume/src/frontend/cocoa/userinterface/troubleshootingWindowDelegate.mm similarity index 100% rename from desmume/src/cocoa/userinterface/troubleshootingWindowDelegate.mm rename to desmume/src/frontend/cocoa/userinterface/troubleshootingWindowDelegate.mm diff --git a/desmume/src/cocoa/utilities.c b/desmume/src/frontend/cocoa/utilities.c similarity index 100% rename from desmume/src/cocoa/utilities.c rename to desmume/src/frontend/cocoa/utilities.c diff --git a/desmume/src/cocoa/utilities.h b/desmume/src/frontend/cocoa/utilities.h similarity index 100% rename from desmume/src/cocoa/utilities.h rename to desmume/src/frontend/cocoa/utilities.h