Commit Graph

296 Commits

Author SHA1 Message Date
twinaphex
0cb5316c43 Silence some LGTM warnings 2021-03-24 13:53:20 +01:00
jdgleaver
a351c1448d Enusure globals are intialised correctly 2021-03-24 12:27:06 +00:00
jdgleaver
a397719fec Update libchdr (replace libflac with dr_flac) + fixes 2021-03-17 12:18:07 +00:00
jdgleaver
f4cebfa5ee Add optional automatic frame skipping 2020-11-12 16:02:15 +00:00
twinaphex
6e5997418a Cleanups 2020-10-06 16:18:03 +02:00
twinaphex
cd6dc326fc Get rid of MDFN_PrintError 2020-10-06 16:06:54 +02:00
twinaphex
7dea66f52a Merge ioread.inc into libretro.cpp 2020-10-06 16:02:13 +02:00
twinaphex
6795039a13 Remove unused function MDFND_DispMessage 2020-10-06 14:50:54 +02:00
twinaphex
7d039df958 Get rid of MDFN_printf and MDFN_indent 2020-10-06 14:45:48 +02:00
twinaphex
97cabdef4e (arcade_card) Cleanup 2020-10-06 14:24:13 +02:00
twinaphex
d4284103d0 Convert input.cpp to C 2020-10-04 17:00:42 +02:00
twinaphex
0dc6a7f740 Convert huc6280.cpp to C 2020-10-04 16:43:04 +02:00
twinaphex
724c715a15 Add SFVARN_BOOL 2020-10-04 16:09:27 +02:00
twinaphex
f18b109a6e Cleanups 2020-10-03 12:34:34 +02:00
Autechre
5a2803fab2
Merge pull request #169 from negativeExponent/cheats
Add native cheat support
2020-09-29 02:28:07 +02:00
negativeExponent
db4fb2469c Add native cheat support
- Supports cheats in the form of F82xxx-F83xxx (physical
  address. RAM)
- Cheats in 1F0xxx-1F1xxx (raw address, RAM)
- Cheats in 00D000-100000 (raw address, System Card Ram)
- Cheats in 100000-110000 (raw address, CD RAM)
-
- Cheats in 802000-802000 (physical address, CD RAM)
- Cheats in F82000-F83000 (physical address, main RAM)
-
- as well as multi-line cheats.

Notes:
- Cheats has to be a 9-digit format, address in 6-digit followed by ':'
  separator and then a 1-byte value, aka xxxxxx:yy
- Multiline cheats has to be represented as xxxxxx:yy+xxxxxx:yy with '+'
  as a code separator
- It is best to use raw format (or mednafen code formats) within the
  range expected above.
- ROM based cheats not implemented (most of the labeled raw address) as
  they require writing to read-only memory.

Reference: libretro/beetle-pce-fast-libretro#93
2020-09-28 16:16:08 +08:00
Tatsuya79
85faaf6278
update composite palette 2020-09-27 22:14:18 +02:00
negativeExponent
13d5dc3712
Update libretro.cpp 2020-09-22 10:42:43 +08:00
Autechre
12abdf5690
Merge pull request #166 from negativeExponent/add_support_for_composite_palette
Add custom palette support, add composite palette (backport https://g
2020-09-22 03:21:09 +02:00
negativeExponent
ec4546745e Buildfix 2020-09-22 09:10:25 +08:00
eadmaster
fcaa11137f minor fixes, moved pce_cdspeed core option above the volume options 2020-09-21 13:35:32 +02:00
eadmaster
94515e5786 replaced disable PSG sound channel core options with volume adjust (#160) 2020-09-19 15:36:20 +02:00
negativeExponent
ebeb9c79fc Add custom palette support, add composite palette (backport https://github.com/libretro/beetle-pce-libretro/pull/7)
- Add support loading custom palettes (restored from upstream)
    - Add composite palette, switchable as a core option to select default
      rgb colors or composite (experimental)

    In order to accomodiate the feature, colormap or LUT is used instead of
    usin MAKECOLOR_PCE.

    https://github.com/libretro/beetle-pce-libretro/issues/6
2020-09-19 11:19:15 +08:00
twinaphex
4f70b970b3 Cleanups 2020-09-18 21:56:04 +02:00
twinaphex
2a516b9978 Cleanups 2020-09-18 21:50:29 +02:00
twinaphex
0702effe79 Cleanups 2020-09-18 21:47:07 +02:00
twinaphex
d2559ca27a Cleanups 2020-09-18 21:45:06 +02:00
eadmaster
ad7cb55fce added sound channel disable options (#160) 2020-09-18 13:33:45 +02:00
twinaphex
ea1b6ab280 Cleanups 2020-09-16 20:42:42 +02:00
twinaphex
a7ad477d46 Move setting_pce_fast_cdbios to libretro.cpp 2020-09-16 20:41:10 +02:00
trioan
23a18c7b29 libretro: use input bitmask 2020-09-13 21:03:20 +00:00
twinaphex
406be2a4f0 Refactor state.cpp to state.c 2020-07-05 20:13:04 +02:00
Twinaphex
40a42b7f43
Merge pull request #145 from bslenul/master
Add "Disable Soft Reset" core option to FAST variant of the core.
2020-01-30 18:05:16 +01:00
Alexander Mikhaylenko
b4fb455fc6 Filter out device types other than JOYPAD and MOUSE.
The device type is a bitmask, and a device can have multiple types,
for example JOYPAD+ANALOG. Since we're only interested in JOYPAD and
MOUSE here, just unset all others.
2020-01-20 01:28:46 +05:00
bslenul
f1939f2adb Add "Disable Soft Reset" core option to FAST variant of the core. 2020-01-18 12:57:05 +01:00
negativeExponent
7bf684982a Add mouse support 2019-12-28 13:21:21 +08:00
negativeExponent
408cc2cea4 Update retro_controller_info from 2 ports to 5 ports 2019-12-28 09:38:20 +08:00
negativeExponent
83a234a1c7 Selectively apply patches from 0.9.39.2 that avoids undefined behavior 2019-12-15 19:58:21 +08:00
negativeExponent
2e04bc5399 Silence warnings 2019-12-15 15:36:44 +08:00
negativeExponent
343b1ce491 Update gamepad turbo logic
- Button now reacts immediately as soon as pressed instead of waiting for turbo counter to reach specified turbo frame delay
- Fix some rare cases where games wont respond to button presses when turbo is enabled on that button - some games require a button to be pressed for about 2 frames before game reacts like attack or jump (Dragon Spirit).
  This changes turbo logic so that it holds the button for 2 frames instead of the usual 1 frame before turning button off and wait for the next cycle.
- Make turbo delay core option variable from 1-15
2019-12-15 01:45:20 +08:00
negativeExponent
371bb54e46 Remove unneeded core options
- These turbo-related core options are not working correctly and redundant because there is already a dedicated button
  to enable turbo buttons. These core options also resets turbo states each time a core option is modified.
  Removing it since it unneeded.
2019-12-14 22:13:59 +08:00
negativeExponent
cdfff4a3c1 Fix incorrect turbo core option labels 2019-12-14 21:40:27 +08:00
negativeExponent
e8cb9a9187 Add PCE-CD RAM to retro_memory_map
- also moves base ram and saverams to memmap
2019-11-22 23:47:36 +08:00
ggdrt
9709b843be Adjust aspect ratio logic to be dynamic 2019-11-12 01:28:46 -08:00
twinaphex
7e92d19a80 Add enhanced core options 2019-07-31 23:25:33 +02:00
twinaphex
5a9b7ae498 Fix MSVC 2003 2019-07-30 03:47:11 +02:00
Brad Parker
7a00a0fe20 fix memory leak 2019-07-29 13:33:11 -04:00
twinaphex
6d2efc8871 Do free at end of function 2019-07-26 04:45:52 +02:00
twinaphex
7b97f5ba0b Fix 'there is a new/free mismatch between this free and the
corresponding new[]'
2019-07-26 04:29:28 +02:00
David Walters
3e0c5233de Report name as "Beetle PCE Fast", to match other Mednafen derived cores. 2018-09-05 15:53:16 +01:00