Commit graph

  • 339cdb4828 Maybe Settings.FixFrequency is what's causing the emulated SNES to be slower than a real SNES? It does an adjustment of 15/1000, after all... Nebuleon Fumika 2013-02-22 02:41:50 -05:00
  • 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. BassAceGold 2013-02-20 14:53:13 -05:00
  • 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). Nebuleon Fumika 2013-02-19 23:33:43 -05:00
  • e46e351594 Dutch adjustments. Most things are shortened and aligned. Aeter 2013-02-19 18:02:35 -05:00
  • 82c9daff5e Brazilian Portuguese adjustments. Diego Liberal 2013-02-15 14:56:45 -05:00
  • c2262c74c5 Release 1.31. 1.31 Nebuleon Fumika 2013-02-14 16:36:21 -05:00
  • 52b11e6c1c Adjust hotkeys to allow using the directional pad for them. Suggested usage is L+Up, R+Up, etc. Nebuleon Fumika 2013-02-14 16:24:42 -05:00
  • 11c08d9d8f German adjustments, honoring GBAtemp user Charli (github: seesawCharli)'s notes on commit ea8ff33951. Nebuleon Fumika 2013-02-14 15:56:02 -05:00
  • 7dd9763658 Brazilian Portuguese adjustments. Nebuleon Fumika 2013-02-14 15:50:37 -05:00
  • e156b47503 Add a Brazilian Portuguese localisation. Diego Liberal 2013-02-14 15:28:38 -05:00
  • 03e8e8863a Italian adjustments. Nebuleon Fumika 2013-02-14 04:18:09 -05:00
  • a1b2ff6e87 Merge pull request #35 from alexinfurs/master Nebuleon Fumika 2013-02-14 04:05:35 -05:00
  • e399a52ef7 Merge 5a8a513b66 into a8c2fcdb2c Alessandro Pelliccia 2013-02-14 00:46:19 -08:00
  • 5a8a513b66 Update CATSFC/system/language.msg Alessandro Pelliccia 2013-02-14 09:46:18 +01:00
  • 2dcd76bced Update CATSFC/system/language.msg Alessandro Pelliccia 2013-02-14 09:44:59 +01:00
  • 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). Nebuleon Fumika 2013-02-14 03:02:33 -05:00
  • 5e10564ce0 Update source/nds/gui.c Alessandro Pelliccia 2013-02-13 21:21:08 +01:00
  • e7dfd96445 Update source/nds/message.h Alessandro Pelliccia 2013-02-13 21:13:29 +01:00
  • 9b95e3c26b Update CATSFC/system/language.msg Alessandro Pelliccia 2013-02-13 21:10:40 +01:00
  • 6794af6695 Reimplement grouped multipart cheat codes on top of Snes9x's cheat data. Nebuleon Fumika 2013-02-12 00:06:39 -05:00
  • 7a2bde06a1 Language file adjustments and arrows for direction keys (*u, *d, *l, *r). Nebuleon Fumika 2013-02-11 18:27:49 -05:00
  • a9d65ed6d7 Revert "Wait for DMA to be finished before downclocking the CPU for the main menu." experimental Nebuleon Fumika 2013-02-10 19:01:32 -05:00
  • c994109a5d Revert "Do not wait for the DMA to be done before drawing the screen. This requires that ds2_flipScreen works from top to bottom and that DMA completes faster than ds2_flipScreen." Nebuleon Fumika 2013-02-10 19:01:22 -05:00
  • 6d3e4b69b4 Wait for DMA to be finished before downclocking the CPU for the main menu. Nebuleon Fumika 2013-02-10 17:07:01 -05:00
  • bdb82830de Do not wait for the DMA to be done before drawing the screen. This requires that ds2_flipScreen works from top to bottom and that DMA completes faster than ds2_flipScreen. Nebuleon Fumika 2013-02-10 16:38:21 -05:00
  • 20afcaaf6a Merge branch 'master' into experimental Nebuleon Fumika 2013-02-10 16:37:39 -05:00
  • 2332157879 Release 1.30. 1.30 Nebuleon Fumika 2013-02-10 14:28:59 -05:00
  • fd7ecd08f8 Merge branch 'master' into speed-hacks speed-hacks Nebuleon Fumika 2013-02-10 01:31:56 -05:00
  • 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). Nebuleon Fumika 2013-02-10 00:12:41 -05:00
  • 18e56b68fd Add retro sound as a setting in all languages except Chinese. Nebuleon Fumika 2013-02-09 23:41:06 -05:00
  • 6e2e64109d Update CATSFC/system/language.msg (Spanish block) jomaper 2013-02-09 22:01:58 -05:00
  • e739ba9f8a Merge 46425747d9 into e2eeb6bf85 jomaper 2013-02-09 18:13:52 -08:00
  • 46425747d9 Update CATSFC/system/language.msg jomaper 2013-02-10 00:13:41 -02:00
  • 5f3a27e9e0 Merge branch '8bitsound' Nebuleon Fumika 2013-02-09 20:08:38 -05:00
  • e2eeb6bf85 Release 1.29. 1.29 Nebuleon Fumika 2013-02-08 21:47:06 -05:00
  • cb12547b85 Merge branch 'master' into 8bitsound 8bitsound Nebuleon Fumika 2013-02-08 19:58:41 -05:00
  • 1fa4d336cf Merge pull request #32 from boriar/patch-1 Nebuleon Fumika 2013-02-08 19:56:03 -05:00
  • 5478eef7a2 Merge be3128ddd2 into 267da6d5e1 boriar 2013-02-08 16:07:45 -08:00
  • be3128ddd2 Update CATSFC/system/language.msg boriar 2013-02-09 01:06:25 +01:00
  • ef12da18df Merge branch 'master' into 8bitsound Nebuleon Fumika 2013-02-08 17:47:20 -05:00
  • 267da6d5e1 Add a Spanish translation. Boriar 2013-02-08 17:04:32 -05:00
  • fa19e1551a Add a Dutch translation. Aeter 2013-02-08 16:52:31 -05:00
  • 9ef4103ea5 Add two more half-wave types to try to correct the pitch of notes that are one octave too high. Nebuleon Fumika 2013-02-08 16:08:48 -05:00
  • 3834297fae Fix write to uninitialised memory in 8-bit sound. Nebuleon Fumika 2013-02-08 15:46:33 -05:00
  • 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. Nebuleon Fumika 2013-02-08 05:50:37 -05:00
  • 927d456306 Merge branch 'master' into 8bitsound Nebuleon Fumika 2013-02-08 05:50:22 -05:00
  • 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. Nebuleon Fumika 2013-02-08 03:22:27 -05:00
  • 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. Nebuleon Fumika 2013-02-07 22:27:44 -05:00
  • 703d522c4c Remove remnants of a failed auto-CPU implementation. Changing CPU speeds on-the-fly is just not stable on the DSTwo. Nebuleon Fumika 2013-02-07 20:08:44 -05:00
  • 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. Nebuleon Fumika 2013-02-07 18:47:15 -05:00
  • 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. Nebuleon Fumika 2013-02-07 17:58:37 -05:00
  • 07b9c9e8c1 README.md: Add more recent information about frame skipping and fluidity. Nebuleon Fumika 2013-02-07 17:33:04 -05:00
  • ea8ff33951 EN: Added a German translation. DE: Deutsche Übersetzung hinzugefügt. SignZ 2013-02-07 04:56:34 -05:00
  • 55895f01f7 De-interleave the ROM using DMA. This helps the more esoteric jumbo memory maps load faster. Nebuleon Fumika 2013-02-07 02:38:45 -05:00
  • 5e3426d0d2 Remove 320 KiB of memory allocations in APU emulation that were completely unused but constantly re-zeroed. Nebuleon Fumika 2013-02-06 19:07:39 -05:00
  • 90de0280db gui.c: Require all keys to be released after the B, A or X button or the Touch Screen is pressed. Nebuleon Fumika 2013-02-06 16:24:09 -05:00
  • 0b165c3133 Use key pictograms from Pictochat to display keys for yes/no dialog(ue)s. Nebuleon Fumika 2013-02-06 16:16:43 -05:00
  • ebf48b1bf7 Yeah... Despite the audio optimisations, sound still crackles with display double-buffering. Disable that, again. Nebuleon Fumika 2013-02-06 15:51:23 -05:00
  • 04037a3096 When changing languages, quit doing the "Changing language, please wait..." as it only takes a few milliseconds. Nebuleon Fumika 2013-02-06 06:27:11 -05:00
  • 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. Nebuleon Fumika 2013-02-06 05:59:22 -05:00
  • 3c3a97219d Fix 2 compiler warnings in gui.c. Nebuleon Fumika 2013-02-06 04:57:12 -05:00
  • 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. Nebuleon Fumika 2013-02-06 04:38:18 -05:00
  • 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. Nebuleon Fumika 2013-02-06 03:46:48 -05:00
  • b08a201ea2 Allow all audio buffers to get full again before declaring underflow. Nebuleon Fumika 2013-02-06 02:53:53 -05:00
  • 9829c83608 Fix the loading screen for a ROM appearing for a split second after the splash screen. Nebuleon Fumika 2013-02-06 02:31:55 -05:00
  • a358ef69a8 Make all gamepak loads call LoadGameAndItsData, that way its "Loading" screen, current gamepak variables, game config stuff and so on are all consistent. Nebuleon Fumika 2013-02-06 02:18:35 -05:00
  • ea330e8f79 Fix settings not getting loaded with a ROM provided by plugin arguments. BassAceGold 2013-02-06 02:04:39 -05:00
  • 4ac61d443d Load the game from plug-in launch arguments. Make the CATSFC system directory become the one transferred via arguments in that case. BassAceGold 2013-02-06 00:56:33 -05:00
  • 8c5f5ba182 Document the auto CPU behavior a bit. Nebuleon Fumika 2013-02-06 00:43:21 -05:00
  • 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. Nebuleon Fumika 2013-02-06 00:34:01 -05:00
  • 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. Nebuleon Fumika 2013-02-05 19:39:09 -05:00
  • 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. Nebuleon Fumika 2013-02-05 16:35:45 -05:00
  • 3cd1e03278 Change the upper screen updates to be double-buffered. Require that one audio buffer be free (1 out of 4). Nebuleon Fumika 2013-02-05 16:05:16 -05:00
  • 0bb2dfb5d0 ds2_cpu.h is required by entry.cpp. Nebuleon Fumika 2013-02-05 02:58:53 -05:00
  • 8f83ac73a8 Merge branch 'master' into experimental Nebuleon Fumika 2013-02-05 02:29:29 -05:00
  • dfa2d3cc68 Add include files from BassAceGold's library, release 2 fix 2.2. Nebuleon Fumika 2013-02-05 01:33:39 -05:00
  • d1a7bf5eb5 Fully integrate BassAceGold's libraries, finally. The README still states that 1.2 is required to overwrite 0.13's stuff; really, 0.13 is needed only for gcc. So the sequence goes 0.13's gcc -> 1.2 -> BassAceGold's libraries -> make libds2a.a. Nebuleon Fumika 2013-02-04 23:45:44 -05:00
  • b1c298ab50 Merge pull request #30 from derpking/patch-1 Nebuleon Fumika 2013-02-04 15:06:39 -05:00
  • 66ee51d752 Merge cb610fd0c2 into 1c9094d99f derpking 2013-02-04 11:43:13 -08:00
  • 1c9094d99f Release 1.28 after disabling the controller status sync hack. 1.28 Nebuleon Fumika 2013-02-04 05:57:53 -05:00
  • cb610fd0c2 Update source/dsp1.cpp derpking 2013-02-03 21:44:15 -08:00
  • 4096050f40 Release 1.27. 1.27 Nebuleon Fumika 2013-02-03 20:12:29 -05:00
  • b3a7f8f1fc Synchronise the controller status more spread out inside a rendered frame: * before rendering a background; * before rendering sprites; * while rendering more than 128 samples of audio at once ("Prefer fluid video"); * after every 16 scanlines of CPU execution instead of every 1; * while waiting for an audio buffer to become available; * while killing time between frames with fast-forward disabled. Nebuleon Fumika 2013-02-03 19:26:34 -05:00
  • 1ddc8b53fe Faking out the sound synchronisation with a buffer of silence wasn't necessary. Nebuleon Fumika 2013-02-03 16:17:06 -05:00
  • 538718997f Write back the data cache before using DMA to draw emulated frames. Nebuleon Fumika 2013-02-03 15:52:45 -05:00
  • 397bf5192a Add some forgotten DMA files. Nebuleon Fumika 2013-02-03 15:29:05 -05:00
  • 9b75c09a7f Force waiting for a screen to be transferred (update mode 1) because otherwise the next screen can go into DMA. Nebuleon Fumika 2013-02-03 06:25:12 -05:00
  • 461f240655 Fix a name clash between Snes9x's dma.h and the DS2 dma.h by renaming the DS2 dma.h to ds2_dma.h. Nebuleon Fumika 2013-02-03 05:59:48 -05:00
  • fd92545013 Whoops. I forgot to replace an instance of ds2_setCPULevel from the experimental branch cherry-pick. Nebuleon Fumika 2013-02-03 04:20:51 -05:00
  • 8693ae1bd8 Add SDK modifications by BassAceGold as of 2011-04-14, as well as modified DMA functions as of 2013-01-29. Nebuleon Fumika 2013-02-03 04:19:11 -05:00
  • 02f8184fe0 Make it easier to change the "high" and "low" CPU frequencies, as well as to switch to the user's chosen frequency for the game. Nebuleon Fumika 2013-02-02 17:37:51 -05:00
  • 82cac4333f DMA the screen with Display Modes 0, 1, 2 and 3. Remove lots of controller synchronisation at HBlank that was ironically causing more communication to take place, thus less controller synchronisation. (Huh?!) Nebuleon Fumika 2013-02-03 02:43:39 -05:00
  • 0568880af3 Make it easier to change the "high" and "low" CPU frequencies, as well as to switch to the user's chosen frequency for the game. Nebuleon Fumika 2013-02-02 17:37:51 -05:00
  • c6f9898023 Isolate free-space gathering problems... Nebuleon Fumika 2013-02-02 15:01:58 -05:00
  • 952ba79ad0 mdelay becomes ds2_mdelay. Nebuleon Fumika 2013-02-02 14:45:29 -05:00
  • 035ec0327e Makefile change: Do not copy CATSFC inside EXPSFC if it exists. Nebuleon Fumika 2013-02-02 14:35:22 -05:00
  • 50f2cc70c1 For consistency, rename mdelayOC and udelayOC to ds2_mdelay and ds2_udelay in libsrc/core/ds2_cpuclock.h. This doesn't affect compilation. Nebuleon Fumika 2013-02-02 14:15:32 -05:00
  • 3109a94e8b Replace remaining references to ds2_setCPUclocklevel with ds2_setCPULevel. Nebuleon Fumika 2013-02-02 14:08:22 -05:00
  • 30b0cd94d9 Add updated delay functions provided by BassAceGold that deal with overclocking. References: <http://gbatemp.net/threads/libds2a-unofficial.288736/#post-4539983> <http://filetrip.net/dl?CCv0QSb7k8> Nebuleon Fumika 2013-02-02 13:54:59 -05:00
  • 0bbaa2e1c0 Include BassAceGold's modified SDK as of 2013-01-31. Include overclocking options up to level 18, 456 MHz. Nebuleon Fumika 2013-02-02 03:51:19 -05:00