Commit Graph

2160 Commits

Author SHA1 Message Date
abnormalmaps
9666ff6746 Support building Objective C in TestApp
Supports building Objective-C code inside TestApp by using the
common3.0-sdk.

Change-Id: I684e2892f750c03818dd2bc35f0d108e61611e15
2025-09-18 12:22:40 +02:00
ciciplusplus
d9b0991b1a Enable --ignore-gl-errors for some games by default
Change-Id: Id8de0eb627f7b35d8ebf5cb23f80e14940b89d07
2025-09-16 21:57:31 +02:00
ciciplusplus
d14c8d06fa Add --ignore-gl-errors CLI option
Change-Id: Id8f02381f97e872b94138ece159abd7d7fdb4f8d
2025-09-16 21:57:31 +02:00
ciciplusplus
fc5406e3d0 Implement CFStringCreateWithPascalString() and CFStringGetPascalString()
Change-Id: Ied554375e5fd66516f660716215277131c76b40b
2025-09-16 21:39:58 +02:00
ciciplusplus
d0805ac3a7 Account for null context in CFRunLoopTimerCreate()
Change-Id: I7f8b04f178cdde6f72ff5318ab6c66f4d5d1a46f
2025-09-16 21:39:58 +02:00
ciciplusplus
caf7ebce8c Stubish implementation for CGContextClipToRect()
Change-Id: I4737c658c3239db6534310aa2f1ce439ee96ea84
2025-09-16 21:39:58 +02:00
ciciplusplus
a5c10cc1af Implement CGImageCreateCopyWithColorSpace()
Change-Id: I8c506d64cbbd1e42c283a754dcc1227282a642b8
2025-09-16 21:39:58 +02:00
abnormalmaps
52d4a486c7 Allow run loop reentrancy
Change-Id: I4d01f3c916a5e2aa5922d8d6154d1ad51f82e4e1
2025-09-16 01:25:34 -04:00
abnormalmaps
6a6c72cc46 Add [NSString string]
Change-Id: I4fb4b423f6b4c87e15af12d68ab0e03846c6580b
2025-09-15 02:02:02 +00:00
abnormalmaps
f7010029f1 Add [NSUserDefaults arrayForKey]
Change-Id: If16f7dbf6483c517d69a83c3c0b1f7b18a4d11ea
2025-09-14 22:09:57 +00:00
abnormalmaps
8238da604c Use log_once for atomic property set/get
Change-Id: I3f2a7162ef044f594efc1f4ea426090ca44b61b4
2025-09-14 22:04:51 +00:00
ciciplusplus
4c11f6086c Improve JPEG test a bit
Change-Id: I6604411c7605f69d13f8b6d686843e251582fd57
2025-09-14 23:31:49 +02:00
ciciplusplus
e20dda1fbf Implement CGImageCreateWithJPEGDataProvider()
Change-Id: I25e39c6ee479e55ac75a6e3ddeb8effb9ea7d115
2025-09-14 23:17:06 +02:00
ciciplusplus
32ff5ce8a6 Fix condition checking for (un-un-)premultiplying.
Thanks to @abnormalmaps for spotting this!

Change-Id: I3a134d60f2bdfa54c66ff2b8b7da3b1477c9ecd5
2025-09-14 23:07:52 +02:00
ciciplusplus
67e4787025 (Un-un-)premultiply pixels only for PNG images
Change-Id: I590f8e0779ef5d47463b7992dbf4555f9e87eec6
2025-09-14 22:57:01 +02:00
ciciplusplus
d64033b04f Remove "-Wno-unused-function" flag to fix Windows build
Change-Id: I2eaf54b1306c16b40d34e1af0a550cb924ee81db
2025-09-14 22:26:16 +02:00
ciciplusplus
296cf636cb Enable JPEG support for stb_image.h
Change-Id: I2bc69950419897a65ba428df8ab8dfd833a0b141
2025-09-14 22:22:16 +02:00
ciciplusplus
6183e23ba1 Correct typos in build flags for stb_image.h
The original intent was to support PNG only without stdio.

Change-Id: Iedfcc2c7a2f4a9b584189006d02356b66e031e3f
2025-09-14 22:18:31 +02:00
Alexander Cieslewicz
68f0a37a75 Move mach_* files to separate mach folder
Also extracts core num types to their own file.

Change-Id: Id598054d4f90572bb69cc6766156d1eea46f02d0
2025-09-14 22:04:10 +03:00
ciciplusplus
b3bf6ceeb3 Implement page size alignment in alloc
Change-Id: I9b02c685f93d6d28752b3b8ca580bb3afda25358
2025-09-14 18:42:49 +02:00
ciciplusplus
f530f396f5 Put FIXME back to NSURL initFileURLWithPath:isDirectory: method
Only tilde resolution was addressed [here](afa3d5f7d5)

Change-Id: Ibec0ffa0fda4f29653301b2a97ef19208a70d671
2025-09-14 16:25:00 +02:00
ciciplusplus
76aee11541 Implement CFURLHasDirectoryPath()
Change-Id: Iefaf17fa0c170e270eacde1818f1fc0ceedb6df0
2025-09-14 16:04:21 +02:00
ciciplusplus
afa3d5f7d5 Expand tilde if needed in NSURL initFileURLWithPath:isDirectory: method
Change-Id: Iac4b72166a40137bd7904f58d9209c11790e6a95
2025-09-14 14:15:22 +02:00
ciciplusplus
b1addaa385 NSArray sortedArrayUsingSelector: method
Change-Id: I415b71c14800060c5c84475a0bf432f8340576e8
2025-09-13 00:17:22 +02:00
ciciplusplus
fefe8d8cb3 NSArray mutableCopy implementation
Change-Id: Icd79dce643b471d4fc9d4d487c2f4fd01f227742
2025-09-13 00:17:22 +02:00
ciciplusplus
237cdca2d3 NSError code method
Change-Id: Ie341b736f9fc4b6951aec26ee2567464b743f0a9
2025-09-13 00:13:05 +02:00
ciciplusplus
59155f0880 OSAtomicCompareAndSwapIntBarrier() implementation
Change-Id: I93009d2843570568006790102cd45debc9f2ca20
2025-09-13 00:12:44 +02:00
ciciplusplus
72c9d292d4 log_once for atomic objc_getProperty TODO
Change-Id: I4608cabdea25b3d05659abab4701a626fd8c3ec6
2025-09-13 00:11:55 +02:00
apexad
ff3d16e1b6 Support UIPrerenderedIcon as string
Change-Id: Ia53030e9b04593f7e6f65130fc0c41e9140c3714
2025-09-11 08:10:40 -06:00
Alexander Cieslewicz
f41e70890a Loosen bounds on statfs assertion
Change-Id: I066346be6709af8d2318616ec1ecdec41e4a99fa
2025-09-10 14:06:05 +03:00
bognarit80
139e1a9a15 Handle binaries with no SymbolStubs section
Fixes https://github.com/touchHLE/touchHLE/issues/496

Co-authored-by: hikari_no_yume <hikari@noyu.me>

Change-Id: I336143b504183d167e96589f19d580b372be0f02
2025-09-09 20:05:21 +00:00
apexad
bc2ef8aef3 NSFileManager log_once
Change-Id: I947809330cdd5a1af70844861714d643c9fbc8b7
2025-09-09 11:20:02 -06:00
bognarit80
165251810b Add UILabel setShadowColor and setShadowOffset stubs
Change-Id: I81111b35b66f953154b468c95a42613dd0c2a336
2025-09-07 19:54:07 +00:00
bognarit80
7fc64bed13 UIWebView loadRequest stub
Change-Id: I27a75abe74bd98f85c065124927eee789a064e72
2025-09-07 19:54:07 +00:00
Alexander Cieslewicz
04523abf1d Fix UIView setNeedsDisplay by checking class not object
This fixes #495.
Also fixes some typos.

Change-Id: I2ec08bde66e928ee9cf89d1f11b32a653053035c
2025-09-07 14:14:34 +03:00
Alexander Cieslewicz
5da510afd2 Make UIImageView directly write image to layer
This also refactors UIView to determine whether a layer needs to be
displayed or not.

Change-Id: Ib19229057e1324bc70382dd99429c9c9238f7df5
2025-09-06 19:03:46 +03:00
Alexander Cieslewicz
7c7cde1190 Implement pread/pwrite functions
Truly implementing pread/prwrite is challenging due to differences in
windows/posix file handling. This patch emulates pread/prwite behavior
using lseek and the corresponding read/write functions.

Change-Id: I6cf2d3e9f5fffd85ac2e9487202a6eb1f248db08
2025-09-06 12:54:17 +00:00
ciciplusplus
425f9898c3 Add ALC_REFRESH and ALC_SYNC as allowed context attributes for
alcCreateContext()

Change-Id: Ibba0342d4309cf73697d51d9c4ff170935862ac2
2025-09-04 23:39:37 +02:00
ciciplusplus
de24b733e2 Deal with MAX_COLOR_ATTACHMENTS_OES in glGetIntegerv()
Change-Id: Ie87eab5ece35128dfd41502a83da9270cf21460c
2025-09-03 23:07:45 +02:00
ciciplusplus
f22e7da90c Stub for system()
Change-Id: I399f3cfa7089fa5b625f5498cec6cb5871fca7b6
2025-09-03 23:01:04 +02:00
ciciplusplus
55c55b97d5 Implement kAudioSessionProperty_CurrentHardwareIOBufferDuration
in AudioSessionGetProperty()

Change-Id: I9d0fb6279209f7141676f8758ad6ce617904e695
2025-09-03 21:43:32 +02:00
ciciplusplus
05bc9e8fa1 Implement glSampleCoverage() and glSampleCoveragex()
Change-Id: Ib2beef1c218b34eae49ac89a6c3ff770c313fb43
2025-09-03 21:22:17 +02:00
ciciplusplus
9faddfffe5 Implement CGImageGetBytesPerRow()
Change-Id: Id5fa6cc4e21601c656f0d94763d766220ffa8726
2025-09-03 20:58:09 +02:00
ciciplusplus
f483ac86b2 Add more clip planes to the list of capabilities
Change-Id: I5c3d9f3ea532968cbe0af57f887227d8fef827c1
2025-09-03 20:58:02 +02:00
abnormalmaps
3591d05854 Add [NSMutableArray arrayWithObjects]
Change-Id: If5c398f0c694d1d7563640ccf0018609d04a2ad0
2025-09-03 14:43:31 +00:00
abnormalmaps
ab7ef6121b Add [NSMutableArray replaceObjectAtIndex:...]
Change-Id: Iaa0c3834dad5ab6e459bf71060aa7899f4d105c3
2025-09-03 14:42:18 +00:00
abnormalmaps
7ce2955911 Add NSCopying implementation for NSMutableArray
Change-Id: I1fb985f8a485b251bf220ba8bcae01126ff306ef
2025-09-03 14:41:59 +00:00
ciciplusplus
31038dce08 Fix writing a NSString to the file
Change-Id: I605d33443cb2452719fa58c95c59af30fb7b9d49
2025-09-03 00:05:35 +02:00
ciciplusplus
a78091f121 Correct field width in NSDateFormatter
According to Unicode Technical Standard #35, the number of characters
specifies the field width (most of the time).

Change-Id: I90f8eeeacfb34eee71d70e845abe0d53896b14e6
2025-09-03 00:05:28 +02:00
abnormalmaps
afea20fb05 Stub UIImage stretchableImageWithLeftCapWidth:...
Change-Id: Ie38042d3e19d8706abace437323daf02d4d52d65
2025-09-01 21:53:27 +00:00