Skip to content
This repository was archived by the owner on Sep 29, 2025. It is now read-only.

Commit 2564c57

Browse files
author
Flyinghead
committed
2 parents b30f715 + ae49c19 commit 2564c57

File tree

3 files changed

+17
-17
lines changed

3 files changed

+17
-17
lines changed

core/build.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@
198198
#define HOST_CPU CPU_ARM
199199
#elif defined(TARGET_OSX)
200200
#define HOST_OS OS_DARWIN
201-
#define HOST_CPU CPU_GENERIC
201+
#define HOST_CPU CPU_X86
202202
#elif defined(TARGET_OSX_X64)
203203
#define HOST_OS OS_DARWIN
204204
#define HOST_CPU CPU_X64

shell/apple/emulator-osx/emulator-osx/osx-main.mm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ void gl_swap() {
132132
return true;
133133
screen_width = w;
134134
screen_height = h;
135-
glViewport(0, 0, w, h);
136135
return rend_single_frame();
137136
}
138137

shell/apple/emulator-osx/reicast-osx.xcodeproj/project.pbxproj

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,8 @@
191191
84B7BF7F1B72720200F9733F /* stdclass.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 84B7BEA71B72720200F9733F /* stdclass.cpp */; };
192192
84B7BF831B727AD700F9733F /* osx-main.mm in Sources */ = {isa = PBXBuildFile; fileRef = 84B7BF821B727AD700F9733F /* osx-main.mm */; };
193193
84B7BF861B72871600F9733F /* EmuGLView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 84B7BF851B72871600F9733F /* EmuGLView.swift */; };
194-
AE1E292520947C6100FC6BA2 /* rec_x64.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AE1E292420947C6100FC6BA2 /* rec_x64.cpp */; };
195194
AE1E293B2095FB1600FC6BA2 /* rec_cpp.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AE1E293A2095FB1600FC6BA2 /* rec_cpp.cpp */; };
195+
AE1E294020A96B0B00FC6BA2 /* rec_x64.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AE1E293F20A96B0B00FC6BA2 /* rec_x64.cpp */; };
196196
EBDF374F1BB96581001191B5 /* audiobackend_coreaudio.cpp in Sources */ = {isa = PBXBuildFile; fileRef = EBDF374D1BB96581001191B5 /* audiobackend_coreaudio.cpp */; };
197197
EBDF37511BB969EE001191B5 /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EBDF37501BB969EE001191B5 /* CoreAudio.framework */; };
198198
EBDF37531BB969F8001191B5 /* AudioUnit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EBDF37521BB969F8001191B5 /* AudioUnit.framework */; };
@@ -539,12 +539,12 @@
539539
84B7BF821B727AD700F9733F /* osx-main.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = "osx-main.mm"; sourceTree = "<group>"; };
540540
84B7BF841B72821900F9733F /* emulator-osx-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "emulator-osx-Bridging-Header.h"; sourceTree = "<group>"; };
541541
84B7BF851B72871600F9733F /* EmuGLView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = EmuGLView.swift; sourceTree = "<group>"; };
542-
AE1E292420947C6100FC6BA2 /* rec_x64.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = rec_x64.cpp; sourceTree = "<group>"; };
543542
AE1E292820947D4700FC6BA2 /* xbyak.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = xbyak.h; sourceTree = "<group>"; };
544543
AE1E292920947D4700FC6BA2 /* xbyak_bin2hex.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = xbyak_bin2hex.h; sourceTree = "<group>"; };
545544
AE1E292A20947D4700FC6BA2 /* xbyak_mnemonic.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = xbyak_mnemonic.h; sourceTree = "<group>"; };
546545
AE1E292B20947D4700FC6BA2 /* xbyak_util.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = xbyak_util.h; sourceTree = "<group>"; };
547546
AE1E293A2095FB1600FC6BA2 /* rec_cpp.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = rec_cpp.cpp; sourceTree = "<group>"; };
547+
AE1E293F20A96B0B00FC6BA2 /* rec_x64.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = rec_x64.cpp; sourceTree = "<group>"; };
548548
EBDF374D1BB96581001191B5 /* audiobackend_coreaudio.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = audiobackend_coreaudio.cpp; sourceTree = "<group>"; };
549549
EBDF374E1BB96581001191B5 /* audiobackend_coreaudio.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = audiobackend_coreaudio.h; sourceTree = "<group>"; };
550550
EBDF37501BB969EE001191B5 /* CoreAudio.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreAudio.framework; path = System/Library/Frameworks/CoreAudio.framework; sourceTree = SDKROOT; };
@@ -659,7 +659,7 @@
659659
84B7BE7C1B72720200F9733F /* profiler */,
660660
84B7BE7F1B72720200F9733F /* README.md */,
661661
AE1E29392095FB1600FC6BA2 /* rec-cpp */,
662-
AE1E292320947C6100FC6BA2 /* rec-x64 */,
662+
AE1E293E20A96B0B00FC6BA2 /* rec-x64 */,
663663
84B7BE8F1B72720200F9733F /* reios */,
664664
84B7BE981B72720200F9733F /* rend */,
665665
84B7BEA71B72720200F9733F /* stdclass.cpp */,
@@ -1287,14 +1287,6 @@
12871287
path = gles;
12881288
sourceTree = "<group>";
12891289
};
1290-
AE1E292320947C6100FC6BA2 /* rec-x64 */ = {
1291-
isa = PBXGroup;
1292-
children = (
1293-
AE1E292420947C6100FC6BA2 /* rec_x64.cpp */,
1294-
);
1295-
path = "rec-x64";
1296-
sourceTree = "<group>";
1297-
};
12981290
AE1E292620947D4700FC6BA2 /* xbyak */ = {
12991291
isa = PBXGroup;
13001292
children = (
@@ -1315,6 +1307,15 @@
13151307
path = "../../../core/rec-cpp";
13161308
sourceTree = "<group>";
13171309
};
1310+
AE1E293E20A96B0B00FC6BA2 /* rec-x64 */ = {
1311+
isa = PBXGroup;
1312+
children = (
1313+
AE1E293F20A96B0B00FC6BA2 /* rec_x64.cpp */,
1314+
);
1315+
name = "rec-x64";
1316+
path = "../../../core/rec-x64";
1317+
sourceTree = "<group>";
1318+
};
13181319
/* End PBXGroup section */
13191320

13201321
/* Begin PBXNativeTarget section */
@@ -1478,7 +1479,7 @@
14781479
84B7BEF21B72720200F9733F /* zip_file_get_offset.c in Sources */,
14791480
84B7BF7B1B72720200F9733F /* gltex.cpp in Sources */,
14801481
84B7BEF41B72720200F9733F /* zip_filerange_crc.c in Sources */,
1481-
AE1E292520947C6100FC6BA2 /* rec_x64.cpp in Sources */,
1482+
AE1E294020A96B0B00FC6BA2 /* rec_x64.cpp in Sources */,
14821483
84B7BEB91B72720200F9733F /* elf.cpp in Sources */,
14831484
84B7BF6D1B72720200F9733F /* README.md in Sources */,
14841485
84B7BF2B1B72720200F9733F /* arm_mem.cpp in Sources */,
@@ -1662,7 +1663,7 @@
16621663
TARGET_NO_WEBUI,
16631664
TARGET_NO_NIXPROF,
16641665
TARGET_NO_COREIO_HTTP,
1665-
TARGET_NO_AREC,
1666+
TARGET_NO_AREC,
16661667
XBYAK_NO_OP_NAMES,
16671668
);
16681669
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
@@ -1708,7 +1709,7 @@
17081709
TARGET_NO_WEBUI,
17091710
TARGET_NO_NIXPROF,
17101711
TARGET_NO_COREIO_HTTP,
1711-
TARGET_NO_AREC,
1712+
TARGET_NO_AREC,
17121713
XBYAK_NO_OP_NAMES,
17131714
);
17141715
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
@@ -1766,7 +1767,7 @@
17661767
"$(inherited)",
17671768
);
17681769
"GCC_PREPROCESSOR_DEFINITIONS[arch=x86_64]" = (
1769-
TARGET_OSX_X64,
1770+
TARGET_OSX_X64,
17701771
"$(inherited)",
17711772
);
17721773
HEADER_SEARCH_PATHS = (

0 commit comments

Comments
 (0)