Commit graph

736 commits

Author SHA1 Message Date
rdanbrook
0fe4aa5c80 FLTK: Fix aspect ratio and do special handling for overscan masking 2024-06-01 21:18:09 -06:00
rdanbrook
cde9cb7e41 FLTK: Sync to latest jg.cpp 2024-06-01 20:33:02 -06:00
rdanbrook
5763bb19ff FLTK: Add 5:4 aspect ratio 2024-05-31 21:24:00 -06:00
rdanbrook
2ba35ee0cf FLTK: Add a definition for Quit to input configuration 2024-05-31 21:05:21 -06:00
rdanbrook
0ab75febef FLTK: Modern GL renderer and shaders 2024-05-29 23:16:26 -06:00
rdanbrook
a500d95bac FLTK: Remove some unused code 2024-05-28 08:29:26 -06:00
rdanbrook
84371a9a20 FLTK: Centralize logging 2024-05-28 08:28:06 -06:00
rdanbrook
e82ad38035 FLTK: Add log driver 2024-05-27 23:31:46 -06:00
rdanbrook
412b78681c FLTK: Rewrite video code and do some random cleanup elsewhere 2024-05-27 23:05:10 -06:00
rdanbrook
ff32ec77d6 FLTK: Clean up main fltkui interface 2024-05-26 13:02:33 -06:00
rdanbrook
eee60f7a5c FLTK: Rewrite audio playback code 2024-05-25 07:06:03 -06:00
rdanbrook
fcb3976aaf FLTK: Handle some bugs exhibited when using GNOME 2024-05-19 21:54:34 -06:00
rdanbrook
0ad4790576 FLTK: Cheats reimplemented 2024-05-19 08:01:51 -06:00
rdanbrook
9b2f86dbb8 FLTK: Make sure to initialize member variable in JGManager 2024-05-17 14:25:15 -06:00
rdanbrook
b22f8a0d93 FLTK: Begin full rewrite
- The FLTK frontend is now based on Nestopia JG, which has been imported
  into the codebase and largely replaces the functionality previously
  contained in "nstcommon", as well as the old input system. This has
  effectively become a "Jolly Good API" frontend specific to Nestopia.

- Many new input devices are now supported, and can take both a
  keyboard/mouse and a joystick definition. This includes user interface
  functionality, such as fast forward, state saving, disk swapping, and
  resetting.

- USB joysticks/gamepads are now hot-pluggable

- The window is now freely resizable and adapts to the change by making
  the emulator output fill as much as possible while maintaining the
  selected aspect ratio.

- Settings are now separated by interface settings, emulator settings,
  and input definitions.

- General UI improvements have been done. The code is significantly
  cleaner and more flexible, with some user-facing improvements to the
  theme and menu system.

- This revision is still WIP. Some features or settings are either
  temporarily or permanently removed:
  - All audio related settings are gone, pending a rewrite of the audio
    output code in the frontend. PAL (50Hz) support is flaky.
  - Video filters have been removed, with the tentative plan to replace
    them with modern shaders.
  - Some NTSC filter fine tuning settings are not yet exposed in
    Nestopia JG
  - Some video settings (such as Hue/Saturation) are removed
  - NSF Playback is removed pending a replacement using FLTK widgets
  - The rewinder is disabled, with a tentative plan to replace it with
    a solution that is implemented entirely in the frontend.
  - Cheats are temporarily non-functional
2024-05-17 08:14:19 -06:00
rdanbrook
f0ab55eeff Update ChangeLog and bump version 2024-03-29 16:03:25 -06:00
rdanbrook
063e4bba70 FLTK: Use less magic numbers for UI element sizes 2024-03-29 15:45:31 -06:00
rdanbrook
6457ea6b25 FLTK: Use standard palette sizes when loading external palettes 2024-03-29 15:45:09 -06:00
rdanbrook
3f92020966 FLTK: Kill warnings in fltkui_cheats.cpp 2024-03-23 10:40:25 -06:00
rdanbrook
d1fa90ff32 Sync latest upstream changes at commit 01f2f810 2024-03-23 10:40:25 -06:00
xiota
de91fbb8df FLTK: Reduce indentation level 2024-01-03 15:42:15 -05:00
xiota
3c6562b38a FLTK: Enable loading compressed files (nes.gz, nes.xz, nes.zst) 2024-01-03 15:42:15 -05:00
xiota
f8ec14c409 FLTK: Add .zst to supported file types 2024-01-03 15:42:15 -05:00
xiota
aca778fb1b fix order of operations 2024-01-02 09:43:44 -05:00
rdanbrook
185d7470f5 FLTK: Update about dialog 2023-09-24 12:48:35 -06:00
rdanbrook
c264994ffd FLTK: Overhaul input using techniques from Nestopia JG 2023-09-24 12:48:35 -06:00
rdanbrook
d897bfdc04 Update ChangeLog and bump version 2022-12-29 08:22:27 -06:00
rdanbrook
fc0901e88e Adapt win32 port to latest core changes 2022-12-28 23:55:49 -06:00
rdanbrook
002f9d7941 Sync latest upstream changes, adapt fltkui for audio changes 2022-12-26 21:47:53 -06:00
Johan Mattsson
120fe102f3 Fix incorrect conditional expression 2022-11-19 14:09:39 -05:00
Johan Mattsson
a94702abdc Fix index out of bounds 2022-11-19 14:09:39 -05:00
rdanbrook
c028ce8a1b Fix win32 build with UNL-158B 2022-11-02 22:10:51 -06:00
rdanbrook
1365c2cbbc Sync latest changes from upstream repo 2022-11-02 21:32:16 -06:00
cpasjuste
02ec0b1df8 FLTK: use nst prefix for data directories 2022-05-16 18:29:07 -04:00
rdanbrook
c10337833f Merge upstream support for larger MMC3 ROM hacks 2022-01-17 20:13:26 -05:00
rdanbrook
ae66c627a3 FLTK: Update to latest lodepng 2021-12-11 10:15:40 -05:00
rdanbrook
9c9aaf7700 Merge latest core changes from upstream repo 2021-12-11 10:15:29 -05:00
rdanbrook
58645c0da5 FLTK: Better frame timing 2021-12-11 10:04:28 -05:00
rdanbrook
1ead1bde80 Update ChangeLog and bump version 2021-08-25 22:38:08 -04:00
rdanbrook
fecad6d8a5 Merge upstream core at tag 1.51.1 2021-08-25 22:20:30 -04:00
rdanbrook
1f407e3d0b Increase number of samples to generate when audio buffer drains too quickly 2021-08-02 17:26:44 -04:00
rdanbrook
a2d9673293 Look in DATADIR for NstDatabase.xml when installed system-wide 2021-07-19 19:22:26 -04:00
rdanbrook
d57e02e19b Build fixes for homebrew 2021-05-27 12:09:51 -04:00
rdanbrook
1c1989ae06 Redunant redraw of GL widget removed in FLTK port 2021-05-19 16:42:36 -04:00
wyatt8740
a1484617d4 Fixed a strange hang (likely due to a full buffer or something) on fltkui on slow old single core machines (tested on Pentium M 1.73GHz, PPC G4 1.33GHz) 2021-05-19 12:11:12 -04:00
rdanbrook
1e8e9ff3c3 Fix colours on big endian in FLTK port 2021-05-18 19:35:49 -04:00
rdanbrook
6c5f60592e Use SDL's internal sample rate converter instead of libsamplerate 2021-05-17 21:10:30 -04:00
rdanbrook
8148da0b3e Use libsamplerate in FLTK port 2021-04-30 22:13:49 -04:00
rdanbrook
40fe7c5ab4 FLTK: Disable manual window resizing 2021-04-10 12:03:58 -04:00
rdanbrook
013c441255 Fix DIP Switches in FLTK port 2021-03-27 20:50:29 -04:00