Commit graph

292 commits

Author SHA1 Message Date
BassAceGold
10ed45ad76 Use the CATSFC directory in the root of the storage card if a SYSTEM/GUI directory is not found in the system folder provided by plugin arguments. 2013-02-20 14:53:13 -05:00
Nebuleon Fumika
edda8744ad Start option text more to the left to fit more text in a line. Widen cheat descriptions and file names in selectors, to the left AND to the right, to make the interface consistent again (and for practical purposes). 2013-02-19 23:33:43 -05:00
Nebuleon Fumika
c2262c74c5 Release 1.31. 2013-02-14 16:36:21 -05:00
Nebuleon Fumika
52b11e6c1c Adjust hotkeys to allow using the directional pad for them. Suggested usage is L+Up, R+Up, etc. 2013-02-14 16:24:42 -05:00
Nebuleon Fumika
7dd9763658 Brazilian Portuguese adjustments.
* Align text in columns for options.
* Fix a spelling mistake, "relaizar".
* Consistency with other languages.
* Reorder the hotkey options, which I pasted in incorrectly.
2013-02-14 15:50:37 -05:00
Diego Liberal
e156b47503 Add a Brazilian Portuguese localisation. 2013-02-14 15:28:38 -05:00
Nebuleon Fumika
a1b2ff6e87 Merge pull request #35 from alexinfurs/master
Add an Italian translation
2013-02-14 04:05:35 -05:00
Nebuleon Fumika
a8c2fcdb2c Add hotkeys to quickly load from and save to saved state #1, as well as to toggle full-screen (going from mode 3, middle of screen, to mode 4, full-screen smoothed).
This commit uses text that has not been validated in some languages.
2013-02-14 03:02:33 -05:00
Alessandro Pelliccia
5e10564ce0 Update source/nds/gui.c
Add Italian language
2013-02-13 21:21:08 +01:00
Alessandro Pelliccia
e7dfd96445 Update source/nds/message.h
Add Italian language
2013-02-13 21:13:29 +01:00
Nebuleon Fumika
6794af6695 Reimplement grouped multipart cheat codes on top of Snes9x's cheat data. 2013-02-12 00:06:39 -05:00
Nebuleon Fumika
7a2bde06a1 Language file adjustments and arrows for direction keys (*u, *d, *l, *r).
* All languages except Chinese: Remove redundancy in the New game menu. Remove "from the card".
* All languages except German and Chinese: Remove "games" in "recently played games". It's implied by the rest of the menu.
* Spanish: menu should be menú.
* All languages: modify keys in the screenshot slideshow message so that direction keys are arrows.
* Tools/Screenshots, English, French, Spanish: Stop implying that you can browse the screenshots; instead imply that it's a slideshow you control only sequentially.
* Dutch: Try to shorten "Ga terug naar het spel" so it can fit in a button, by removing the "Ga". It still splits.
2013-02-11 18:27:49 -05:00
Nebuleon Fumika
2332157879 Release 1.30. 2013-02-10 14:28:59 -05:00
Nebuleon Fumika
16a41b40b8 A type mismatch in sound channel data messed up the sound after loading a saved state in certain games. int (32 bit) is now short (16 bit). 2013-02-10 00:12:41 -05:00
Nebuleon Fumika
18e56b68fd Add retro sound as a setting in all languages except Chinese. 2013-02-09 23:41:06 -05:00
Nebuleon Fumika
5f3a27e9e0 Merge branch '8bitsound' 2013-02-09 20:08:38 -05:00
Nebuleon Fumika
e2eeb6bf85 Release 1.29. 2013-02-08 21:47:06 -05:00
Nebuleon Fumika
ef12da18df Merge branch 'master' into 8bitsound 2013-02-08 17:47:20 -05:00
Boriar
267da6d5e1 Add a Spanish translation. 2013-02-08 17:04:32 -05:00
Aeter
fa19e1551a Add a Dutch translation. 2013-02-08 16:52:31 -05:00
Nebuleon Fumika
9ef4103ea5 Add two more half-wave types to try to correct the pitch of notes that are one octave too high. 2013-02-08 16:08:48 -05:00
Nebuleon Fumika
3834297fae Fix write to uninitialised memory in 8-bit sound. 2013-02-08 15:46:33 -05:00
Nebuleon Fumika
0a2041d1ce Add square waves for waves not matching sines or triangles. Add noise for drums exceeding a certain "randomness" threshold. For now that's defined as total variance from a sample to its neighbo(u)r in a block of 16 samples. 2013-02-08 05:50:37 -05:00
Nebuleon Fumika
927d456306 Merge branch 'master' into 8bitsound
Conflicts:
	source/nds/entry.cpp
2013-02-08 05:50:22 -05:00
Nebuleon Fumika
d4fcf2697c Require one audio buffer to be free again. Otherwise, if the 4 buffers get full, it's already game over, and getAudiobuff becomes NULL for about 400 milliseconds, stopping all emulation. 2013-02-08 03:22:27 -05:00
Nebuleon Fumika
4676a520e1 Synchronise fractions of a hertz correctly in the audio output timing code to avoid buffer overruns. Buffer overruns pause the game for about half a second. 2013-02-07 22:27:44 -05:00
Nebuleon Fumika
703d522c4c Remove remnants of a failed auto-CPU implementation. Changing CPU speeds on-the-fly is just not stable on the DSTwo. 2013-02-07 20:08:44 -05:00
Nebuleon Fumika
5680258a6a Stop inlining the regular tile drawing code. That was a micro-optimisation, and this revert brings the code a bit closer to mainline Snes9x. 2013-02-07 18:47:15 -05:00
Nebuleon Fumika
635c878905 Allow the user to be pressing a button when the emulator starts. This allows the Loading screen to disappear, and allows invoking New Game straight away. 2013-02-07 17:58:37 -05:00
SignZ
ea8ff33951 EN: Added a German translation. DE: Deutsche Übersetzung hinzugefügt. 2013-02-07 04:56:34 -05:00
Nebuleon Fumika
55895f01f7 De-interleave the ROM using DMA. This helps the more esoteric jumbo memory maps load faster. 2013-02-07 02:38:45 -05:00
Nebuleon Fumika
5e3426d0d2 Remove 320 KiB of memory allocations in APU emulation that were completely unused but constantly re-zeroed.
Frees up 320 KiB for other uses, and saves ~4 milliseconds at emulator startup, when resetting the APU and when loading a new game.
2013-02-06 19:07:39 -05:00
Nebuleon Fumika
90de0280db gui.c: Require all keys to be released after the B, A or X button or the Touch Screen is pressed.
This avoids bringing up, or exiting from, multiple menus if you happen to press something for longer than 1/5 second.

The modification does not apply to the directional pad in all menus, or the L and R buttons in file selectors.
2013-02-06 16:24:09 -05:00
Nebuleon Fumika
0b165c3133 Use key pictograms from Pictochat to display keys for yes/no dialog(ue)s. 2013-02-06 16:16:43 -05:00
Nebuleon Fumika
ebf48b1bf7 Yeah... Despite the audio optimisations, sound still crackles with display double-buffering. Disable that, again. 2013-02-06 15:51:23 -05:00
Nebuleon Fumika
04037a3096 When changing languages, quit doing the "Changing language, please wait..." as it only takes a few milliseconds. 2013-02-06 06:27:11 -05:00
Nebuleon Fumika
3dc6668107 Raise the sound frequency from 22050 Hz to 32000 Hz, which is like the SNES. Use sound interpolation to make it sound even more like the SNES. 2013-02-06 05:59:22 -05:00
Nebuleon Fumika
3c3a97219d Fix 2 compiler warnings in gui.c. 2013-02-06 04:57:12 -05:00
Nebuleon Fumika
b277570dae Quit saving the files so often for nothing; that uses up erase cycles on storage cards! Instead, save them once when the menu that contains the settings that the user changed is exited, IF the settings' values changed, OR once when updating the list of most-recently played games.
Automatically save the SRAM in most cases, including game changes.

This commit also makes it unnecessary to save the game config of the previous game when loading another, makes it load certain settings correctly, and MAY make it avoid creating a file for a game's settings if the user never changes them from the defaults.
2013-02-06 04:38:18 -05:00
Nebuleon Fumika
772e24ae50 Reinstate frame skipping options 0 and 1, but keep the new meaning (>= 2 equivalent skip level) for automatic frame skipping. Remove the automatic CPU frequency option, which was making audio emit 0.25 second of silence every so often. 2013-02-06 03:46:48 -05:00
Nebuleon Fumika
b08a201ea2 Allow all audio buffers to get full again before declaring underflow. 2013-02-06 02:53:53 -05:00
Nebuleon Fumika
9829c83608 Fix the loading screen for a ROM appearing for a split second after the splash screen.
Fix uninitialised memory access in Check_LoadArg.
2013-02-06 02:31:55 -05:00
Nebuleon Fumika
a358ef69a8 Make all gamepak loads call LoadGameAndItsData, that way its "Loading" screen, current gamepak variables, game config stuff and so on are all consistent. 2013-02-06 02:18:35 -05:00
BassAceGold
ea330e8f79 Fix settings not getting loaded with a ROM provided by plugin arguments. 2013-02-06 02:05:03 -05:00
BassAceGold
4ac61d443d Load the game from plug-in launch arguments. Make the CATSFC system directory become the one transferred via arguments in that case. 2013-02-06 00:56:33 -05:00
Nebuleon Fumika
8c5f5ba182 Document the auto CPU behavior a bit. 2013-02-06 00:43:21 -05:00
Nebuleon Fumika
9e87a7a2b2 Implement automatic CPU frequency switching, which improves battery life if playing games that don't use all of the MIPS CPU. If all of it is indeed needed, then the game will constantly play at 396 MHz. 2013-02-06 00:34:01 -05:00
Nebuleon Fumika
f2adea7bb2 Force both manual and automatic frameskipping to be at or above 2. Resets the default value for all games which previously had this value configured. 2013-02-05 19:39:09 -05:00
Nebuleon Fumika
e7ac6f675f Disable the free space line in the options for the time being. Currently it invokes a recursive directory scan to calculate how much space is used first. 2013-02-05 16:35:45 -05:00
Nebuleon Fumika
3cd1e03278 Change the upper screen updates to be double-buffered. Require that one audio buffer be free (1 out of 4). 2013-02-05 16:05:16 -05:00