Commit Graph

328 Commits

Author SHA1 Message Date
twinaphex
f44f7224d9 Silence warning 2017-03-26 18:44:08 +02:00
orbea
5a42a460ae Fix permissions. 2017-03-21 11:04:59 -07:00
twinaphex
39185a61a1 Better error handling 2017-01-24 15:42:28 +01:00
jbarfell
afffa41b65 Added toggling turbo on/off via X and Y for A and B respectively in 2 button mode. ignored in 6 button mode. Also added a config option to disable the feature. 2017-01-14 21:38:35 -05:00
Tatsuya79
aceaf655d1 Adjustable Horizontal Overscan. 2016-12-19 13:09:56 +01:00
Tatsuya79
de7abaa240 Update libretro.cpp 2016-12-19 11:24:39 +01:00
Gregor Richards
bd7136b3e3 Report git version with library_version 2016-12-09 18:22:00 -05:00
Tatsuya79
44ef377c7d Fix Turbo buttons OFF 2016-12-07 12:55:47 +01:00
Tatsuya79
d65485eee8 CPU Overclock parameter. 2016-10-28 23:26:57 +02:00
Tatsuya79
e65dad608b Update libretro.cpp 2016-10-28 23:03:25 +02:00
Tatsuya79
1957854a4b hoverscan no restart part1 2016-10-23 20:48:05 +02:00
radius
ad1dfce0c0 fix small mistake 2016-10-23 12:50:07 -05:00
radius
96864b478e update when width or height changes in runtime 2016-10-23 12:48:26 -05:00
radius
6b5a5c5aea set geometry on the first frame too 2016-10-23 12:38:05 -05:00
radius
697f5e7c8d only call set geometry when geometry actually should change 2016-10-23 12:21:31 -05:00
Tatsuya79
df09cbdfbf No sprite limit needs restart too 2016-10-16 15:06:16 +02:00
Tatsuya79
196a0240d7 H Overscan works now, small fix 2016-10-16 14:55:04 +02:00
Tatsuya79
b6980b413d CDPSG direct apply, 6:5 ratio, 200 volume, hoverscan addition 2016-10-16 11:59:18 +02:00
Tatsuya79
c6978e9bbd Non working H Overscan option in libretro.cpp
I don't know how to make it work between here and mednafen settings.
2016-10-15 01:04:45 +02:00
westonlast
1a190a626d Remove "Correct Aspect Ratio," which did nothing 2016-10-13 00:13:32 -05:00
westonlast
9a7ff84f9a Clean up duplicate definitions 2016-10-13 00:03:18 -05:00
westonlast
217c47bb54 Correct Pixel Aspect Ratio
Conflicts:
	libretro.cpp
2016-10-12 22:23:19 -05:00
Tatsuya79
952b14af45 FB height change to 243 2016-10-06 21:57:25 +02:00
hunterk
05fe1ffc16 revert the PAR change, which broke first-last scanline settings 2016-09-26 15:23:15 -05:00
hizzlekizzle
aa98d9726d Merge pull request #30 from westonlast/Correct-Pixel-Aspect-Ratio
Correct pixel aspect ratio
2016-09-25 20:28:05 -05:00
hizzlekizzle
ee88e0d126 Add turbo toggles for I+II buttons
You can enable them without a core restart but you can't disable them without a restart. I'm not sure why. Changing the speed works without a restart, as well.
2016-09-24 14:51:36 -05:00
twinaphex
67e46c62c6 Better control flow, use log_cb instead of MDFN_Error, etc. 2016-08-14 15:01:30 +02:00
twinaphex
fcd4c4a8fd Remove old cdrom code 2016-08-14 11:57:54 +02:00
twinaphex
4403fa4471 New cdrom code 2016-08-14 11:54:31 +02:00
twinaphex
bfe9b350be Get rid of gettext_noop 2016-08-12 18:44:57 +02:00
twinaphex
cb9eec9f92 Cleanups 2016-08-12 11:27:28 +02:00
twinaphex
0e04b5affe Get rid of crc32 generation 2016-08-10 06:02:54 +02:00
twinaphex
3a5af96afc Use plain C version of Blip_Buffer 2016-08-10 05:57:58 +02:00
twinaphex
8f4eacd3a9 Remove this 2016-08-09 20:50:20 +02:00
twinaphex
3a545bb074 Cleanups 2016-08-09 20:20:53 +02:00
twinaphex
4c2bd58fb3 Get rid of name 2016-08-09 07:48:52 +02:00
twinaphex
7657a5cfbb Start removing most of MDFNGameInfo 2016-08-09 07:38:20 +02:00
twinaphex
7aaa4ed614 Backport CD-ROM code 2016-08-07 15:38:04 +02:00
twinaphex
eb21edc3db Remove threading 2016-08-06 16:31:32 +02:00
twinaphex
1917153685 Replace mednafen/file.cpp 2016-07-21 05:20:31 +02:00
westonlast
d78f6bb776 Correct Pixel Aspect Ratio 2016-07-18 02:32:52 -05:00
twinaphex
095d63f840 Add stdstring 2016-06-09 08:12:51 +02:00
twinaphex
a35f4f08d0 Don't use vasprintf 2016-06-06 03:25:53 +02:00
twinaphex
cdd390566e Remove trio 2016-06-06 02:09:18 +02:00
Andre Leiradella
a1f3ffc7f2 call RETRO_ENVIRONMENT_SET_SUPPORT_ACHIEVEMENTS; updated libretro.h 2016-05-15 02:15:00 -03:00
Andre Leiradella
ae5d3b3052 added cheevos support via retro_get_memory_data/size 2016-05-15 00:57:22 -03:00
Oggom
9ef956c239 Update MEDNAFEN_CORE_VERSION
Whoops forgot to update this
2016-04-12 23:34:55 +02:00
twinaphex
4f9ae59ce9 Cleanups 2015-10-03 08:08:31 +02:00
twinaphex
e110a0dc3c Remove FileWrapper 2015-10-01 04:21:52 +02:00
twinaphex
44f757b498 Start adding libretro-common retro_file/retro_stat 2015-10-01 03:11:33 +02:00
twinaphex
f78d143509 Set default volumes in core options to proper values instead of 0 2015-08-06 14:57:50 +02:00
Tatsuya79
8585901e6f Core settings logical ordering
Left - / Right + in menu.
initial scanline 3 / last scanline 241 as default (as 0, 1, 2 and 242 lines are always blank).

MEDNAFEN_CORE_GEOMETRY_ASPECT_RATIO could be change to (6.0 / 5.0) with the overscan visible.
2015-08-06 10:51:46 +02:00
twinaphex
bbd5825148 Cleanups 2015-07-29 18:07:30 +02:00
twinaphex
c20c1052b9 Remove MD5 2015-07-29 16:39:10 +02:00
twinaphex
1b0fa60bc5 Cleanups 2015-07-25 04:15:26 +02:00
twinaphex
f8ebe86550 Cleanups 2015-07-23 20:08:26 +02:00
twinaphex
0f1b8f979b Cleanups 2015-07-23 20:03:21 +02:00
twinaphex
0a38928702 Implement input descriptors 2014-12-04 17:20:00 +01:00
Higor Eurípedes
5bf15fb018 Skip uneeded scanlines (fixes #6) 2014-09-14 23:54:15 -03:00
Twinaphex
4452587b94 Update libretro.cpp
Set volume to 100 by default
2014-08-17 17:51:25 +02:00
twinaphex
5e7341edfe Change label for pce_last_scanline 2014-06-25 20:53:52 +02:00
twinaphex
f013283755 Rename variables 2014-06-25 20:16:22 +02:00
twinaphex
3caaf33553 Added initial/last scanline core options 2014-06-25 20:03:28 +02:00
twinaphex
ccc649994b MSVC 2003 build compiles again 2014-06-25 01:57:10 +02:00
twinaphex
6907bd0c87 Bump up version 2014-06-23 14:52:11 +02:00
twinaphex
dd93bad3f7 Set performance level to level 5 2014-06-23 03:12:05 +02:00
twinaphex
bd06369f0b Backport Mednafen 0.9.34.1 multithreaded CD reading condvar
improvements
2014-06-22 21:58:50 +02:00
twinaphex
a4835613f4 Take out sgx extension 2014-06-22 05:57:12 +02:00
twinaphex
6ccd3b1f6a Take out more SGX code 2014-06-22 05:52:15 +02:00
twinaphex
c559c33e48 Pre-set surface colors correctly in vdc.cpp code 2014-06-22 04:37:34 +02:00
twinaphex
14b21fe1f6 Should fix R-Type on Windows in combination with some drivers 2014-06-21 23:26:47 +02:00
twinaphex
8037e1a5d9 Take out externs for ColorMap in libretro.cpp 2014-06-21 07:25:16 +02:00
twinaphex
3692fdf81b Don't go through redundant systemColorMap - we're not going to do
custom palettes anyway
2014-06-21 06:58:28 +02:00
aliaspider
2722faa1a8 fix sprite priority in 16bpp mode 2014-06-21 04:21:38 +01:00
twinaphex
ed2e1c6307 Set BASE_W/BASE_H to hardcoded values 2014-06-21 00:31:52 +02:00
twinaphex
44e2cfe37d Take out WANT_32BPP - WANT_16BPP is about 200fps faster (even on
PC)
2014-06-20 23:21:36 +02:00
twinaphex
47001be5ec Upgrade Mednafen PCE Fast to 0.9.36 2014-06-20 23:11:19 +02:00
twinaphex
11e7cdc5ce Implement CD Image Caching 2014-06-20 22:49:22 +02:00
twinaphex
6cddae5cbf Go through libretro SRAM interface now 2014-06-20 19:54:30 +02:00
twinaphex
db124ad31a Cleanups in libretro.cpp 2014-06-20 00:08:27 +02:00
twinaphex
b1709f876e Get rid of mednafen.cpp - merge into libretro.cpp 2014-06-19 23:34:42 +02:00
twinaphex
9039984b3b Integrate pce.cpp into libretro.cpp 2014-06-19 23:10:59 +02:00
twinaphex
058d529c7a Get rid of mednafen_buf 2014-06-18 22:43:41 +02:00
twinaphex
310b9b5aa2 Auto hookup gamepad ports on startup 2014-06-18 22:20:38 +02:00
twinaphex
5ee9c30c32 Take out NEED_DEINTERLACER - not needed for PC Engine Fast 2014-06-18 22:18:47 +02:00
twinaphex
76e8a0d95f Update threading code 2014-06-18 22:10:07 +02:00
twinaphex
a4020fd1d9 Rename pce_fast dirs 2014-06-18 22:01:17 +02:00
twinaphex
627fbd12a8 Remove non-PCE Fast code 2014-06-18 21:55:15 +02:00
twinaphex
a43c418097 Take out Mednafen PSX - moved to standalone repo now 2014-06-18 18:27:13 +02:00
Oggom
81852fe645 Update libretro.cpp 2014-06-05 18:06:15 +02:00
twinaphex
cfbaac2a73 (Mednafen PSX) Reimplement dithering core option 2014-05-02 00:53:56 +02:00
twinaphex
45f34c7043 (Mednafen PCE Fast) Don't set pce_nospritelimit twice 2014-05-02 00:31:25 +02:00
twinaphex
6d518e2205 Readd WANT_PSX_EMU conditional for check_variables 2014-05-02 00:17:19 +02:00
twinaphex
7d0cda7764 (Mednafen PCFX) Implement SET_CONTROLLER_INFO 2014-05-01 02:43:04 +02:00
twinaphex
5a6f32cf6f Implement SET_CONTROLLER_TYPE for Mednafen PSX 2014-05-01 02:32:39 +02:00
twinaphex
7102882fe2 (Mednafen PSX) Now implements SET_CONTROLLER_TYPE 2014-05-01 02:17:23 +02:00
twinaphex
6ef78525c5 Update Mednafen GBA core to 0.9.33.3 2014-04-30 05:05:04 +02:00
twinaphex
76fa0bc140 (PCFX) Trivial changes 2014-04-26 06:29:19 +02:00
AndresSM
b43fe8e26b Fixed some core options:
- psx.input.port1.multitap was renamed for some reason to psx.input.pport1.multitap
    - psx.input.port2.multitap was renamed for some reason to psx.input.pport2.multitap

    Dualshock analogs were "broken", mednafen has psx.input.analog_mode_ct, if true then you toggle analogs by pressing start+select+l1+l2+r1+r2 for roughly two seconds. In the libretro port it was set to 1 always.
    I've made this a core option:
    setting_psx_analog_toggle, this enables/disables the MODE button, defaults to disabled.

    I think a sane default is for it to be disabled and analogs to work out of the box so I have added that too.
    If setting_psx_analog_toggle is enabled then it replicates mednafen's and the psx's  behavior, MODE button works and by default it's off, so analogs are off.
2014-04-22 23:37:06 -05:00
twinaphex
4e007bf4f9 Take out psx.fastboot in core options 2014-04-22 15:45:09 +02:00
Twinaphex
9e07813109 (MSVC 2010) Some build fixes 2014-04-22 01:25:01 -07:00
twinaphex
66ca29332e Fix Mednafen PCE 2014-04-22 00:31:36 +02:00
twinaphex
87abd627d6 Reimplement cputest.c for libretro 2014-04-22 00:25:50 +02:00
twinaphex
dd64f7031c (Mednafen PCFX) Runs - but just displays black and audio 2014-04-21 01:51:59 +02:00
twinaphex
10a0443255 (Mednafen VB) Updated to version 0.9.33.3 2014-04-21 00:38:14 +02:00
twinaphex
c4267b048b (Mednafen PSX) Update to version 0.9.33.3 2014-04-21 00:24:36 +02:00
twinaphex
33d93a7229 (Mednafen NGP) Updated to version 0.9.33.3 2014-04-20 23:59:21 +02:00
twinaphex
97a07110ff (Mednafen Wswan) Update to version 0.9.33.3 2014-04-20 23:43:06 +02:00
twinaphex
c2adc1c619 (Mednafen PCE) Update to 0.9.33.3 2014-04-20 23:05:37 +02:00
twinaphex
fee9719855 Reimplement MDFNI_CloseGame - will properly clean up CDInterfaces
(and thread with it) before shutdown of libretro side
2014-04-20 21:44:56 +02:00
twinaphex
2242570d21 Cleanups 2014-04-20 19:00:03 +02:00
twinaphex
648ffbc440 Add logging 2014-04-20 16:32:46 +02:00
monciwoda
af0ce6574a Enable HLE bios by default in gba core, and add option to switch to original bios 2014-03-08 14:32:15 +01:00
AndresSM
dd68e0d404 Added core options for VisualBoy:
- Anaglyph mode
- Palette
2014-02-07 20:41:05 -05:00
AndresSM
adf2d6fb4a Add a fallback for situations where SAVE_DIRECTORY is not defined
Added color options for VB
2014-02-07 17:34:14 -05:00
AndresSM
b263b07c9d Fix: core will not crash anymore if RETRO_GET_SAVE_DIRECTORY is not defined 2014-02-07 02:32:32 -05:00
AndresSM
e612894959 Fix: forgot to define retro_save_directory 2014-02-07 02:16:01 -05:00
AndresSM
4dc3f1a328 Add RETRO_ENVIRONMENT_GET_SAVE_DIRECTORY
Modify stubs.cpp so saves will go to the correct location
2014-02-07 02:07:58 -05:00
Andrés Suárez
494513011e - fixed previous commit so it doesn't modify anything on settings.cpp nor settings.h
- now you can change controllers on the fly
2014-01-20 18:19:08 -05:00
Andrés Suárez
2e6544cd49 changed analog core settings so they affect both ports 2014-01-20 12:09:46 -05:00
Andrés Suárez
cf6210b065 added core settings for analog type dualshock|dualanalog|analogjoy 2014-01-20 11:55:55 -05:00
Andrés Suárez
8aaa3d3930 Update libretro.cpp
Try to map mednafen input devices as core options
2014-01-20 02:09:13 -05:00
Themaister
f6e10f866a Log rumble as info, not error. 2014-01-09 15:52:02 +01:00
twinaphex
2c5cc0966e Fixup libretro logging 2014-01-02 02:50:09 +01:00
pinumbernumber
236c81f9cd PAL black bars 2013-12-19 19:38:16 +00:00
twinaphex
7077c153f0 (Handy) Add Handy modle - doesn't work yet - fails at ROM loading 2013-12-18 21:42:11 +01:00
twinaphex
701ad73745 Fixes 2013-12-17 11:08:34 +01:00
twinaphex
edf189b330 Hook up new logging interface 2013-12-17 02:24:08 +01:00
Themaister
c9bc52731b Disable skip BIOS by default.
It is reported to break SaGa Frontier when enabled.
Happens in vanilla Mednafen as well.

Should perhaps consider dropping the option entirely.
2013-10-30 15:25:08 +01:00
pinumbernumber
19ab1b6b43 Fix framerate variable type 2013-10-01 14:09:27 +01:00
pinumbernumber
3a494ee6ca Fix PAL PSX crashes due to insufficient framebuffer 2013-10-01 14:00:44 +01:00
Themaister
8faff95d73 Comment out debug spam. 2013-09-26 13:45:09 +02:00
Themaister
7cd015b1ac Add rumble support.
Use dualshock instead of dualanalog. Hopefully won't break. :)
2013-09-26 13:42:08 +02:00
twinaphex
73850f73bb Do check_variables at end of retro_load_game for every Mednafen
core other than PSX
2013-09-24 00:26:50 +02:00
twinaphex
2569e910c0 Putting check_variables up front in retro_load_game was causing crash
issues for Mednafen NGP
2013-09-17 02:03:54 +02:00
twinaphex
a71e2d7fa2 Upgraded to Mednafen 0.9.32 2013-09-13 11:46:50 +02:00
Themaister
377a85b857 Update PSX core to 0.9.31-wip. 2013-09-08 13:41:01 +02:00
twinaphex
74682ebac4 (NGP) Fixes input anomalies in Card Fighters and other games by reporting
more than 7 button (Card Fighters was hitting some kind of debug menu)
2013-08-10 03:46:37 +02:00
twinaphex
1b05a4b073 (PSX) Add some more core options 2013-05-24 20:39:17 +02:00
twinaphex
164c9aecfb (NGP) Added NGP core option - Language 2013-05-24 18:59:38 +02:00
twinaphex
cc2f9eb7e8 (PCE Fast core) Add 'Keep Aspect' option 2013-05-24 17:37:36 +02:00
twinaphex
0092ac4c06 (Mednafen PCE Fast) Possibility to set CD speed, CDDA volume,
ADPCM value
2013-05-24 17:26:57 +02:00
twinaphex
632358955d Small build fix 2013-05-19 19:55:15 +02:00
twinaphex
73d51d4e8a (Mednafen PSX) Make dithering a toggleable runtime core option 2013-05-19 17:08:29 +02:00
twinaphex
79e7422cd6 Update extensions 2013-05-01 00:03:33 +02:00
Themaister
4717ac85fa Update MD5 checksum correctly. 2013-04-27 16:40:24 +02:00
Themaister
30babf07cc Fix disk append/replace. 2013-04-27 15:48:36 +02:00
Themaister
3a42eeeafb Fix dualanalog PSX. 2013-04-27 12:42:18 +02:00
Themaister
741e7ec9ce Add m3u to allowed extensions (PSX). 2013-04-27 11:58:05 +02:00
twinaphex
2def9362ab Reimplement controls - don't spam SetInput on every frame -
rather update pointer - will later add runtime options for
changing controller types
2013-04-09 05:23:42 +02:00