Commit Graph

6193 Commits

Author SHA1 Message Date
SuuperW 72fc1bc02d Update all configurations for DesHawk to build a DLL. 2019-09-30 11:58:57 -05:00
SuuperW 44c2a8c243 bug fix 2019-09-30 11:38:24 -05:00
SuuperW 5d5879bd26 VideoBuffer 2019-09-30 11:36:27 -05:00
SuuperW 7c75595b95 ResetFrameCounters 2019-09-30 11:24:31 -05:00
SuuperW 6f2a83cad9 FrameAdvance and SetInput 2019-09-30 11:19:52 -05:00
SuuperW e34c8fd52c Add ability to load a ROM from a byte array instead of a file. 2019-09-30 11:15:42 -05:00
SuuperW d0b31758fc Begin making DesHawkAPI 2019-09-30 10:36:48 -05:00
SuuperW 271a3ca9c6 Create "DesHawk" project by copying DeSmuME project and reconfiguring to build as a DLL. 2019-09-30 09:38:47 -05:00
zeromus 46980d7732 fix crc calculation method for cheats DB 2019-09-25 22:04:58 -04:00
zeromus 9e6b4f128f
Merge pull request #289 from YuGiOhJCJ/gtk-warning-fix-1
Move a statement later to avoid a GTK warning
2019-07-28 02:27:24 -04:00
Your Name b9317ad184 * desmume/src/frontend/posix/gtk/main.cpp(common_gtk_main): Modify a multiline comment to be a single line comment.
* desmume/src/frontend/posix/gtk/main.cpp(common_gtk_main): Add a comment to indicate that moving the following instruction implies that a GTK warning is shown.
* desmume/src/frontend/posix/gtk/main.cpp(common_gtk_main): Move a statement later to avoid a GTK warning.
2019-07-28 08:10:55 +02:00
zeromus 2185b6adfe
Merge pull request #288 from YuGiOhJCJ/gtk-firmware-language
Add the "Set firmware language" menu item
2019-07-26 08:50:05 -04:00
YuGiOhJCJ 07576fea31 * desmume/src/frontend/posix/gtk/config_opts.h: Add the "command_line_overriding_firmware_language" option.
* desmume/src/frontend/posix/gtk/config_opts.h: Add the "firmware_language" option.
* desmume/src/frontend/posix/gtk/main.cpp: Add the "setfirmwarelanguage" menu item.
* desmume/src/frontend/posix/gtk/main.cpp: Add the "setfirmwarelanguage" action entry.
* desmume/src/frontend/posix/gtk/main.cpp(CallbackSetAudioVolume): Fix its parameters ("*" attached to the name rather than the type).
* desmume/src/frontend/posix/gtk/main.cpp(SetAudioVolume): Fix its indentation (spaces replaced by a tab).
* desmume/src/frontend/posix/gtk/main.cpp(SetFirmwareLanguage): Add this function.
* desmume/src/frontend/posix/gtk/main.cpp(CallbackSetFirmwareLanguage): Add this function.
* desmume/src/frontend/posix/gtk/main.cpp(common_gtk_main): If the command line overriding is enabled, then use the language set on the GUI.
2019-07-26 08:48:18 +02:00
zeromus 1e0a29ee27
Merge pull request #287 from YuGiOhJCJ/gtk-audio-volume
Add the "Set audio volume" menu item
2019-07-24 03:09:57 -04:00
YuGiOhJCJ ac42f1d1bf * desmume/src/frontend/posix/gtk/config_opts.h: Add the "audio_volume" option.
* desmume/src/frontend/posix/gtk/main.cpp: Add the "setaudiovolume" menu item.
* desmume/src/frontend/posix/gtk/main.cpp: Add the "setaudiovolume" action entry.
* desmume/src/frontend/posix/gtk/main.cpp(SetAudioVolume): Add this function.
* desmume/src/frontend/posix/gtk/main.cpp(CallbackSetAudioVolume): Add this function.
* desmume/src/frontend/posix/gtk/main.cpp(common_gtk_main): Add the "SNDSDLSetAudioVolume" function call.
* desmume/src/frontend/posix/shared/sndsdl.cpp: Add the "audio_volume" global variable.
* desmume/src/frontend/posix/shared/sndsdl.cpp(MixAudio): Add the "SDL_MixAudio" function call.
* desmume/src/frontend/posix/shared/sndsdl.cpp(SNDSDLGetAudioVolume): Add this function.
* desmume/src/frontend/posix/shared/sndsdl.cpp(SNDSDLSetAudioVolume): Add this function.
* desmume/src/frontend/posix/shared/sndsdl.h: Add the "audio_volume" global variable.
* desmume/src/frontend/posix/shared/sndsdl.h(SNDSDLGetAudioVolume): Add this function.
* desmume/src/frontend/posix/shared/sndsdl.h(SNDSDLSetAudioVolume): Add this function.
2019-07-24 08:20:18 +02:00
rogerman de198c00a0 Colorspace Handler: Add support for AVX-512, new 16-bit to 32-bit alpha agnostic conversion functions, and minor optimizations to some functions.
- New 16-bit to 32-bit alpha agnostic conversion functions: ColorspaceConvert555XTo888X_*(), ColorspaceConvert555XTo666X_*().
- Minor optimizations to the following functions: ColorspaceConvert555To8888_*(), ColorspaceConvert555To6665_*(), ColorspaceApplyIntensity32_*().
2019-05-20 14:57:34 -07:00
zeromus 2d2320f4d1
Merge pull request #276 from fpscan/patch-4
typo related updates
2019-05-07 19:46:32 -04:00
Ömercan Kömür 8a826d4230
Update resources.rc 2019-05-08 00:38:15 +03:00
Ömercan Kömür 6cf9f1a98d
typo related updates
Since full text unable to read when it was 35, changed to 71, so its readable right now.
Typo corrected
Added Windows Border to sound setting to make it more important
“Wi-fi” is used to certify the interoperability of wireless computer networking devices. So Wifi changed to Wi-fi
2019-05-07 23:49:29 +03:00
zeromus 79633495c4
Merge pull request #275 from fpscan/patch-1
update reoursces.rc
2019-05-07 15:11:25 -04:00
Ömercan Kömür 85cb5b6c65
update reoursces.rc
Missed Caption added
2019-05-07 22:06:35 +03:00
zeromus 21df3059f4
Merge pull request #274 from awforsythe/master
Clarify parameter names for gui.setlayermask
2019-05-04 21:53:26 -04:00
Alex Forsythe 6e5c9dbaf8 Clarify parameter names for gui.setlayermask
This is a tiny follow-up to PR #273, with no actual changes in
functionality. In short:

- gui.setlayermask(top, bottom) -> gui.setlayermask(main, sub)

Display layers correspond to GPU (main or sub), not to screen (top or
bottom), so this change just updates the Lua parameter names to reflect
that.
2019-05-04 01:02:32 -05:00
zeromus be7f22a7f9
Merge pull request #273 from awforsythe/master
Add Lua function gui.setlayermask
2019-05-04 00:16:37 -04:00
Alex Forsythe cc9335eea6 Add Lua function gui.setlayermask
This change adds a Lua function called gui.setlayermask, which allows Lua
scripts to procedurally modify which render layers are visible. It takes
two arguments: one integer bitfield representing the visibility states for
the main GPU, and the other representing the sub GPU. For example: 0b11111
shows all layers, 0b00000 hides all layers, 0b00001 shows only layer 0
(BG0), 0b10000 shows only layer 5 (OBJ), etc.

Since display layer state is coupled to the frontend, and since frontends
are entirely separate between platforms (i.e., on Windows, toggling
display layer state requires updating the GUI state asl well), this
function is only supported and tested on the Windows build. On MacOS and
Linux, gui.setlayermask will simply return 0 without doing anything.
2019-05-03 21:51:07 -05:00
zeromus 851274b3e8
Merge pull request #269 from Prof9/master
Fix Action Replay DS code type 0x0E
2019-04-24 14:19:57 -04:00
Prof. 9 5c557440d7 Fix Action Replay DS code type 0x0E patch lines not being skipped over when execution status is false. 2019-04-24 20:05:49 +02:00
zeromus 463fc545b7
Merge pull request #268 from Jules-A/msvc2019
Fix MSVC2019 solution loading and compiling
2019-04-24 13:59:34 -04:00
Jules Anthony cc4446ab29 Fixes MSVC2019 solution loading and compiling. Due to 2019 dropping XP support by default, anyone needing XP compiles will need to download the v141 toolkit as an extra and manually configure TargetPlatform and PlatformToolset. 2019-04-24 18:35:44 +08:00
zeromus 55c158d305 fix lua random crash / unreliability introduced by commit 43fcaf68f1
fix strange non-functional static-assert-likes designed to prevent this problem, by turning them into actual static asserts
2019-04-19 16:18:29 -04:00
rogerman ce8275fca1 Render3D: Add an actual AVX2-accelerated code path for setting up clear images. 2019-03-22 00:25:38 -07:00
rogerman 331cfa3596 Render3D: Demote some functions and classes to only require AVX instead of AVX2 where appropriate. 2019-03-21 22:43:09 -07:00
rogerman 96df0343f7 GPU: The info for native lines and custom lines are now handled at the display level rather than at the engine level. By doing this, we no longer assume that engines will maintain a constant association to a particular display for all lines; rather, we now take into account that an engine/display association may change mid-frame. Fixes #132. 2019-03-21 21:18:50 -07:00
zeromus f0737b679f winport - change mic sequence loading to use _0 as a signal, and fix bug in paths with . earlier in the name before the extension 2019-03-19 14:18:02 -04:00
rogerman be2735b3c5 OpenGL Renderer: Fix bug where resizing the framebuffer may cause subsequent rendering to fail. This bug affected OpenGL 3.2 only. (Regression from commit fa8cf5a.) 2019-03-18 00:03:03 -07:00
rogerman fe428fdda0 Cocoa Port: Fix bug where the HUD would appear smaller than intended on Retina displays.
- Also make the HUD scaling curve more precise.
2019-03-17 23:32:01 -07:00
rogerman c6269ca7ff Firmware: Initializing the fake firmware and applying the firmware settings from an internal firmware config struct are now split into separate operations. This allows the user to freely choose between using internal firmware config or using an external firmware.dfc file for their firmware settings, regardless of whether or not they are booting from external firmware. Fixes #259.
- Also fixes a compiling issue with compilers that are not MSVC 2015 or later. (Regression from commit ac94244.)
2019-03-17 21:55:00 -07:00
zeromus 175a471e5e actually limit mic samples to 254 2019-03-17 23:38:34 -04:00
zeromus ac94244757 support recording mic samples in header and current mic sample selection. tested reading and writing, but no more thoroughly than that. this requires a new movie version (mic sample selection stored kind of like an analog coord, a 3-digit number in dsm) 2019-03-17 23:34:54 -04:00
zeromus 3dc7e6d70e fix warnings from weird code 2019-03-17 23:23:48 -04:00
zeromus aef0374ed8 fix warnings and 64bit problems 2019-03-17 23:12:08 -04:00
zeromus 065d9e4321 fix printf warning 2019-03-17 23:08:21 -04:00
zeromus 9805fe3de4 winport - support multiple mic samples, selected with new hotkeys 2019-03-17 22:55:53 -04:00
zeromus ec351f3015 fix warnings 2019-03-17 22:53:55 -04:00
zeromus 72ecc8e66c quick fix to stop OSD from crashing if we try to print a line to the OSD before the frontend is fully initialized 2019-03-17 22:53:40 -04:00
zeromus ed92e1ef68 get rid of printf warnings 2019-03-17 22:02:40 -04:00
rogerman fe9541b448 NDSSystem.cpp: Make firmware loading more robust. 2019-03-10 00:57:16 -08:00
rogerman 8fa60fafd3 Firmware: Ensure that memory leaks don't happen when errors occur. 2019-03-10 00:53:26 -08:00
rogerman 42817475c2 OpenGL Renderer: Fix bug where Edge Mark and Fog were not properly being handled when the framebuffer is cleared using a clear image, such as in "Sonic Chronicles: The Dark Brotherhood". (Regression from commit 0dab591.) 2019-02-06 23:17:35 -08:00
rogerman bb25742512 GPU: Fix some compiler warnings. 2019-02-06 18:43:11 -08:00