Commit Graph

236 Commits

Author SHA1 Message Date
BeWorld f5d75506a6
SDL2: delete scalers from build 2022-01-06 13:08:51 +01:00
dinkc64 7d095825d9 add HardFX shaders from FC [JordiRos / shine] 2022-01-06 02:01:29 -05:00
dinkc64 6487ba085d dx9, some debug info for alt 2022-01-05 00:07:14 -05:00
dinkc64 9764f55580 dx9, oops 2022-01-01 09:17:25 -05:00
dinkc64 a0950c89fa dx9 niceification part ...? 2022-01-01 01:41:48 -05:00
dinkc64 f45f5c161f oops, debug leftover 2021-12-25 11:28:51 -05:00
dinkc64 be5837743b dx9 blitter, add other osd stuff (for replays) 2021-12-25 10:24:12 -05:00
dinkc64 fc3bb82635 dx9 blitter fixes + status icons 2021-12-24 11:05:12 -05:00
dinkc64 e50828ccb8 af; very faster gets slightly more very fasterer 2021-12-20 00:13:58 -05:00
dinkc64 7bcc699daf input: autofire improvements, add even faster than very fast option + always start autofire on sequence on current frame button is pressed on 2021-12-19 01:15:02 -05:00
dinkc64 bc514670be add volume to Audio menu 2021-12-14 00:48:56 -05:00
dinkc64 ef81a2063b blitters (win, sdl) bugfix: don't morph flipped-only to vertical. 2021-12-10 09:38:10 -05:00
dinkc64 26d1deb04a video, less derpy mode changes for megadrive, etc 2021-11-25 00:15:58 -05:00
dinkc64 5523203843 update for softfx 2021-09-16 00:04:26 -04:00
barbudreadmon ee4a188d06 Revert "lib7z update"
This reverts commit 93297a8420.
2021-08-31 16:32:37 +02:00
barbudreadmon 93297a8420
lib7z update 2021-08-31 12:44:46 +02:00
Akop Karapetyan 21da1a3816 Basic input config 2021-08-22 03:02:04 -07:00
dinkc64 1bda595f0a neogeocd: runahead fixed 2021-08-08 10:08:09 -04:00
petrisi 79c8161bd6
Update inp_sdl2.cpp (#829)
Fixed the controller axis checking. We have two checks per axis of the controller. I discovered this when troubleshooting why only left and right (both ends of the first axis) was working on 2-axis Retrolink SNES controller.
2021-08-01 20:20:02 -04:00
dinkc64 36f696eafc add INCLUDE_LUA_SUPPORT tag to makefile 2021-07-27 01:47:56 -04:00
dinkc64 b19f29d342 try try again 2021-07-27 01:34:29 -04:00
dinkc64 41ca447c7c vid_d3d.cpp / D3DMATRIX, make compiler happy 2021-07-27 01:19:36 -04:00
dinkc64 8832507305 fix lua impl. bugs: standardize all blitter frame callback code w/VidFrameCallback() in vid_interface.cpp
- this allows lua to work everywhere (any blitter/system/fullscreen)
win d3d7 blitter, set flags to preserve fpu precision
- this fixes bugs w/lua and also fpu calculation issues that we had before w/neogeo cycles, etc.
move lua scripting to a more decent place under cpu speed setting in the "Game" menu
2021-07-27 00:04:04 -04:00
Jordi Ros 8266a1b167
Lua support (#824)
Ported from legacy fba-rr
2021-07-25 09:11:57 -04:00
grant2258 1070b3656b
add mingw cross compile (#827)
* add mingw cross compile

* forgot these checky monsters

Co-authored-by: grant2258 <grant2258@users.noreply.github.com>
2021-07-25 09:10:25 -04:00
Akop Karapetyan 09a78a7720 Initial stab at joy config 2021-07-11 23:43:34 -07:00
dinkc64 87d8fa11ec up maximum gamepad value for dinput 2021-07-03 12:29:45 -04:00
dinkc64 d9c06bca59 up MAX_GAMEPAD to 16 (from 8) 2021-07-01 10:03:35 -04:00
dinkc64 ac6d67e17c Auto-Fire improvements: sometimes you want to go faster, but not very fast. Stagger multiple autofire buttons (for track and field / 88 games, etc) 2021-06-08 02:01:51 -04:00
Akop Karapetyan 1c9bd85a11 Preliminary joystick support 2021-06-06 23:50:57 -07:00
Akop Karapetyan 338a4ce241 Added d_cyclemb 2021-06-05 10:55:19 -07:00
Akop Karapetyan 8c816668c4 Added macOS input list 2021-05-31 10:57:04 -07:00
dinkc64 ebd01a7c1e Basic Blitter (directdraw): fix flipping 2021-04-25 10:35:09 -04:00
dinkc64 0ac4fedf2a fixes by joaomarcelobrumano: black border glitch, Mega Drive input macro ABC bug that bind the XYZ button mapping instead, Now you can use the RGB effect simultaneously with the 3D Projection (still lack the black border of the 3D projection) 2021-03-27 23:32:18 -04:00
BeWorld 9d6ba036c1
SDL2 : somes improvements and fixes (#656)
* SDL2 : add flipped on horizontal game

add rotation 170°
simplfy code

* SDL: gzip.cpp update

Test if szAppRomPaths is empty.
This correction avoids scanning the root directory for nothing

* SDL2 GUI : reworking filters

- add F5 to reset current filters
- add all filters in config file
- change window width to 1024px
- change higth of game list selection
- add "Audio sample rate" to config file

* SDL2: add % to progress bar

* SDL2 GUI : somes fixes

- fix SDL_Init()
- add SDLK_KP_ENTER (padkey) to select game (same as RETURN)
-  Enable mouse cursor ?!

* SDL2 GUI : fix progress bar

* SDL2: no need SDL_INIT_AUDIO
2020-12-23 15:06:36 -05:00
BeWorld bf897ad31d SDL/SDL2: add volume support
+ / - keyboard in game
2020-12-21 13:35:04 +01:00
BeWorld 7434efa6a8 SDL2 : improvement
- SDL2 GUI : move IMG_ReadXPLFromArray (not use yet)
- SDL2 GUI : fix loading background title
- SDL2 GUI :  fix some typo
- SDL2 renderer : fix window size and force scale * 2
2020-12-20 12:00:31 +01:00
BeWorld 4fac42dc96 SDL2: little change
- Add SDL_UpdateTexture instead of SDL_LockTexture / SDL_UnlockTexture
2020-12-18 15:50:50 +01:00
BeWorld eb7523ccac SDL2: update
- Add Pause when lost focus on window and limit usage of CPU
- Update Readme.SDL
- SDL2 GUI : Add game genre information
- SDL2 GUI : Reorganization of game information (genre, number of players, etc.)
- SDL2 GUI : limit CPU usage
- SDL2 GUI : add gamepad name (when found in console)
2020-12-17 09:01:52 +01:00
BeWorld d6f9a1c921 SDL2: fix compiling 2020-12-03 08:13:19 +01:00
BeWorld 4425ff884c SDL2: add ALT-ENTER to switch mode fullscreen/window 2020-12-02 16:55:52 +01:00
dinkc64 12e9455336
Revert "SDL2: add switch window/fullscreen" 2020-12-01 20:24:58 -05:00
BeWorld 00b56a0e03 SDL2: fix FPS on window title
Fix when disable it
2020-11-30 18:45:53 +01:00
BeWorld 516cd5d012 SDL2: add switch window/fullscreen
Add ALT-ENTER : switch between window/fulscreen or fullscreen/window
2020-11-30 17:16:06 +01:00
BeWorld 671adf6af4 SDL2: enhanced SDL2 OpenGL
- add video filtering support (LINEAR/NEAREST)
- add fullscreen support
- add window resize support
2020-11-30 11:30:18 +01:00
BeWorld ba6e7f8e15 SDL2 : Add WindowTitle and FPS
Add FPS on window title (not in fullscreen)
2020-11-30 11:28:59 +01:00
BeWorld 63625138cc SDL2: add failed back SOFTWARE renderer
if SDL_RENDERER_ACCELERATED not available
2020-11-30 11:21:20 +01:00
Subs 72026e77ce Better switchres integration and rotation handling 2020-10-04 19:46:05 +02:00
Subs a19bac6bc0 Add switchres to linux/sdl2
This allows perfect display on CRT
The work is based on https://github.com/antonioginer/switchres which is the switchres code extracted from GroovyMAME and made available to other emulators that wish to add CRT display.
This first commit simply concerns linux using the SDL2 video backend.
Add INCLUDE_SWITCHRES=1 to enable switchres functionnality at make.
To test under Linux you need:
  * a valid switchres.ini in /etc
  * libswitchres.so in your LD_LIBRARY_PATH
2020-10-02 22:43:07 +02:00
tmaul 082c58ff4a sdl2 updates. Make sure you put the screenshots in the right directory 2020-09-28 22:05:35 +01:00
JacKc029735 e8e7ee0e57 Input macros update [taoenwen]
- Added all the possible combination buttons for all games
- In cps2 system, two buttons for setting volume are shielded (Macro only)
- Solved some games with three buttons, P3 without "fire 3" caused by macro settings error (jurassic99 ...)
// The problem that P5 & P6 macro of xmen6p was pointed to "P1 coin" was solved
- Check box is added for listview in input settings to set auto-fire
- All added macros can be set to auto-fire, which needs to be checked in advance
- When setting auto-fire, there will be a prompt if there is an error
- The text of the information prompt does not use RC resources. It can only be rendered in English for the time being and may be updated in the future
2020-09-13 15:47:51 +02:00
dinkc64 975e869291 xaudio2: fix volume control 2020-09-05 10:00:05 -04:00
JacKc d00823da3c (nw) restore old settings as requested per dink
- resize splash.bmp to 304x224
- update misc.bmp
2020-08-23 18:18:03 +02:00
JacKc 103e5b32ab update resource with new FB Neo logo and images
- Not sure the changes i've made in vid_interface.cpp is correct but it is the only way i've found to display properly splash.bmp
- you will need to make a new compile from scratch to apply those changes
2020-08-23 12:09:42 +02:00
dinkc64 1be0bd3bee ui: digital analog mapping wip 2020-03-10 10:37:50 -04:00
dinkc64 a26f73c730 Input system: EZ map digital controls to analog inputs 2020-03-09 23:14:10 -04:00
tmaul c6f4fecb6a SDL2: overlays for rotated games are still not right :( 2020-02-06 16:17:50 +00:00
tmaul 8eeebc71b0 Merge branch 'master' of https://github.com/finalburnneo/FBNeo into sdl2-menu-improvements 2020-02-02 21:35:39 +00:00
dinkc64 e03ef7789b win32/scrn.cpp:ScrnSize(): don't overflow while calculating the aspect ratio on huge monitors using pixel aspect ratio on the game-side (nes) 2020-02-01 20:30:00 -05:00
tmaul 04d8dda505 make pulse audio and option when building sdl2 2020-01-28 13:22:37 +00:00
tmaul c6c2d3a0ef cleaner sdl2 commits :) 2020-01-23 22:01:59 +00:00
dinkc64 2c5d4d05d8 aud_dsound3.cpp, hacky work-around for crashy midway (mk2, etc) via kaillera. todo: figure out real cause of the problem, think it has something to do with refresh rate as force60hz solves the problem 2020-01-02 23:10:59 -05:00
dinkc64 bddf08ddc3 aspect ratio calculation fix (use desktop resolution to calculate aspect ratio, not the workspace area) 2019-12-19 10:18:01 -05:00
Akop Karapetyan d50fea39c6 Moved FBScreenView to Views/ 2019-12-14 23:30:50 +00:00
Akop Karapetyan 9952fd297b Re-licensed ObjC code under Apache 2019-12-14 23:30:50 +00:00
Akop Karapetyan 8cec029815 Added CVDisplayLink pref
Started EmulationController preload
2019-12-14 23:30:50 +00:00
Akop Karapetyan bd627bf5b3 Compat. with Catalina
CVDisplayLink rendering
2019-12-14 23:30:50 +00:00
dinkc64 7b1d9c80af vid_interface, select softFX blitter as default on 64bit builds - it does proper flipping in cases where the basic blitter doesn't (due to lack of hw-flipping in ddraw support in later video adapters) 2019-12-11 23:40:33 -05:00
Akop Karapetyan 2de331795d Initial stab at pi4/DRM 2019-11-21 09:49:32 +00:00
Akop Karapetyan 9c6b762bb9 Fixes #170 - Rygar screen corruption (#172) 2019-11-19 08:11:36 +01:00
Akop Karapetyan ffdec3fb96 Switched to native sound code 2019-10-30 19:47:36 -07:00
Akop Karapetyan 4293b986df Version 1.01 2019-10-29 17:44:58 -07:00
Akop Karapetyan 8bc14f097d Added 'hide cursor locking', volume control in prefs 2019-10-29 17:44:58 -07:00
Akop Karapetyan 1fdafab521 Added input locking info to titlebar 2019-10-29 17:44:58 -07:00
Akop Karapetyan c77c24e443 Mouse support completed 2019-10-29 17:44:58 -07:00
Akop Karapetyan 02b23398d7 Mouse cursor locking/unlocking 2019-10-29 17:44:58 -07:00
Akop Karapetyan 39bbdbd9ed Unicode rom titles
Initial work on mouse support
Moved Reset to menu, F3 disabled
Menu items for pause and reset now context-sensitive
2019-10-29 17:44:58 -07:00
Akop Karapetyan 5b51e3c8a3 Added pause/resume
PreferencesController skeleton
2019-10-27 02:13:14 -07:00
Akop Karapetyan b461a0e61a Fixed CPSIII video rendering 2019-10-23 08:48:01 +01:00
Akop Karapetyan de30f6a28d Fixed flipped rendering 2019-10-23 08:48:01 +01:00
Akop Karapetyan 314d90dbd5 Window resizing post-reload
Runloop delegates
2019-10-23 08:48:01 +01:00
Akop Karapetyan c1ec0d3b43 Added reloading 2019-10-23 08:48:01 +01:00
Akop Karapetyan 89b4180eb2 Rudimentary keyboard input 2019-10-23 08:48:01 +01:00
Akop Karapetyan 501d815a31 Added video rendering 2019-10-23 08:48:01 +01:00
Akop Karapetyan 703af9d764 Running with only sound 2019-10-23 08:48:01 +01:00
Akop Karapetyan f8f4c03d51 Added SDL, sound 2019-10-23 08:48:01 +01:00
Akop Karapetyan 8033b4ec8f Stubbed build 2019-10-23 08:48:01 +01:00
Akop Karapetyan 7d09dc21ec Added PI readme 2019-10-18 12:05:46 +01:00
Akop Karapetyan 58ebd0aaf0 Fixed issues with MK (Pi) 2019-10-18 12:05:46 +01:00
Akop Karapetyan 7f737c1474 Removed no longer used libraries/files 2019-10-18 12:05:46 +01:00
Akop Karapetyan ff15179a55 Switched to rom-specific joyconfigs 2019-10-18 12:05:46 +01:00
Akop Karapetyan b12d1c141b SDL build 2019-10-13 21:40:37 +01:00
Akop Karapetyan 1a1961953d More work on linkage 2019-10-10 21:33:51 +01:00
Akop Karapetyan 2d55a09667 More linking, compilation 2019-10-10 21:33:51 +01:00
tokuio 5cccc031df use vertical monitor aspect ratio for fullscreen vertical games which are rotated 2019-08-24 14:49:34 +01:00
tokuio 0e749fc436 auto detect vertical monitor aspect ratio + resolution 2019-08-24 14:49:33 +01:00
dinkc64 af7b26296e neogeocd state stuff 2019-07-07 10:10:04 -04:00
dinkc64 fb0832183e misc derps 2019-06-29 23:45:22 -04:00
dinkc64 e6266273d5 fix video settings text in Help -> System Info. 2019-06-26 00:32:31 -04:00
dinkc64 20cad6fe5d derp 2019-05-30 23:13:52 -04:00