Commit Graph

880 Commits

Author SHA1 Message Date
hikari_no_yume
e9b7d6ef2c Prepare for 0.2.0 release v0.2.0 2023-08-31 22:52:02 +02:00
hikari_no_yume
2d17ba4078 Markdown syntax tweaks 2023-08-31 20:57:40 +02:00
hikari_no_yume
6e5d2fbd2d Add small version label in the corner of the app picker
This is the only version label that can be seen on Android without use
of logcat.
2023-08-31 20:13:48 +02:00
hikari_no_yume
0dfebc40c9 More accurately describe the non-Android graphics bug 2023-08-31 19:04:44 +02:00
hikari_no_yume
4551b883ac Note that the Files app might work 2023-08-31 19:02:18 +02:00
hikari_no_yume
10ae9d689e Add Android usage directions 2023-08-31 18:57:03 +02:00
hikari_no_yume
dc5f789085 Add warning about uncapped framerate and s/fps/framerate/ 2023-08-31 18:27:23 +02:00
hikari_no_yume
b1f4cab902 Add FPS counter option (--print-fps) 2023-08-31 18:07:43 +02:00
hikari_no_yume
2dc19e0646 Implement removeItemAtPath:error: on NSFileManager 2023-08-31 17:19:19 +02:00
hikari_no_yume
683ffdc6e4 Remove overlooked debug prints 2023-08-31 15:52:23 +02:00
hikari_no_yume
9b7eb3c612 Remove outdated TODO comments 2023-08-31 15:51:49 +02:00
hikari_no_yume
d6772ae5f1 Less slow memory allocator
- Use a BTreeMap to hold allocations, to avoid linear searches when
  trying to merge adjacent chunks when freeing
- Use size-based buckets, to reduce the scope of linear searches when
  allocating
- Aggressive Inline™
- Use .swap_remove() where possible to avoid memmove()s

Special thanks to @ciciplusplus for pointing out to me that the old
allocator's accidental quadraticness was becoming a big problem in
certain titles.
2023-08-31 15:46:49 +02:00
hikari_no_yume
ea2243df90 Add default button bindings for CBNK 3D and Super Monkey Ball 2023-08-31 10:07:58 +02:00
hikari_no_yume
c4581033bb Mention Donut Games compatibility 2023-08-30 22:11:56 +02:00
ciciplusplus
449b5f6336 naive __strcpy_chk implementation 2023-08-30 20:20:27 +02:00
hikari_no_yume
c04ed7a33d Implement alcProcessContext() and alcSuspendContext() 2023-08-30 19:54:28 +02:00
ciciplusplus
841d34a1e1 fsetpos/fgetpos implementation 2023-08-30 19:35:07 +02:00
hikari_no_yume
b47b787f74 Allow zero-size allocations in all the alloc functions (macOS does) 2023-08-30 19:32:03 +02:00
hikari_no_yume
846c95dfdd Implement stringWithString: and initWithString: 2023-08-30 19:24:09 +02:00
ciciplusplus
fb128e870e Properly implement CFAbsoluteTimeGetCurrent() 2023-08-30 19:01:45 +02:00
ciciplusplus
bbfe22e96b CFGregorianDate and CFAbsoluteTimeGetGregorianDate implementation 2023-08-30 19:00:19 +02:00
hikari_no_yume
d4743fbdc8 Some tweaks to NSFileManager changes
- directoryContentsAtPath: should autorelease its result
- fileExistsAtPath:isDirectory: can use MutPtr<bool> instead of
  MutPtr<u8>, this is safe
  - added a SafeRead implementation for it
- use snake_case for local variables
2023-08-30 18:56:30 +02:00
ciciplusplus
9f4208af4c NSFileManager methods for listing and checking file existence 2023-08-30 18:51:59 +02:00
ciciplusplus
a6691f9f9f Stubish implementation of stringByStandardizingPath 2023-08-30 18:43:44 +02:00
ciciplusplus
ce09edd1e7 uniqueIdentifier of UIDevice 2023-08-30 18:42:57 +02:00
hikari_no_yume
d479d466e8 Remove outdated TODO comment
Missed in 2960cf6260.
2023-08-30 18:26:14 +02:00
hikari_no_yume
c8e1eb1857 Implement chdir() and improve the test for getcwd() 2023-08-30 18:22:07 +02:00
hikari_no_yume
569add79ab Implement getcwd()
This also renames current_directory to working_directory, which seems
more formally correct.
2023-08-30 17:15:05 +02:00
hikari_no_yume
a376d249bc clang-format -i tests/TestApp_source/main.c 2023-08-30 17:05:18 +02:00
hikari_no_yume
0fe6c64e36 Display icons with rounded corners 2023-08-29 17:18:19 +02:00
hikari_no_yume
0a81aa9ffb Add FUNDING.yml (GitHub's sponsor links thing) 2023-08-29 09:07:26 +02:00
hikari_no_yume
fe82760332 Add Fastlane to the supported apps 2023-08-28 22:37:25 +02:00
hikari_no_yume
a5f50f3800 Add default options for Fastlane 2023-08-28 21:04:19 +02:00
hikari_no_yume
33dd7550a1 Implement the full set of alListener and alGetListener accessors 2023-08-28 20:00:03 +02:00
hikari_no_yume
e98e80ff1f Implement the full set of alSource and alGetSource accessors 2023-08-28 19:55:15 +02:00
hikari_no_yume
478e467ae6 Implement alcGetContextsDevice() 2023-08-28 19:34:54 +02:00
hikari_no_yume
831f769a57 Implement alcGetCurrentContext() 2023-08-28 19:30:12 +02:00
hikari_no_yume
ead20bd170 Fix truncation of stereo audio when reading MP3 2023-08-28 19:19:58 +02:00
hikari_no_yume
6bd0e3ebec Handle EOF in AudioFileReadBytes() 2023-08-28 19:19:38 +02:00
hikari_no_yume
db9e9887f4 Implement fileURLWithPath: and fileURLWithPath:isDirectory: on NSURL 2023-08-28 18:44:07 +02:00
hikari_no_yume
641ba7f503 Implement getpid(), getppid() 2023-08-28 18:39:58 +02:00
hikari_no_yume
2430d16cf4 Put app in /var/mobile/Applications rather than /User/Applications
The former seems to be what is used on iOS 4, at least. The latter is
a real path also, but it's seemingly not the one that apps are launched
from.

This doesn't have any impact on compatibility that I'm aware of.
2023-08-28 18:25:18 +02:00
hikari_no_yume
9791555cf7 Use / as the initial working directory
This is consistent with at least iOS 4 and the iPhone OS 2 simulator,
and turns out to be depended on by several apps: Fastlane Street Racing
and Low Grav Racer (at least the Lite version) contain buggy code that
strips the leading / from absolute paths!
2023-08-28 18:07:44 +02:00
hikari_no_yume
4455ed9a7b Don't autorelease the default NSFileManager, it's a persistent object
Thanks to @ciciplusplus for finding this bug.
2023-08-27 22:02:05 +02:00
hikari_no_yume
8664a21915 Implement AudioQueueGetParameter() 2023-08-27 22:01:32 +02:00
ciciplusplus
94575367f3 Remove atomic = false assertion in objc_copyStruct and add an explanation comment 2023-08-27 21:45:29 +02:00
hikari_no_yume
e3fd33ce34 Clarify that eof() is not a POSIX function 2023-08-27 21:41:30 +02:00
ciciplusplus
a2430fc42a feof implementation 2023-08-27 21:40:25 +02:00
hikari_no_yume
8dbd5c46a7 Namespace NSArray object enumerator 2023-08-27 21:38:54 +02:00
ciciplusplus
0d8f2a6878 Implement objectEnumerator for NSArray 2023-08-27 21:38:54 +02:00