Commit Graph

1895 Commits

Author SHA1 Message Date
BearOso a5cb64f707 Add explicit declaration of tile unit templates.
Silences warnings and prevents double-compilation.
2020-08-07 15:36:03 -05:00
BearOso e58c16351c Shaders: Use C++ style struct types.
Supresses non-C-compatible warnings.
2020-08-07 14:59:03 -05:00
BearOso 4973d625ba Shaders: Bump glslang version to latest stable. 2020-08-07 14:51:30 -05:00
BearOso 668f1d967b Shaders: Compile correct GLSL version on legacy.
OpenGL versions below 3.3 will use GLSL version 1.50.
This lets slang shaders work on earlier versions.
2020-08-07 14:08:51 -05:00
BearOso e705e71a97 Remove S9xChooseMovieFilename
This is integration of the frontend with the core. Disable
the button mappings that use it. The frontend should implement on
its own.
2020-08-07 14:08:51 -05:00
BearOso f04f1bbe44 Remove S9xChooseFilename
This is integration of the frontend with the core. Disable
the snapshot button mappings that use it. Any frontend should
implement those port commands its own.
2020-08-07 14:08:51 -05:00
BearOso 063b3a959c Move _splitpath and _makepath into core. 2020-08-07 14:08:51 -05:00
BearOso e322bbf109 Remove S9xSetPalette 2020-08-07 14:08:51 -05:00
Michael Buckley 793b3f623f Allow building for Apple Silicon 2020-07-30 20:31:10 -07:00
Michael Buckley e3e3e287d8 Mac: Update for Xcode 12 2020-07-30 20:30:25 -07:00
BearOso bdd061847e Gtk: Fix recent menu. Add game name to title. 2020-07-30 18:24:54 -05:00
BearOso e26649c242 Update cirrus.yml to get all submodules. 2020-07-29 19:22:29 -05:00
BearOso d38c15cf78 win32: Include ResourceLimits.cpp in glslang. 2020-07-29 18:33:15 -05:00
BearOso 6e9cfce6f1 Gtk/Shaders: Use embedded copy of glslang. 2020-07-29 18:32:46 -05:00
Brandon Wright 6db085dc23 win32: Fix glslang include directory. 2020-07-28 18:24:27 -05:00
Brandon Wright c05b27b9ea win32: Redirect glslang file references. 2020-07-28 17:39:49 -05:00
Brandon Wright 730597e12f Add glslang to shaders directory. 2020-07-28 17:25:27 -05:00
Brandon Wright 2ac236ba10 Remove glslang from win32 directory. 2020-07-28 17:22:51 -05:00
Brandon Wright fd88971598 Gtk: Don't expand shader parameter widgets. 2020-07-27 17:58:03 -05:00
Brandon Wright a20e726ca2 Gtk: Add gthread library dependency. 2020-07-21 14:17:15 -05:00
bearoso ffca428bb3
Merge pull request #648 from keithbowes/indicate-meson-version
Indicate required Meson version
2020-07-21 14:12:03 -05:00
Keith Bowes edb4866671 Indicate Meson version 2020-07-21 13:49:13 -04:00
Brandon Wright 5c0aabacbe cirrus: Add libgtkmm-3.0-dev to linux packages. 2020-07-17 14:56:41 -05:00
Brandon Wright e17ff69533 Gtk: Switch codebase to gtkmm.
GTK: Remove support for GTK+ 2.0.

GTK 3 is stable and widespread enough now.

GTK: Rearrange headers to eliminate gtk_s9xcore.h

Gtk: Initial gtkmm conversion work.

Gtk: More gtkmm conversion and bug fixing.

Gtk: More gtkmm fixes.

Gtk: More Fixes

OpenGL no longer creates a second window.
Accelerators are fixed.

Gtk: More fixes

Removed GLX context dependency on Gtk.

Gtk: Fix formatting.

Gtk: Remove a #pragma once
2020-07-17 14:48:34 -05:00
Brandon Wright 3c3ea985ef GTK: Refactoring of display output code.
Moves buffer management to single location.
2020-06-30 17:28:10 -05:00
Brandon Wright 38bcabff68 Shaders: Use const char * for filenames. 2020-06-30 16:53:52 -05:00
bearoso 341a6c7aea
Merge pull request #636 from LinRs/zh_CN
GTK: Add Simplified Chinese translations
2020-06-30 14:14:46 -05:00
bearoso 4d2c484c81
Merge pull request #642 from JotaRandom/master
Translation update
2020-06-30 14:14:08 -05:00
bearoso fd558dbd05
Merge branch 'master' into master 2020-06-30 14:13:50 -05:00
Brandon Wright 0f0914cca5 GTK: Config code cleanup. 2020-06-21 15:25:54 -05:00
bearoso 4c89a52e63
Merge pull request #644 from AlexApps99/master
Improvements to mute when using turbo
2020-06-21 15:17:24 -05:00
AlexApps99 9e91d9d8ae Fixed sound playing while in turbo after pause
(this may break other aspects of audio around pausing)
2020-06-21 22:02:08 +12:00
AlexApps99 4f3e6681ef Added rewind to turbo mute 2020-06-21 21:46:27 +12:00
Michael Buckley cb562b2e4c Mac: Remove 1-pixel border that was cutting into the window 2020-06-20 17:35:14 -07:00
Brandon Wright 4b456306da Remove out-of-bounds access with macs rifle data.
Don't access past the end of the internal array, just use the
internal_macs variable directly.
2020-06-20 11:05:25 -05:00
Brandon Wright 5c3fbf6740 Fix some warnings.
Removed sstrncpy function.
Changed bindings in GTK port to std::array and fixed packing nonsense.
2020-06-20 10:44:11 -05:00
Pablo Lezaeta Reyes bbdc7e2f21 Update Spanish Translation
Signed-off-by: Pablo Lezaeta Reyes <jota@Jota-PC.localdomain>
2020-06-12 02:51:13 -04:00
pablo Lezaeta Reyes d607c1e38d Update translations [placeholder]
Signed-off-by: pablo Lezaeta Reyes <jota@Jota-PC.localdomain>
2020-06-12 02:39:28 -04:00
JotaRandom 2d4d589923
Merge pull request #1 from snes9xgit/master
Merging
2020-06-11 05:10:33 -04:00
Brandon Wright 995f0be52c SA1: Remove memory remapping at load state.
This fixes the Mega Man X SA1 patch.
2020-06-07 15:38:01 -05:00
OV2 432fc08498
Merge pull request #638 from cout/increase_sram_size
Increase SRAM size to 512KB
2020-03-31 20:37:27 +02:00
Paul Brannan a70aa17c56 Increase SRAM size to 512KB
Increased SRAM size from 128KB to 512KB.  This fixes a crash in the
emulator when writing to SRAM between addresses $720000 and $7DFFFF.
2020-03-31 06:35:29 -04:00
Michael Buckley bdd7db354d Mac: Fix redraw issues on dual monitor setups when closing and reopening the window 2020-03-18 20:14:57 -07:00
Michael Buckley 09dc8f19c0 Mac: Fix pause fade after closing and reopening window 2020-03-18 17:54:18 -07:00
Michael Buckley a4b207cbaa Mac: Always save SRAM on window close and quit 2020-03-18 17:22:51 -07:00
Michael Buckley 7d028a4e74 Mac: Fix window redraw crash 2020-03-18 17:22:39 -07:00
LinRs abfa59945d GTK: Add Simplified Chinese translations 2020-03-04 21:48:00 +08:00
Michael Buckley d6a0fa8ea5 Mac: Another fix to joypad hats 2020-03-01 17:19:23 -08:00
Michael Buckley 4d0b99ef12 Mac: Prevent centering analog stick from affecting hat values 2020-03-01 17:19:23 -08:00
Michael Buckley 0a9d83654b Mac: Make metal layer inherit content sale from window to fix issues swapping between retina and non-retina monitors 2020-03-01 16:59:00 -08:00