Commit Graph
173 Commits
Author SHA1 Message Date
Neil Haverlandt 245df758f4 Create a Preference type to help identify the preference in the dictionary. Will allow to easily add preference types in the future 2021-01-29 19:44:10 -07:00
Neil Haverlandt e6d255d3e7 Create Unique PreferenceID and use it instead of preferenceName and GroupID
Create a slider Preference
This simplifies menu preferences Creation.
2021-01-29 17:05:05 -07:00
Neil Haverlandt c9f3c12f32 Rename AdvancedMenu to CorePreferences and move functions out of the EmuCore and into the GameCore 2021-01-29 11:54:53 -07:00
Neil Haverlandt 65facce3e8 AdvancedMenuing Added 2021-01-22 15:00:51 -07:00
Stuart Carnie 848d787940 feat: Use Apple unified logging for more fine-grained control of output
Using the `log` tool, logging verbosity can be easily adjusted. For
example, the following will disable audio read / write buffer under or
overrun log messages:

```
sudo log config --subsystem org.openemu.OpenEmuBase.audio \
  --mode 'level:off'
```
2020-11-14 14:58:39 +11:00
J-rg 49a95defca Modernize Info.plist files 2020-10-18 00:47:22 +02:00
J-rg f9f0b6ee85 Remove empty InfoPlist.strings files 2020-10-18 00:47:22 +02:00
Stuart Carnie 8a8da5de35 return OEIntSize for consistency and expectation these are integral 2020-09-12 14:28:59 -07:00
Stuart Carnie 50c5716045 remove unused API 2020-09-02 19:19:54 -07:00
Stuart Carnie 0ddf35981e Add API to determine nearest integral size 2020-09-01 06:16:53 -07:00
clobber f132372197 Remove unused OEGameCore ROMCRC32 property. 2020-08-25 10:54:20 -05:00
Stuart Carnie 2c93a2a0c4 Introduce pure OECorrectScreenSizeForAspectSize function; Swift APIs 2020-08-23 08:38:18 -07:00
Stuart Carnie b990e6496f chore: Fix compiler warnings about importing public headers 2020-07-26 07:45:00 -07:00
Daniele Cattaneo dfaee1f846 Silence all the remaining "implementing deprecated method" warnings in OEGameCore.
They are meant to be implemented even though they are deprecated to maintain backwards compatibility. OpenEmuBase builds without a single warning-less now!
2020-01-25 20:53:57 +01:00
Daniele Cattaneo aa9360f123 Add new game core info dictionary constants for the new auto-deprecation functionality. 2020-01-03 03:05:52 +01:00
Daniele Cattaneo cacadc76ff Clean up a bit the game core info dictionary key constants. 2020-01-03 03:05:27 +01:00
Daniele Cattaneo f4c6836758 Add more display mode utility functions and macros.
At this point I don't think there is anything else to add here!
2020-01-02 02:48:01 +01:00
Daniele Cattaneo fa51050ede Move all display mode key definitions to their own file. Add utility macros, functions & documentation related to display mode. 2020-01-01 23:48:32 +01:00
Stuart Carnie f277662c91 feat: Swift API improvement 2019-12-21 15:14:41 -07:00
Daniele Cattaneo 4bc08980e7 Add a displayMode key for hiding a mode from the nextDisplayMode: and lastDisplayMode: actions.
The hidden mode remains available from the menu.

Also, add documentation for several displayMode related code.
2019-11-16 13:41:22 +01:00
Stuart Carnie 48c631ca96 chore: just use the block 2019-10-30 20:41:32 -07:00
Daniele Cattaneo b8d2022e0b Fix various warnings. 2019-09-30 00:03:43 +02:00
Daniele Cattaneo 26e9277929 Improve rapid fire rate control. 2019-09-26 21:17:19 +02:00
Daniele Cattaneo 46176e0895 Add a note to explain a very old naming mistake. 2019-09-26 21:15:31 +02:00
Daniele Cattaneo d74e3bf62b Add support for a rapid fire (aka turbo) toggle. Turbo rate is tied to the core frame rate. 2019-09-26 18:11:40 +02:00
Daniele Cattaneo 57785807d3 Fix various warnings 2019-09-10 18:52:16 +02:00
Daniele Cattaneo 63d7d87630 Do not crash when parsing HID devices that fulfill specific conditions. Should be a clean fix for issue #3941.
OpenEmu crashed only when the HID device fulfills all the following conditions:
(1) the device is generic (not present in the controller database)
(2) the device is not a compound HID device
(3) the device usage must be Joystick or Gamepad
(4) the device must have at least one of:
(4.a) one hat switch
(4.b) (at least one symmetric axis OR grouped axis) AND at least one positive-only axis
2019-09-09 15:08:31 +02:00
Stuart Carnie da275e8cc7 fix: Swift compatibility 2019-08-01 17:17:31 -07:00
Stuart Carnie 1e29097c9d feat: add signposts for Instruments 2019-07-13 08:00:50 +10:00
Stuart Carnie f82cc22184 fix: compiler warnings 2019-07-13 08:00:29 +10:00
Stuart Carnie dcffc6abf7 fix: rewind, black screen for SNES9x; fast forward works 2019-06-20 18:52:04 -07:00
Stuart Carnie 76abfa782c feat: multiple log categories for audio 2019-06-13 21:26:24 -07:00
mrvacbob 965d2fe351 Fix OERingBuffer read method.
Other debug improvements.
2019-06-08 23:24:45 -07:00
mrvacbob 25dce51204 Implement readBlock in OERingBuffer 2019-06-08 16:18:24 -07:00
Stuart Carnie 4c0bbd47f5 feat: OEAudioBuffer read block; rename class → cls for Obj-C++ compat 2019-06-08 10:08:42 -07:00
mrvacbob b84e2a49d5 Improve threading in audio buffer.
Remove the optionally atomic feature from TPCircularBuffer cause it's more complicated than any possible savings.
2019-06-05 01:40:53 -07:00
mrvacbob d476bb8f36 Update TPCircularBuffer from upstream 2019-06-05 01:05:42 -07:00
mrvacbobandAlex Strange 8128c1a452 Export the game loop time for use in the video renderer. Be slightly more precise. 2019-06-05 00:45:32 -07:00
Stuart Carnie 1bf85c7a08 chore: remove compiler warnings 2019-06-02 10:15:56 -07:00
mrvacbobandAlex Strange dd52958c41 Fix incorrect use of 'volatile'
Atomic is all you need.
2019-06-01 23:46:31 -07:00
clobber fab866fadb OEGameCore API: add two more constants used for -displayModes 2018-11-06 19:35:47 -06:00
C.W. Betts 897d472f3e Use NS_ERROR_ENUM and NS_ENUM. 2018-11-03 14:36:19 -06:00
clobber ead91f6ddc OEGameCoreAPI: move constants used for -displayModes to macro definitions
This is so core plugins that are built against the new SDK and use the API don't crash with "Symbol not found" on older versions of OpenEmu
2018-11-02 13:59:07 -05:00
clobber 4f4b080e0b Added Next/Last Display Mode global keys 2018-11-02 00:00:33 -05:00
clobber 31c5fba364 Cleanup 2018-10-29 15:12:49 -05:00
clobber 2663b14ccc OEGameCore API: add even more constants used for -displayModes 2018-10-29 14:20:01 -05:00
clobber ad88ac0b95 OEGameCore API: add more constants used for -displayModes 2018-10-25 16:25:30 -05:00
clobber 2844927f7b OEGameCore API: add methods for changing display mode (video standard, palette, etc) 2018-10-19 21:07:29 -05:00
clobber 1b10264abd OEGameCore API: add error handling to -insertFileAtURL: 2018-10-12 20:42:23 -05:00
clobber 1f2c63a6a8 OEGameCore API: add methods for file insertion handling 2018-09-28 23:02:11 -05:00