Commit Graph

328 Commits

Author SHA1 Message Date
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
twinaphex
c06d14969b Add first runtime option to Mednafen core - Mednafen PCE_Fast -
pce_nospritelimit
2013-04-09 04:05:18 +02:00
twinaphex
1f1501e9d1 Fix build - eject_state only defined for WANT_PSX 2013-03-18 03:15:18 +01:00
Themaister
ad7c4767e5 Fix when info == NULL for disk replace. 2013-03-09 10:31:20 +01:00
Themaister
e798bba27e Add replace/add interfaces for cdswap. 2013-03-09 10:24:29 +01:00
Themaister
106f7e8c80 Merge branch 'cd-swap' of git://github.com/libretro/mednafen-libretro
Conflicts:
	mednafen/psx/psx.cpp
2013-03-09 10:08:36 +01:00
Themaister
d8c035db2a Implement optional overscan cropping for PSX. 2013-02-25 20:39:39 +01:00
Themaister
66100a4a13 Comment logging. 2013-02-25 19:38:23 +01:00
Themaister
5f6b43ed31 Add more width fixes for PSX. 2013-02-25 19:27:33 +01:00
Themaister
9564745588 Add special casing for PSX. 2013-02-25 09:38:53 +01:00
twinaphex
0ab3ca8822 Set framebuffer width back to 680 - fixes Soul Blade/Toshinden 1
screen
2013-02-24 22:54:25 +01:00
twinaphex
47a4c3cae1 Fix blanking 2013-02-24 04:22:19 +01:00
Themaister
791fd19b46 Merge branch 'master' into cd-swap 2013-02-24 01:06:11 +01:00
twinaphex
c4c144e6a1 (PSX) Simplify retro_run for PSX - no more hoky manipulation of frame
buffer for various screen widths/heights
2013-02-24 00:46:20 +01:00
Themaister
4cddd56fc7 Merge branch 'master' into cd-swap
Conflicts:
	mednafen/psx/psx.cpp
2013-02-23 11:34:04 +01:00
Themaister
0aa852ea3c Update PSX core v0.9.28. 2013-02-23 11:25:17 +01:00
Themaister
701ce4f9dd Add very crude disk swapping.
Needs to be written more cleanly. Here as a POC.
2013-02-21 23:44:41 +01:00
twinaphex
6da3ddfcd6 Remove reliance on PSS_STYLE 2013-01-19 10:22:57 +01:00
twinaphex
cd7bc579bf (PCE) Add SGX ROM extension 2013-01-16 15:29:17 +01:00
twinaphex
621f7bc9b9 (Mednafen PCE) Upgraded PCE core to 0.9.28 2013-01-16 15:18:16 +01:00
twinaphex
8aba630b3c Upgrade wswan port 2013-01-16 08:05:16 +01:00
twinaphex
1fc18dc9f6 (PSX) Change fps from 59.85 to 59.95fps - fixes audio pops 2012-12-30 04:44:59 +01:00
twinaphex
ff5e3569a6 Cleanup mednafen.cpp - leave only what we need 2012-11-29 23:21:44 +01:00
twinaphex
ea72a707a3 (PCFX) Add initial PCFX core support - not yet done 2012-11-28 08:20:45 +01:00
twinaphex
1ff4c0da17 (Mednafen GBA) input works on big-endian 2012-11-27 05:54:01 +01:00
twinaphex
fd13e4bf1a get rid of broken reference/getter hell in file.cpp - just use
the private variables promoted to public straight - no way to get
this code portable without 'mangling' this guff
2012-11-27 05:20:47 +01:00
twinaphex
697735e2ff (Mednafen SNES) 'Fix' little edian input - still issue with 'hold states'
of buttons
2012-11-27 04:16:48 +01:00
twinaphex
53908ec941 (Mednafen VB) works on PS3 now + fixed controls on big-endian 2012-11-27 04:05:55 +01:00
twinaphex
6e8710ba0f (Neopop) Controls work on big-endian now 2012-11-27 03:38:27 +01:00
twinaphex
75cbbc9e81 (Mednafen VB) Add VB core - working 2012-11-25 03:41:54 +01:00
twinaphex
bc6b7fa011 (Mednafen bsnes) Add ROM extensions 2012-11-25 02:49:52 +01:00
twinaphex
0a0fb41c98 (Mednafen PCE-Fast) Update to 0.9.26 core - rewinds now 2012-11-25 01:17:31 +01:00
twinaphex
13f69fa443 (Mednafen bSNES) bsnes core running now - some issue with 'held down'
buttons and with games supporting srm RAM failing to load after first run -
investigate
2012-11-24 17:14:05 +01:00
twinaphex
ea49364433 (Mednafen GBA) Added GBA core, can compile and run 2012-11-24 08:17:18 +01:00
twinaphex
66953e3737 (NGP) NGP core can be compiled now and runs 2012-11-24 07:44:49 +01:00
twinaphex
f1edfd2fdf PC Engine button remapping from ficoos 2012-11-22 21:03:38 +01:00
twinaphex
d6e9e3ca4d Fixup WANT_32BPP path 2012-11-21 02:28:26 +01:00
twinaphex
b5391ec967 Cleanup retro_run 2012-11-21 02:27:23 +01:00
twinaphex
ce5a9e6fbd Have to revert because original framebuffer sizes make zero sense
and things keep getting cut off - so reverting to what worked before
Revert "(PSX) sane framebuffer sizes + other changes"

This reverts commit 1e8a31ae51.
2012-11-17 04:01:05 +01:00
twinaphex
1e8a31ae51 (PSX) sane framebuffer sizes + other changes 2012-11-17 03:43:56 +01:00
twinaphex
d2c099e971 Small build fix for PCE core 2012-11-16 15:20:13 +01:00
twinaphex
3ed64bae92 Get rid of everything Minifen will handle for us 2012-11-16 15:12:25 +01:00
twinaphex
391bc305dc Hooked up reset 2012-11-14 01:56:23 +01:00
twinaphex
2949a11694 (State) Use same function signatures as Mednafen mainline 2012-11-14 01:41:02 +01:00
Themaister
f6a4d35498 Fix derpy derp. 2012-11-10 12:59:05 +01:00
Themaister
164a0d76d3 Fix up path handling for bios/memcard. 2012-11-10 02:20:13 +01:00
twinaphex
8a1a03bda7 (Mednafen 0.9.22) works now 2012-10-22 17:41:16 +02:00
twinaphex
0290b33324 Add resampler and original Blip_Buffer in case we ever need it 2012-10-22 17:00:42 +02:00
twinaphex
c0f2e66ddd (RGB565) Can now use RGB565 color format if frontend supports it
(Wswan) Experimental wswan support - not yet working
2012-10-22 14:34:14 +02:00
twinaphex
ec1e98555d Savestates work - tested with PCE core 2012-10-21 03:46:12 +02:00
twinaphex
6a58de67cb No more conversion to 16bpp for PSX 2012-10-21 02:37:11 +02:00
twinaphex
dc4236c507 Integrated pfce_fast now too - can compile pce_fast now in same
repo
2012-10-21 01:47:02 +02:00
twinaphex
e1b305a8b4 Make threading code self-contained 2012-10-20 23:56:43 +02:00
twinaphex
826403c127 Setting up fr multiple cores - to be able to compile each core
as separate
2012-10-20 23:32:28 +02:00
twinaphex
f269f2390d Now no longer needs mednafen config file 2012-10-20 21:18:24 +02:00
twinaphex
3933a96981 Settings refactor - aim to no longer go through mednafen
config file
2012-10-20 19:03:03 +02:00
twinaphex
d09d20f300 Update to Mednafen 0.9.26 - psx core 2012-10-20 08:54:50 +02:00
Themaister
32a02748fe Updates to 0.9.25. 2012-10-13 16:56:30 +02:00
Saggi Mizrahi
3281b6c6fe Fix crash when loading PAL disks
Signed-off-by: Saggi Mizrahi <ficoos@gmail.com>
2012-10-06 18:39:01 +02:00
Themaister
6792727f0a Hardcode fb_width/fb_height. 2012-09-23 22:24:56 +02:00
Themaister
96b4d60864 Fix possible segfault when game fails to load. 2012-09-23 11:52:47 +02:00
Themaister
fc7cf1cf9e Update geometry to 320x240 as used by libretro. 2012-09-23 11:30:43 +02:00
Squarepusher
bd327936f9 Merge pull request #3 from ficoos/pal_fix
Fix PAL emulation
2012-09-21 09:53:41 -07:00
TwinAphex51224
6ccb0e059a Bump up version number 2012-09-21 20:50:40 +02:00
Themaister
0fc4518ef9 Update FPS field to reflect empirical testing. 2012-09-20 21:38:19 +02:00
Saggi Mizrahi
2e50137a8d Fix PAL emulation
Also fixes overscan issues with more resolutions.

Signed-off-by: Saggi Mizrahi <ficoos@gmail.com>
2012-08-22 15:47:20 -04:00
Themaister
b9524d6d46 Minor fixups. 2012-08-17 23:01:08 +02:00
Saggi Mizrahi
3e890b55fe Add support for regular gamepad input
Some games cannot work with dual analog input. (eg. Castlevania -
Symphony of the Night).

I reuse the mouse device because RetroArch doesn't givce plugins the
ability to add "features". I choose specifically the mouse options
because it's the only device type that can be specified per input port.

The default is now "gamepad" because it's the most compatible option and it
is the default in mednafen [1].

[1] http://mednafen.sourceforge.net/documentation/09x/psx.html

Signed-off-by: Saggi Mizrahi <ficoos@gmail.com>
2012-07-24 21:23:10 -04:00
Themaister
03fcaf14d4 Analog support. 2012-06-28 23:29:42 +02:00
Themaister
fa5adbacd5 Opt-in for 24bpp. 2012-06-16 15:25:49 +02:00
Themaister
1ad1474089 Avoid using configs. Requires system dir. 2012-06-16 01:00:17 +02:00
Themaister
8f40825763 Build fix. 2012-06-12 01:06:33 +02:00
Themaister
98cd4c5d0d Use RETRO_ENVIRONMENT_GET_SYSTEM_DIRECTORY. 2012-06-12 01:03:09 +02:00
Themaister
f48f8405a4 Use sthread abstraction for threads. 2012-06-10 00:47:44 +02:00
Themaister
d3924ab7d6 Revert "Automatically create .cue from .iso/.img, etc."
This reverts commit df00f075c4.
2012-06-05 18:04:43 +02:00
Themaister
df00f075c4 Automatically create .cue from .iso/.img, etc. 2012-06-05 18:26:45 +02:00
Themaister
3eea3bb044 Small nits. 2012-06-03 19:29:23 +02:00
Themaister
57ebac86b8 Input appears to work. 2012-06-03 18:58:46 +02:00
Themaister
e942ae84aa Initial commit. 2012-06-03 17:48:14 +02:00