ADd compat.cpp to Mac port

This commit is contained in:
Michael Buckley 2020-09-07 09:02:10 -07:00
parent 3140d5784c
commit cfd8b299ba
1 changed files with 60 additions and 56 deletions

View File

@ -17,6 +17,7 @@
302EECA522DAD1B9006D1502 /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 302EECA422DAD1B9006D1502 /* CoreAudio.framework */; }; 302EECA522DAD1B9006D1502 /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 302EECA422DAD1B9006D1502 /* CoreAudio.framework */; };
3042F7E3232E9BDD00C03F5E /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3042F7E2232E9BDD00C03F5E /* Carbon.framework */; }; 3042F7E3232E9BDD00C03F5E /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3042F7E2232E9BDD00C03F5E /* Carbon.framework */; };
3045A1EF22D03C4B0092B97D /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3045A1EE22D03C4B0092B97D /* Cocoa.framework */; }; 3045A1EF22D03C4B0092B97D /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3045A1EE22D03C4B0092B97D /* Cocoa.framework */; };
3059DA94250690DB003EF183 /* compat.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3059DA93250690DB003EF183 /* compat.cpp */; };
30656200236A8BA700A1B3B2 /* gamecontrollerdb.txt in Resources */ = {isa = PBXBuildFile; fileRef = 306561FF236A8BA700A1B3B2 /* gamecontrollerdb.txt */; }; 30656200236A8BA700A1B3B2 /* gamecontrollerdb.txt in Resources */ = {isa = PBXBuildFile; fileRef = 306561FF236A8BA700A1B3B2 /* gamecontrollerdb.txt */; };
30714719230E379500917F82 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 30714718230E379500917F82 /* AppDelegate.m */; }; 30714719230E379500917F82 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 30714718230E379500917F82 /* AppDelegate.m */; };
3071471B230E379600917F82 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 3071471A230E379600917F82 /* Assets.xcassets */; }; 3071471B230E379600917F82 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 3071471A230E379600917F82 /* Assets.xcassets */; };
@ -259,6 +260,7 @@
3042F7E2232E9BDD00C03F5E /* Carbon.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Carbon.framework; path = System/Library/Frameworks/Carbon.framework; sourceTree = SDKROOT; }; 3042F7E2232E9BDD00C03F5E /* Carbon.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Carbon.framework; path = System/Library/Frameworks/Carbon.framework; sourceTree = SDKROOT; };
3045A1EC22D03C430092B97D /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; }; 3045A1EC22D03C430092B97D /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; };
3045A1EE22D03C4B0092B97D /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; }; 3045A1EE22D03C4B0092B97D /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; };
3059DA93250690DB003EF183 /* compat.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = compat.cpp; sourceTree = "<group>"; };
306561FF236A8BA700A1B3B2 /* gamecontrollerdb.txt */ = {isa = PBXFileReference; lastKnownFileType = text; path = gamecontrollerdb.txt; sourceTree = "<group>"; }; 306561FF236A8BA700A1B3B2 /* gamecontrollerdb.txt */ = {isa = PBXFileReference; lastKnownFileType = text; path = gamecontrollerdb.txt; sourceTree = "<group>"; };
30714715230E379500917F82 /* Snes9x.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Snes9x.app; sourceTree = BUILT_PRODUCTS_DIR; }; 30714715230E379500917F82 /* Snes9x.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Snes9x.app; sourceTree = BUILT_PRODUCTS_DIR; };
30714717230E379500917F82 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; }; 30714717230E379500917F82 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
@ -787,109 +789,110 @@
EAE061540526CCB900A80003 /* snes9x */ = { EAE061540526CCB900A80003 /* snes9x */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
307C861022D27C53001B879E /* tileimpl-h2x1.cpp */, EAE0615A0526CCB900A80003 /* 65c816.h */,
307C860D22D27C53001B879E /* tileimpl-n1x1.cpp */, BF0B39791FA5792F002B04D3 /* apu */,
307C860F22D27C53001B879E /* tileimpl-n2x1.cpp */,
307C860E22D27C53001B879E /* tileimpl.h */,
85FEF90A20DDB18D00C038E9 /* sha256.cpp */,
85FEF90B20DDB18D00C038E9 /* sha256.h */,
85FEF90620DDB15B00C038E9 /* bml.cpp */, 85FEF90620DDB15B00C038E9 /* bml.cpp */,
85FEF90720DDB15C00C038E9 /* bml.h */, 85FEF90720DDB15C00C038E9 /* bml.h */,
EAE0615A0526CCB900A80003 /* 65c816.h */,
EA2F381A09B17E9E0078DCA7 /* bsx.h */,
EAE061600526CCB900A80003 /* c4.h */,
EAE061640526CCB900A80003 /* cheats.h */,
EA809E9308F8D6C40072CDFB /* controls.h */,
EAE0616A0526CCB900A80003 /* cpuaddr.h */,
EAE0616C0526CCB900A80003 /* cpuexec.h */,
EAE0616D0526CCB900A80003 /* cpumacro.h */,
EAE0616F0526CCB900A80003 /* cpuops.h */,
EA809E9D08F8D73A0072CDFB /* crosshairs.h */,
EA6E6C0E08F9734500CB3555 /* debug.h */,
EAE061730526CCB900A80003 /* display.h */,
EAE061750526CCB900A80003 /* dma.h */,
CF5D3E100FAFD34200340007 /* dsp.h */,
EAE0617A0526CCB900A80003 /* font.h */,
EAE0617D0526CCB900A80003 /* fxemu.h */,
EAE0617F0526CCB900A80003 /* fxinst.h */,
EAE061800526CCB900A80003 /* getset.h */,
EAE061820526CCB900A80003 /* gfx.h */,
EA809E9508F8D6E00072CDFB /* language.h */,
EA00D01F0A5A998F000C58E0 /* logger.h */,
EAE061B10526CCB900A80003 /* memmap.h */,
EAE061B20526CCB900A80003 /* messages.h */,
EAE061B30526CCB900A80003 /* missing.h */,
EA813E86066F5076004F99B5 /* movie.h */,
BF0B39E21FA58124002B04D3 /* msu1.h */,
EAE061C40526CCB900A80003 /* obc1.h */,
EAE061C60526CCB900A80003 /* pixform.h */,
EAE061C70526CCB900A80003 /* port.h */,
EAE061C90526CCB900A80003 /* ppu.h */,
EA809E9708F8D70D0072CDFB /* stream.h */,
EAE061CC0526CCB900A80003 /* sa1.h */,
EAE061CE0526CCB900A80003 /* sar.h */,
EAE061D00526CCB900A80003 /* screenshot.h */,
EAE061D20526CCB900A80003 /* sdd1.h */,
EA22EFA2053EEDE500A80003 /* sdd1emu.h */,
EAE061D50526CCB900A80003 /* seta.h */,
EAE061DC0526CCB900A80003 /* snapshot.h */,
EAE061DE0526CCB900A80003 /* snes9x.h */,
EAE061E60526CCB900A80003 /* spc7110.h */,
CF2CFFDC0F10F2DD00B8B35E /* spc7110dec.h */,
CF2CFFDB0F10F2DD00B8B35E /* spc7110emu.h */,
EAE061EA0526CCB900A80003 /* srtc.h */,
CFA82C3D0F1B43A60089C17F /* srtcemu.h */,
EAE061EC0526CCB900A80003 /* tile.h */,
EA2F380F09B17E070078DCA7 /* bsx.cpp */, EA2F380F09B17E070078DCA7 /* bsx.cpp */,
EA2F381A09B17E9E0078DCA7 /* bsx.h */,
EAE0615F0526CCB900A80003 /* c4.cpp */, EAE0615F0526CCB900A80003 /* c4.cpp */,
EAE061600526CCB900A80003 /* c4.h */,
EAE061610526CCB900A80003 /* c4emu.cpp */, EAE061610526CCB900A80003 /* c4emu.cpp */,
EAE061630526CCB900A80003 /* cheats.cpp */, EAE061630526CCB900A80003 /* cheats.cpp */,
EAE061640526CCB900A80003 /* cheats.h */,
EAE061650526CCB900A80003 /* cheats2.cpp */, EAE061650526CCB900A80003 /* cheats2.cpp */,
EAE061660526CCB900A80003 /* clip.cpp */, EAE061660526CCB900A80003 /* clip.cpp */,
3059DA93250690DB003EF183 /* compat.cpp */,
EA809E9908F8D7240072CDFB /* controls.cpp */, EA809E9908F8D7240072CDFB /* controls.cpp */,
EA809E9308F8D6C40072CDFB /* controls.h */,
EAE061690526CCB900A80003 /* cpu.cpp */, EAE061690526CCB900A80003 /* cpu.cpp */,
EAE0616A0526CCB900A80003 /* cpuaddr.h */,
EAE0616B0526CCB900A80003 /* cpuexec.cpp */, EAE0616B0526CCB900A80003 /* cpuexec.cpp */,
EAE0616C0526CCB900A80003 /* cpuexec.h */,
EAE0616D0526CCB900A80003 /* cpumacro.h */,
EAE0616E0526CCB900A80003 /* cpuops.cpp */, EAE0616E0526CCB900A80003 /* cpuops.cpp */,
EAE0616F0526CCB900A80003 /* cpuops.h */,
EA809E9B08F8D72C0072CDFB /* crosshairs.cpp */, EA809E9B08F8D72C0072CDFB /* crosshairs.cpp */,
EA809E9D08F8D73A0072CDFB /* crosshairs.h */,
EAE061710526CCB900A80003 /* debug.cpp */, EAE061710526CCB900A80003 /* debug.cpp */,
EA6E6C0E08F9734500CB3555 /* debug.h */,
EAE061730526CCB900A80003 /* display.h */,
EAE061740526CCB900A80003 /* dma.cpp */, EAE061740526CCB900A80003 /* dma.cpp */,
EAE061750526CCB900A80003 /* dma.h */,
CF5D3E270FAFD35A00340007 /* dsp.cpp */, CF5D3E270FAFD35A00340007 /* dsp.cpp */,
CF5D3E100FAFD34200340007 /* dsp.h */,
EAE061760526CCB900A80003 /* dsp1.cpp */, EAE061760526CCB900A80003 /* dsp1.cpp */,
CF5D3E1B0FAFD35400340007 /* dsp2.cpp */, CF5D3E1B0FAFD35400340007 /* dsp2.cpp */,
CF5D3E1D0FAFD35400340007 /* dsp3.cpp */, CF5D3E1D0FAFD35400340007 /* dsp3.cpp */,
CF5D3E1C0FAFD35400340007 /* dsp4.cpp */, CF5D3E1C0FAFD35400340007 /* dsp4.cpp */,
CF5553B00EA24C36005957E4 /* filter */,
EAE0617A0526CCB900A80003 /* font.h */,
EAE0617C0526CCB900A80003 /* fxemu.cpp */, EAE0617C0526CCB900A80003 /* fxemu.cpp */,
EAE0617D0526CCB900A80003 /* fxemu.h */,
EAE0617E0526CCB900A80003 /* fxinst.cpp */, EAE0617E0526CCB900A80003 /* fxinst.cpp */,
EAE0617F0526CCB900A80003 /* fxinst.h */,
EAE061800526CCB900A80003 /* getset.h */,
EA31FE2D05F7743E00E13748 /* gfx.cpp */, EA31FE2D05F7743E00E13748 /* gfx.cpp */,
EAE061820526CCB900A80003 /* gfx.h */,
EAE061830526CCB900A80003 /* globals.cpp */, EAE061830526CCB900A80003 /* globals.cpp */,
EAA7B5D807609F76001BAB8B /* jma */,
EA809E9508F8D6E00072CDFB /* language.h */,
EAE061A90526CCB900A80003 /* loadzip.cpp */, EAE061A90526CCB900A80003 /* loadzip.cpp */,
EA00D01D0A5A9956000C58E0 /* logger.cpp */, EA00D01D0A5A9956000C58E0 /* logger.cpp */,
EA00D01F0A5A998F000C58E0 /* logger.h */,
EAECB65C04AC7FCD00A80003 /* macosx */,
EAB7319C0527033000A80003 /* memmap.cpp */, EAB7319C0527033000A80003 /* memmap.cpp */,
EAE061B10526CCB900A80003 /* memmap.h */,
EAE061B20526CCB900A80003 /* messages.h */,
EAE061B30526CCB900A80003 /* missing.h */,
EA813E9A066F50A5004F99B5 /* movie.cpp */, EA813E9A066F50A5004F99B5 /* movie.cpp */,
EA813E86066F5076004F99B5 /* movie.h */,
BF0B39DE1FA580F9002B04D3 /* msu1.cpp */, BF0B39DE1FA580F9002B04D3 /* msu1.cpp */,
BF0B39E21FA58124002B04D3 /* msu1.h */,
EAE061C30526CCB900A80003 /* obc1.cpp */, EAE061C30526CCB900A80003 /* obc1.cpp */,
EAE061C40526CCB900A80003 /* obc1.h */,
EAE061C60526CCB900A80003 /* pixform.h */,
EAE061C70526CCB900A80003 /* port.h */,
EAE061C80526CCB900A80003 /* ppu.cpp */, EAE061C80526CCB900A80003 /* ppu.cpp */,
EA809E9F08F8D7530072CDFB /* stream.cpp */, EAE061C90526CCB900A80003 /* ppu.h */,
EAE061CB0526CCB900A80003 /* sa1.cpp */, EAE061CB0526CCB900A80003 /* sa1.cpp */,
EAE061CC0526CCB900A80003 /* sa1.h */,
EAE061CD0526CCB900A80003 /* sa1cpu.cpp */, EAE061CD0526CCB900A80003 /* sa1cpu.cpp */,
EAE061CE0526CCB900A80003 /* sar.h */,
EAE061D00526CCB900A80003 /* screenshot.h */,
EAE061D10526CCB900A80003 /* sdd1.cpp */, EAE061D10526CCB900A80003 /* sdd1.cpp */,
EAE061D20526CCB900A80003 /* sdd1.h */,
EA22EFA4053EEE0700A80003 /* sdd1emu.cpp */, EA22EFA4053EEE0700A80003 /* sdd1emu.cpp */,
EA22EFA2053EEDE500A80003 /* sdd1emu.h */,
EAE061D40526CCB900A80003 /* seta.cpp */, EAE061D40526CCB900A80003 /* seta.cpp */,
EAE061D50526CCB900A80003 /* seta.h */,
EAE061D60526CCB900A80003 /* seta010.cpp */, EAE061D60526CCB900A80003 /* seta010.cpp */,
EAE061D70526CCB900A80003 /* seta011.cpp */, EAE061D70526CCB900A80003 /* seta011.cpp */,
EAE061D80526CCB900A80003 /* seta018.cpp */, EAE061D80526CCB900A80003 /* seta018.cpp */,
85FEF90A20DDB18D00C038E9 /* sha256.cpp */,
85FEF90B20DDB18D00C038E9 /* sha256.h */,
EAE061DB0526CCB900A80003 /* snapshot.cpp */, EAE061DB0526CCB900A80003 /* snapshot.cpp */,
EAE061DC0526CCB900A80003 /* snapshot.h */,
EAE061DE0526CCB900A80003 /* snes9x.h */,
EAE061E50526CCB900A80003 /* spc7110.cpp */, EAE061E50526CCB900A80003 /* spc7110.cpp */,
EAE061E60526CCB900A80003 /* spc7110.h */,
CF2CFFD40F10F2C000B8B35E /* spc7110dec.cpp */, CF2CFFD40F10F2C000B8B35E /* spc7110dec.cpp */,
CF2CFFDC0F10F2DD00B8B35E /* spc7110dec.h */,
CF2CFFD30F10F2C000B8B35E /* spc7110emu.cpp */, CF2CFFD30F10F2C000B8B35E /* spc7110emu.cpp */,
CF2CFFDB0F10F2DD00B8B35E /* spc7110emu.h */,
EAE061E90526CCB900A80003 /* srtc.cpp */, EAE061E90526CCB900A80003 /* srtc.cpp */,
EAE061EA0526CCB900A80003 /* srtc.h */,
CFA82C3E0F1B43A60089C17F /* srtcemu.cpp */, CFA82C3E0F1B43A60089C17F /* srtcemu.cpp */,
CFA82C3D0F1B43A60089C17F /* srtcemu.h */,
EA809E9F08F8D7530072CDFB /* stream.cpp */,
EA809E9708F8D70D0072CDFB /* stream.h */,
EAE061EB0526CCB900A80003 /* tile.cpp */, EAE061EB0526CCB900A80003 /* tile.cpp */,
BF0B39791FA5792F002B04D3 /* apu */, EAE061EC0526CCB900A80003 /* tile.h */,
CF5553B00EA24C36005957E4 /* filter */, 307C861022D27C53001B879E /* tileimpl-h2x1.cpp */,
EAA7B5D807609F76001BAB8B /* jma */, 307C860D22D27C53001B879E /* tileimpl-n1x1.cpp */,
307C860F22D27C53001B879E /* tileimpl-n2x1.cpp */,
307C860E22D27C53001B879E /* tileimpl.h */,
EAE061FD0526CCB900A80003 /* unzip */, EAE061FD0526CCB900A80003 /* unzip */,
EAECB65C04AC7FCD00A80003 /* macosx */,
); );
name = snes9x; name = snes9x;
path = ..; path = ..;
@ -1296,6 +1299,7 @@
307C861822D27C53001B879E /* tileimpl-h2x1.cpp in Sources */, 307C861822D27C53001B879E /* tileimpl-h2x1.cpp in Sources */,
30D15D8E22CE6B75005BC352 /* s9x-jma.cpp in Sources */, 30D15D8E22CE6B75005BC352 /* s9x-jma.cpp in Sources */,
30D15D8F22CE6B75005BC352 /* winout.cpp in Sources */, 30D15D8F22CE6B75005BC352 /* winout.cpp in Sources */,
3059DA94250690DB003EF183 /* compat.cpp in Sources */,
30D15D9322CE6B75005BC352 /* ioapi.c in Sources */, 30D15D9322CE6B75005BC352 /* ioapi.c in Sources */,
30D15D9422CE6B75005BC352 /* unzip.c in Sources */, 30D15D9422CE6B75005BC352 /* unzip.c in Sources */,
); );