Commit graph

8851 commits

Author SHA1 Message Date
tildearrow a458e105d9 VGM export: use QSound ADPCM size 2024-08-23 20:16:48 -05:00
tildearrow 5a79a70980 GUI: missing WonderSwan pan macros 2024-08-23 20:10:23 -05:00
tildearrow 99ae6a2b38 VGM export: include song comments
also show song comments on mobile
2024-08-23 17:46:09 -05:00
Adam Lederer d0f3e0fa58 GUI_ACTION_PAT_ABSORB_INSTRUMENT search through prior orders (also set instrument to none if no instrument found 2024-08-23 15:20:08 -05:00
alederer c5310d1855
Instrument editor undo (minus FixedQueue change) (#2094)
* add undo to instrument editor (check for diffs on the current DivInstrument in insEdit, record them in a stack)

* style fixes

* accidentally left some logs in

* typo in style fix

* cheat to avoid warning -Werror=class-memaccess on linux

* warn instead of assert on case where MemPatch application would exceed size of target buffer (which should never happen, if you're applying the patch to the same type it was generated from)

* instrument editor undo: don't check delta if no user input has come in that could potentially have dirtied the editor

* don't run a delta against cached instrument if not insEditOpen

* revert fixedQueue to before my 'fix' (if i touch it again i'll add unit tests)

* explicitly cast to (DivInstrumentPOD*) when memsetting DivInstrumentPOD in DivInstrument constructor, rather than relying on implicit memory layout

* use delete[] instead of free (whoops)

* MemPatch/DivInstrumentUndoStep -- remove clear() function (ambiguous whether it should free data, it only existed to set data to null after the swap, so just do that directly now). Also set data to null after delete.

* DivInstrument -- fix dangling undo-step pointers being created on duplicate (potentially leading to use-after-free), fix undo-step objects being shamelessly leaked

---------

Co-authored-by: Adam Lederer <adam@adamlederer.com>
2024-08-23 15:17:19 -05:00
tildearrow bae45e0b86 SN: fix arp macro with easy period 2024-08-23 02:25:53 -05:00
tildearrow 9b64bc104f pont of noreturn cover
by leejh20
2024-08-23 02:25:53 -05:00
LTVA1 3b6ddebc64 disable 2024-08-23 00:53:44 -05:00
LTVA1 9f9638931d yeah 2024-08-23 00:53:44 -05:00
tildearrow 8a18f962f9 VGM export: don't generate garbage stop sample com
issue #2072
2024-08-22 23:17:22 -05:00
tildearrow 231bece848 SDL audio: don't close audio device if not open
issue #2068
2024-08-22 22:20:25 -05:00
LTVA1 a08380182d arr 2 2024-08-22 03:17:35 -05:00
LTVA1 f433f79dfe aarr 2024-08-22 03:17:35 -05:00
LTVA1 3a72acc3b0 init 2024-08-22 03:17:35 -05:00
LTVA1 952b18c0c9 Update build.yml 2024-08-22 03:17:35 -05:00
LTVA1 33eea96986 small fixes, print progress in rows/files 2024-08-22 03:17:35 -05:00
LTVA1 a4dae5302b account for fadeout length, optimize some progress bar calc 2024-08-22 03:17:35 -05:00
LTVA1 17f6ea5c6a account for non-beginning loop point location
Ig I will optimize some of the calculations later when account for fadeout is added
2024-08-22 03:17:35 -05:00
LTVA1 481a5710df fix3? 2024-08-22 03:17:35 -05:00
LTVA1 56749ad286 fix2? 2024-08-22 03:17:35 -05:00
LTVA1 beca6bea00 fix? 2024-08-22 03:17:35 -05:00
LTVA1 d79bad195a looks like it works, no account for fadeout tho 2024-08-22 03:17:35 -05:00
tildearrow a77d8bc87e oh crap 2024-08-21 14:46:40 -05:00
tildearrow 6a3d130c51 Merge branch 'master' of github.com:tildearrow/furnace 2024-08-20 15:05:47 -05:00
tildearrow 07ab7db2f8 don't use built-in MBS to WCS 2024-08-20 15:04:41 -05:00
alederer 28dc0b12a1
"Adopt instrument" action also adopts octave (#2095)
* push test

* remove test file

* add GUI_ACTION_PAT_ABSORB_INSTRUMENT action (set current instrument to channel's current instrument column)

* rename 'absorb instrument' to 'adopt instrument' (clearer), adopt octave as well, replace editor octave min/max numbers in the code with defines

* CRAP

* rename 'adopt instrument' back to 'absorb instrument'

---------

Co-authored-by: Adam Lederer <adam@adamlederer.com>
Co-authored-by: tildearrow <me@tildearrow.org>
2024-08-19 13:19:50 -05:00
tildearrow a410b90452 CRAP 2024-08-19 12:54:09 -05:00
tildearrow ecbfacef1f add SFWrapper error logging 2024-08-19 12:40:51 -05:00
tildearrow d3af810462 Revert "add undo to instrument editor (check for diffs on the current DivInstrument in insEdit, record them in a stack)"
This reverts commit 5c9fd69ac1.
2024-08-19 02:49:24 -05:00
tildearrow f1de0bf2b7 Revert "style fixes"
This reverts commit 15d47d0aae.
2024-08-19 02:49:24 -05:00
tildearrow 73c61d9ac7 Revert "accidentally left some logs in"
This reverts commit 55af1648e7.
2024-08-19 02:49:24 -05:00
tildearrow c00947071a Revert "typo in style fix"
This reverts commit 91d36d0a62.
2024-08-19 02:49:24 -05:00
tildearrow 78d7fb4da0 Revert "cheat to avoid warning -Werror=class-memaccess on linux"
This reverts commit 94ef697ea6.
2024-08-19 02:49:24 -05:00
tildearrow 257abca831 Revert "warn instead of assert on case where MemPatch application would exceed size of target buffer (which should never happen, if you're applying the patch to the same type it was generated from)"
This reverts commit ea02a913b2.
2024-08-19 02:49:24 -05:00
tildearrow 251be67b69 Revert "instrument editor undo: don't check delta if no user input has come in that could potentially have dirtied the editor"
This reverts commit ad53b33d7c.
2024-08-19 02:49:24 -05:00
tildearrow 4f3d61c0f1 Revert "don't run a delta against cached instrument if not insEditOpen"
This reverts commit 2ab5ac4e07.
2024-08-19 02:49:24 -05:00
Adam Lederer 2ab5ac4e07 don't run a delta against cached instrument if not insEditOpen 2024-08-19 02:44:18 -05:00
Adam Lederer ad53b33d7c instrument editor undo: don't check delta if no user input has come in that could potentially have dirtied the editor 2024-08-19 02:44:18 -05:00
Adam Lederer ea02a913b2 warn instead of assert on case where MemPatch application would exceed size of target buffer (which should never happen, if you're applying the patch to the same type it was generated from) 2024-08-19 02:44:18 -05:00
Adam Lederer 94ef697ea6 cheat to avoid warning -Werror=class-memaccess on linux 2024-08-19 02:44:18 -05:00
Adam Lederer 91d36d0a62 typo in style fix 2024-08-19 02:44:18 -05:00
Adam Lederer 55af1648e7 accidentally left some logs in 2024-08-19 02:44:18 -05:00
Adam Lederer 15d47d0aae style fixes 2024-08-19 02:44:18 -05:00
Adam Lederer 5c9fd69ac1 add undo to instrument editor (check for diffs on the current DivInstrument in insEdit, record them in a stack) 2024-08-19 02:44:18 -05:00
tildearrow a318508b40 0.5 leftover 2024-08-18 18:20:01 -05:00
Jankboy 272fcfccca
Merge PO files conveniently via scripts (#2070)
* Add files via upload

This script can merge the post-translation order wrong PO files in the correct order!

* Update and rename merge.py to MERGE.py

Changed the name to all caps to make it prominent

* Update MERGE.py

* Update and rename MERGE.py to Reorganize-po-sequence.py

rename

* Reorganize-po-sequence

Usage: Reorganize-po-sequence.sh base_file new_file output_file
base.po is the PO file within the repo with the correct order
new.po is your translated PO file but may not be in the correct order
2024-08-18 17:29:39 -05:00
tildearrow 2dac603f17 GUI: fix indentation 2024-08-18 17:23:09 -05:00
tildearrow 39923742ab ZSM export: move to ROM export framework 2024-08-18 17:21:17 -05:00
cam900 875ef08256
Fix Y8950 ADPCM memory addressing
Max supported size is 262144 bytes, so I fixed that.
2024-08-18 20:22:24 +09:00
ヴェルメンスィヱ ae1fa8d3b8
Add TeraDrive presets (#2086)
* correct some preset errors

* decapitalization

* Add TeraDrive presets

* Correct Sord M5 clock

* Revert "Correct Sord M5 clock"

This reverts commit 92d3e4a85efbbe6b61a3c47624cec7eaade8e6fe.

* Correct formatting errors

* Move PC speaker

* I have no idea how I changed libsndfile.
2024-08-18 05:58:25 -05:00