!

[VBA] VisualBoy Advance - M 1.8 SVN1206

[0] @ Czwartek, 19 Września 2013 16:44CET

[VBA] VisualBoy Advance - M 1.8 SVN1206

Ukazała się nowa, repozytoryjna i oficjalnie skompilowana przez team VBA-M wersja beta emulatora konsol NINTENDO (CGB,GB,GBA). Udało się zmusić parę dodatkowych tytułów do poprawnej pracy pod emulatorem.

VisualBoyAdvance-M [SVN 1206] 19/09/2013

  • fixes zelda oracles without breaking duke nukem or 007
NOWSZY [VBA] VisualBoy Advance - M 2.1 DevTest 26/02/18

Revision 3347

Author: zachbacon | Date: niedziela, 25 lutego 2018 19:38:25

  • implemented the fix from nhdailey, should resolve #153. Will put up a test build soon.

Revision 3346

Author: rafael.kitover | Date: sobota, 24 lutego 2018 20:39:29

  • add multi-platform build system under `tools/` add some scripts to invoke the build system to build all deps for vbam and vbam itself:
  • - `tools/linux/builder`
  • This builds a mostly static linux binary with a few dynamic deps for xorg and wayland. Using gtk3. This will run on just about any dist.
  • - `tools/osx/builder`
  • Builds a static mac app targetting 10.7.
  • - `tools/win/linux-cross-builder`
  • Builds a static windows binary using the mingw-w64 toolchain.
  • - `tools/win/msys2-builder`
  • Builds a static windows binary in the MSYS2 environment, this may be
  • suffering from a few regressions.
  • Change some cmake code to support the build system, refactor a few
  • things in it.

Revision 3342

Author: orbea | Date: czwartek, 18 stycznia 2018 22:18:35

  • cmake: Fix -DENABLE_FFMPEG=OFF

Revision 3341

Author: rafael.kitover | Date: środa, 25 października 2017 15:25:29

  • fix deps submodule init on windows
  • `git submodule update --remote --recursive` must be called with `--init`
  • if the submodules have never been initialized, add the flag to the cmake
  • code that does this. If they are already initialized, it will not cause
  • any harm.

Revision 3340

Author: rafael.kitover | Date: poniedziałek, 23 października 2017 00:35:56

  • mac build/builder improvements
  • Improve, refactor and clean up `tools/osx/builder` to build a relatively
  • full-featured ffmpeg as well. This requires lots of other dists. It's
  • kind of like a mini port system now. Will generalize it shortly to a
  • sourced library for using with both the mac and the mingw builds. Will
  • hopefully become a separate repo on github at some point.
  • Add perl dist support to the builder.
  • Add an `--env` flag to the builder to print the build environment
  • variables so that they can be read in with `eval` for debugging
  • purposes.
  • Also add the `FFMPEG_STATIC` cmake option to link static ffmpeg
  • libraries correctly.
  • Move the codesigning and zipping of the `.app` bundle to the builder
  • script and out of cmake, as this is something most users don't need.

Revision 3339

Author: zachbacon | Date: niedziela, 22 października 2017 14:29:22

  • The not so finished builder script for windows.

Revision 3338

Author: zach.bacon | Date: niedziela, 22 października 2017 06:41:27

  • Added some windows specific stuff to builder.
  • Still have much more to do.

Revision 3337

Author: zach.bacon | Date: niedziela, 22 października 2017 05:25:12

  • Added basic windows script

Revision 3336

Author: rafael.kitover | Date: wtorek, 17 października 2017 19:26:37

  • add -mfpmath=sse -msse2 compiler flags: x86/amd64
  • This may speed things up a little in some places, or maybe not, but
  • should be safe as few if any users are likely to be using a CPU without
  • SSE2.

Revision 3335

Author: rafael.kitover | Date: czwartek, 12 października 2017 23:56:21

  • automate codesign/zip for mac build, add xz dep
  • Add POST_BUILD commands on Mac to codesign the `.app` and make a zip
  • file from it.
  • Also add xz/liblzma dist to `tools/osx/builder` because something
  • apparently wants liblzma.

Revision 3334

Author: rafael.kitover | Date: czwartek, 12 października 2017 23:31:23

  • mac builder refactor/improvements
  • Refactor the code in `tools/osx/builder` somewhat and make it cleaner.
  • Move a few table processing loops into functions to make things less
  • ugly.
  • Delete dists not listed in the table (e.g. when they are updated) and
  • when a dist is re-downloaded, delete the tree and the target file to
  • force a rebuild.
  • Use number version for gettext instead of `-latest`.
  • Specify full dist target, e.g. `lib/libfoo.a` instead of just
  • `libfoo.a`.

Revision 3333

Author: rafael.kitover | Date: czwartek, 12 października 2017 10:32:18

  • add mac release builder script
  • Add `tools/osx/builder`, a POSIX sh script to build all dependant
  • libraries as static, targetted to OS X 10.7, and build the project with
  • them (also targetted to OS X 10.7.)
  • ffmpeg currently does not link, as recording functionality is currently
  • non-functional anyway, this will be fixed later.
  • MISC:
  • - set WORKING_DIRECTORY and ERROR_QUIET for all git commands, for the
  • cases when the build directory is not under the git checkout
  • - #include in ConfigManager.cpp as it uses errno
  • - change `build*` in `.gitignore` to `build/*` so that files starting
  • with "build" are not affected

Revision 3332

Author: rafael.kitover | Date: czwartek, 12 października 2017 04:17:25

  • read version info from CHANGELOG.md if no git
  • If git tags are not available, set the version and revision by finding
  • the first version tag in `CHANGELOG.md` of the form
  • ```
  • ```
  • Where N.N.N is the number version (number of components can vary) and
  • the revision (as speicified by -REV) is optional.
  • TODO: support named revision without a version number of the form
  • `[REV]`.

Revision 3331

Author: zach.bacon | Date: czwartek, 12 października 2017 02:49:05

  • Add a changelog
  • Gonna try and keep this up to date as often as possible.

Revision 3330

Author: rafael.kitover | Date: wtorek, 10 października 2017 12:15:53

  • refactor/cleanup GitTagVersion.cmake
  • Run just one `git tag` command instead of two (with tags and refs) and
  • break it into the form [tag0, ref0, tag1, ref1, ...]. Iterate over the
  • list with two counters for tag and ref.

Revision 3329

Author: rafael.kitover | Date: niedziela, 8 października 2017 03:17:52

  • fix error and version info in shallow git clones
  • Fix `cmake/GitTagVersion.cmake` to not throw errors when in a shallow
  • git clone, or any git clone that has no tags.
  • And when either git or git tag version info is not available, set the
  • version variables to the defaults, which are:
  • ```
  • VERSION = '2.0.0'
  • REVISION = 'unknown'
  • VERSION_RELEASE = 0
  • ```

Revision 3328

Author: rafael.kitover | Date: sobota, 7 października 2017 23:00:47

  • read version and subversion info from Git
  • To get the version, find the last tag in git tag of the form "v2.0.0" or
  • "2.0.0". If this is the last tag and the current commit matches the ref
  • of this tag, the revision will be empty.
  • In the case that the current commit is not tagged with a version, to get
  • the revision, use the short sha unless the current commit is tagged with
  • something that is not a version string, e.g. "feature-foo", in which
  • case the revision will be "feature-foo".
  • If the current commit is tagged as e.g. "v2.0.1-foo" or "2.0.1-foo" then
  • the version will be "2.0.1" and the revision will be "foo". Tags of this
  • form are also checked when finding the current version.
  • This is all done in cmake. If there is no git detected, the version will
  • be "2.0.0" and the revision will be "unknown".

Revision 3327

Author: rafael.kitover | Date: piątek, 6 października 2017 03:28:42

  • deps: don't check result of apt-get update #154
  • On Debian-based distributions, people sometimes have bad sources in apt,
  • e.g. PPAs that no longer exist, or mirrors that no longer work, etc.. In
  • these cases, `apt-get update` will still likely fetch the main
  • distribution package lists, which is what we need, but return a non-zero
  • exit code.
  • Change `./installdeps` to not abort on non-zero exit status from
  • `apt-get -qq update`.

Revision 3323

Author: rafael.kitover | Date: niedziela, 24 września 2017 00:29:35

  • minor code cleanup
  • Change one instance of a dummy local variable to a C++11 temporary via
  • CLASS{param}.

Revision 3322

Author: rafael.kitover | Date: piątek, 22 września 2017 09:42:49

  • default LTO to OFF on 64 bit MinGW
  • 64 bit MinGW (e.g. msys2 64 bit) produces a binary that immediately
  • segfaults when built with LTO.
  • Make ENABLE_LTO default to OFF on 64 bit MinGW (32 bit will still
  • default to ON.)

Revision 3321

Author: zachbacon | Date: piątek, 22 września 2017 08:46:20

  • Added executable extension
  • * Allows the SDL binary to be installed if it's cross compiled from
  • within linux or macOS for windows for packaging purposes.

Revision 3320

Author: rafael.kitover | Date: piątek, 22 września 2017 00:39:30

  • fix deadlock in SoundSDL::deinit() #139 #130
  • On SoundSDL destructor and `reset()`, there was a deadlock with Linux
  • pthreads, it happened sometimes that the reader thread would call
  • `SDL_SemWait(data_available)` while `deinit()` would destroy the
  • semaphore and the `SDL_SemWait()` would end up waiting forever on a null
  • semaphore.
  • Change the sequencing of deinit() to prevent this from happening, set
  • `initialized = false` at the beginning of the sequence to prevent
  • subsequent entries into the reader callback, and add an SDL_Delay(100)
  • between the final `SDL_SemPost()` and `SDL_UnlockMutex()`s and the
  • `SDL_DestroySemaphore()` and `SDL_DestroyMutex()`s to allow a running
  • reader to complete with a valid mutex and semaphores before they are
  • destroyed and the thread is joined.
  • Resetting the sound system also sometimes triggers a memory corruption
  • bug, but that's a separate issue.

Revision 3319

Author: rafael.kitover | Date: środa, 20 września 2017 01:28:23

  • fix huge app icon in Win volume settings #149 #121
  • We were setting the app icon based on the 256x256 xpm icon in the xrc,
  • and this triggered a bug where the app-specific icon in Windows volume
  • settings was huge:
  • https://stackoverflow.com/questions/17949693/windows-volume-mixer-icon-size-is-too-large/46310786#46310786
  • Adapt the code from that SO question to use Windows-specific code to
  • load and scale the icon appropriately using a Vista+ API, and fall back
  • to the normal Wx icon loading mechanism on XP.
  • Also generate a nice new `vbam.ico` Windows icon file based on the
  • `.svg` using the app from:
  • https://iconverticons.com

Revision 3318

Author: rafael.kitover | Date: wtorek, 19 września 2017 15:58:48

  • use num cpu cores to parallelize LTO link with gcc
  • Use the `cmake` `ProcessorCount` module to determine the number of CPU
  • threads, and set the `-flto` flag for gcc to `-flto=${num_cpus}` if the
  • number of CPU threads is detected and is greater than `1`.
  • clang does not support this.

Revision 3317

Author: rafael.kitover | Date: wtorek, 19 września 2017 15:11:41

  • improve win32 dependencies git submodule handling
  • Use `git submodule update --remote --recursive` instead of `git
  • submodule update --init --recursive` so that the latest version of the
  • repo is always installed.
  • Run the command from cmake instead of throwing an error if the submodule
  • is not checked out. Only throw an error if the checkout failed or the
  • source tree is not a git checkout.
  • Don't add the `mingw-xaudio` include directory if using MSVC.
  • Remove the submodule check from src/wx/CMakeLists.txt, having it in the
  • main CMakeLists.txt is enough.

Revision 3316

Author: rafael.kitover | Date: poniedziałek, 18 września 2017 10:02:33

  • remove doctoc title from README.md TOC
  • Remove the "generated with doctoc" title from the README.md table of
  • contents.
  • Need to run `doctoc --notitle`.

Revision 3315

Author: rafael.kitover | Date: poniedziałek, 18 września 2017 09:58:47

  • update README.md
  • Note that LTO now defaults to ON, and ENABLE_ASM does not turn on
  • ENABLE_ASM_CORE.
  • Trim the wxLogDebug() section.
  • Titlecase headings.
  • Generate a TOC with `doctoc`.

Revision 3314

Author: rafael.kitover | Date: niedziela, 17 września 2017 04:47:39

  • work around gcc lto wrappers bug with gcc 7.x
  • gcc lto wrapper commands such as `gcc-ar` will segfault with some
  • versions of gcc 7.x when called via an absolute path, see:
  • https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80717
  • Generalize the mechanism for compiling a small C program on the host
  • (currently used for bin2c for Wx resources) and use it to wrap the gcc
  • wrappers in a little executable that prepends their dirname to PATH and
  • runs them with `execvp()`.
  • Make LTO default to ON again, except on win32 with gcc < 7, because
  • those toolchains produce broken binaries with LTO enabled.
  • Also add `-ffat-lto-objects` to compiler flags for gcc when LTO is
  • enabled, this will increase the chances that the LTO build will succeed
  • even if there are issues with the binutils wrappers. Clang does not
  • support this.

Revision 3313

Author: rafael.kitover | Date: czwartek, 14 września 2017 05:30:33

  • rename CMakeScripts/ to cmake/
  • Most projects nowadays call the project specific cmake scripts directory
  • just `cmake/` and we will do so as well.

Revision 3312

Author: rafael.kitover | Date: środa, 13 września 2017 14:32:44

  • restore wx 2.8 compat, improve string processing
  • Fix building with wx 2.8 by rewriting some more string related code.
  • Replace all calls to .c_str() with .mb_str().
  • Remove some of the .c_str()/.mb_str() calls where the target is already
  • wxString.
  • Move the split()/enum_idx() functions from opts.cpp into
  • str_split()/vec_find() in strutils.h/strutils.cpp for use in other
  • files.
  • Replace the C-style string parsing code in a couple of places in
  • wxvbam.cpp for processing possible command line options by splitting on
  • '='.
  • Also replace a couple of places that use pointer arithmetic in
  • widgets/joyedit.cpp and widgets/keyedit.cpp with wxString methods.

Revision 3311

Author: rafael.kitover | Date: środa, 13 września 2017 00:31:49

  • cmake: wx and cross compiling fixes
  • When calling find_package(wxWidgets ...) allow the first call to fail
  • because the OpenGL library may not be found. A subsequent call without
  • listing the OpenGL library is done with REQUIRED.
  • And if the OpenGL library is not found, skip the OpenGL compile test.
  • When cross-compiling (e.g. with mxe or other mingw packages) skip the wx
  • ABI compatibility run tests.
  • When choosing which minhook lib to link to the wx ABI compat run test
  • program, check for 64 bit but fallback to 32 bit just in case.

Revision 3310

Author: rafael.kitover | Date: wtorek, 12 września 2017 22:47:56

  • installdeps: fedora fixes, including m32
  • Fix some syntax errors and extraneous output in fedora_installdeps().
  • "Fix" the 32 bit deps installer to try to ignore file conflicts between
  • i686 and host rpms, by first using rpm --force to install the 32 bit
  • rpms and then overwriting them with the host ones using --force as well.
  • This is hackish and fragile, but there aren't any good alternatives
  • right now.

Revision 3309

Author: rafael.kitover | Date: poniedziałek, 11 września 2017 00:44:18

  • support Wx built with --enable-stl #134
  • When Wx is built with --enable-stl, wxString to wxChar*/char* implicit
  • conversions and vice-versa no longer work.
  • Change all wxChar* data members to wxString and change all pointer
  • arithmetic code (mostly in opts.cpp, cmdevents.cpp and
  • widgets/joyedit.cpp) to use wxString methods instead.
  • Also make mostly minor changes in various other files for all of this to
  • work.

Revision 3308

Author: rafael.kitover | Date: niedziela, 10 września 2017 21:24:36

  • cmake: use arch specific minhook trampoline libs
  • Use either the 32 bit or 64 bit MinHook trampoline static lib for the Wx
  • ABI tests, depending on the detected arch of the host/target.

Revision 3307

Author: rafael.kitover | Date: niedziela, 10 września 2017 20:00:24

  • fix Wx ABI check for Win32/MinGW
  • Fix error dialog boxes popping up when the Wx ABI compat tests are run
  • from cmake.
  • Wx 3.x is hardcoded to use MessageBox for wxLogFatalError(), even in a
  • console app, so use the minhook trampoline lib (added to dependencies)
  • to hook the Win32 API MessageBoxW and MessageBoxA (the second just in
  • case) so that no error dialogs pop up.
  • Details here:
  • https://www.codeproject.com/Articles/44326/MinHook-The-Minimalistic-x-x-API-Hooking-Libra

Revision 3306

Author: rafael.kitover | Date: piątek, 8 września 2017 17:59:19

  • minor improvements for Wx compile tests
  • Include `wx/wxprec.h` (precompiled header first in test programs to
  • possibly make the tests slightly faster.
  • For the ABI compat check, set a variable for the test program instead of
  • listing it twice.

Revision 3305

Author: rafael.kitover | Date: poniedziałek, 4 września 2017 21:28:24

  • improve wx GCC ABI check #142
  • Following some suggestions from @ArtiiP, first check if there are no
  • issues without an -fabi-version flag, and then instead of incrementing
  • from 0, decrement from 15 to find the highest working ABI version.
  • This is very slow if the needed ABI version is 2 for example, but not
  • much to do about that for the time being.

Revision 3304

Author: rafael.kitover | Date: niedziela, 3 września 2017 03:52:01

  • improve Wx GCC ABI check #142
  • Start checking the ABI version at -fabi-version=0, which is the default,
  • and if that succeeds don't set the flag at all.
  • This will allow the code to work properly if and when Wx removes the ABI
  • check alltogether.

Revision 3303

Author: rafael.kitover | Date: sobota, 2 września 2017 12:59:31

  • installdeps: minor refactoring/cleanup
  • Break command line argument processing and OS detection off into
  • functions called from `main()`.
  • Remove all references to cairo.
  • For fink, install the SFML package I made instead of turning off link.

Revision 3302

Author: rafael.kitover | Date: sobota, 2 września 2017 06:51:24

  • compile/run test to detect Wx ABI version #142
  • In 4e665ae I hardcoded -fabi-version=2 for g++ flags, and @ArtiiP
  • pointed out that this is wrong, because Wx may be compiled with other
  • ABI versions.
  • Add cmake check_cxx_source_runs() tests to determine the correct ABI
  • version flag to use with Wx.

Revision 3301

Author: rafael.kitover | Date: piątek, 1 września 2017 14:06:26

  • use -fabi-version=2 for GCC, turn off LTO #142
  • Use the g++ `-fabi-version=2` compiler option, as suggested by @ArtiiP
  • to fix problems similar to:
  • ```
  • Fatal Error: Mismatch between the program and library build versions
  • detected.
  • The library used 3.0 (wchar_t,compiler with C++ ABI 1002,wx
  • containers,compatible with 2.8),
  • and your program used 3.0 (wchar_t,compiler with C++ ABI 1009,wx
  • containers,compatible with 2.8).
  • Aborted
  • ```
  • Turn LTO off by default until I fix it for newer gcc/binutils, currently
  • with gcc7 ar segfaults linking vbamcore.

Revision 3300

Author: rafael.kitover | Date: piątek, 1 września 2017 01:56:06

  • installdeps: use -j$(nproc) not -j8 in info #146
  • Replace the hardcoded `make -j8` command in the build instructions with
  • a `-j` parameter that is the number of the host's CPUs minus one.
  • Subtracting 1 is done to reduce chances of overloading the host.
  • If the value is `1`, then don't print the `-j` flag at all.

Revision 3299

Author: rafael.kitover | Date: środa, 30 sierpnia 2017 23:42:08

  • only use -mtune=generic on x86/amd64 #146
  • This flags breaks the build on e.g. ARM, so only use it when a PC
  • architecture (x86 or amd64) has been detected. Thanks to ZachBacon for
  • spotting this.

Revision 3298

Author: zach.bacon | Date: poniedziałek, 28 sierpnia 2017 04:02:03

  • Merge branch 'master' of https://github.com/visualboyadvance-m/visualboyadvance-m

Revision 3297

Author: rafael.kitover | Date: niedziela, 27 sierpnia 2017 22:32:13

  • remove version.h in ConfigManager and AutoBuild.h
  • ConfigManager does not use any version info, but is part of libvbamcore,
  • so removing the `#include` makes rebuilds after git changes much much
  • faster.
  • Remove the AutoBuild.h includes from ConfigManager.cpp and SDL.cpp (the
  • SDL port) because the information in that file does not seem to be used
  • and it also includes version.h, forcing those files to rebuild
  • unnecessarily.

Revision 3296

Author: rafael.kitover | Date: niedziela, 27 sierpnia 2017 22:22:41

  • remove cairo references from README.md
  • Since Cairo was dropped in 1583a226, remove all references to it in
  • README.md .

Revision 3295

Author: rafael.kitover | Date: niedziela, 27 sierpnia 2017 22:20:17

  • fix rebuilds on git changes
  • Use cmake to generate the version.h from version.h.in which is a cleaned
  • up version of the old version.h with the git short sha into the build
  • directory, and include the version.h from there.
  • Continue to use the GetGitRevisionDescription plugin to make the cmake
  • configuration state depend on the current sha of HEAD, but throw away
  • the results (for the time being.)
  • This makes rebuilds after git changes such as a commit only recompile a
  • couple of files instead of the whole tree.

Revision 3294

Author: zach.bacon | Date: poniedziałek, 28 sierpnia 2017 04:01:19

  • Made a tiny, itty bitty, little accident. Forgot to remove cairo option
  • from the xrc.

Revision 3293

Author: zach.bacon | Date: niedziela, 27 sierpnia 2017 19:32:32

  • Say good bye to cairo

Revision 3292

Author: zach.bacon | Date: niedziela, 27 sierpnia 2017 19:11:34

  • *Removal of the cairo renderer, it never performed well to begin with.

Revision 3291

Author: rafael.kitover | Date: niedziela, 27 sierpnia 2017 16:21:27

  • "no throttle" fixes/cleanups
  • `throttle == 0` is supposed to emulate at full speed and drop audio
  • data, this is different from `throttle == 100` which is emulation
  • throttled at normal speed, the default setting.
  • Fix the recently rewritten SoundSDL sound driver to make `throttle == 0`
  • work, and make some minor changes to clean up the relevant code in the
  • XAudio2 sound driver.

Revision 3290

Author: rafael.kitover | Date: czwartek, 17 sierpnia 2017 23:25:27

  • document how to provide symbolic backtraces
  • Add a "REPORTING CRASH BUGS" section to the README.md with instructions
  • for how to provide a symbolic backtrace on Linux and MSYS2.
  • Add a "Crash bugs" section the the issue template with a link to said
  • README.md section.

Revision 3289

Author: rafael.kitover | Date: czwartek, 17 sierpnia 2017 11:44:40

  • cleanup SoundSDL #139 #130 #97 #67 #65 #46 #47
  • Rewrite SoundSDL (the SDL sound driver).
  • Clean up the code and eliminate all deadlocks/hangs/crashes (hopefully.)
  • Many of the deadlocks were caused by initialize() not de-initializing
  • properly and causing the audio callback thread to deadlock, fix this.
  • Also use better logic for the semaphore controls, which will also
  • hopefully increase audio quality.
  • Use better logic for the throttle control, with throttle == 0 being the
  • same as throttle == 100 and implement setThrottle().
  • Also increase the buffer size to 300ms and the number of samples to
  • 2048, for hopefully less choppiness in audio overall.

Revision 3288

Author: rafael.kitover | Date: czwartek, 17 sierpnia 2017 00:20:05

  • SoundSDL: write silence when paused #139
  • The SDL API documentation for the audio callback specifies that the
  • callback *MUST* write to the buffer and not just return:
  • https://wiki.libsdl.org/SDL_AudioSpec#Remarks
  • write silence to the buffer (value taken from the AudioSpec returned
  • from OpenAudioDevice) when the emulator is paused.

Revision 3287

Author: rafael.kitover | Date: środa, 16 sierpnia 2017 13:02:12

  • hopefully fix resize artifacts on game panel #138
  • Paint the whole GameArea (containing the emulator graphics panel) black
  • on size events for both the GameArea and the panel.
  • This will hopefully fix reports of garbage around the panel when going
  • full screen with the OpenGL driver on Linux.

Revision 3286

Author: rafael.kitover | Date: środa, 16 sierpnia 2017 12:36:18

  • remove default F11 keybinding for save state #137
  • Remove F11 as the default key for save state (GS=) in the defkeys array
  • in opts.cpp and leave it unmapped by default, because it conflicts with
  • the menu XRC mapping for full screen which is also F11 on non-macOS
  • platforms.

Revision 3285

Author: rafael.kitover | Date: środa, 16 sierpnia 2017 12:20:10

  • SoundSDL: lock conditional code cleanup
  • Move the `bool lock` condition used to wait for sound data to be
  • exhausted from two places in the code into the `bool should_wait()`
  • member function.

Revision 3284

Author: rafael.kitover | Date: środa, 16 sierpnia 2017 00:30:27

  • temp fix for deadlocks in SoundSDL on pause #139
  • SDL_PauseAudioDevice seems to be causing thread deadlocks in combination
  • with Wx threads (e.g. on menu activation or modal dialogs.)
  • Remove these calls from SoundSDL::pause() and SoundSDL::resume() for the
  • time being so that deadlocks do not happen.
  • This effectively allows pausing, but on resume there is no sound for 2-3
  • seconds until the buffer is filled again.
  • This will need a proper fix at a later time.

Revision 3283

Author: nicola.spanti..rydroid. | Date: wtorek, 15 sierpnia 2017 00:28:52

  • Improving README

Revision 3282

Author: rafael.kitover | Date: środa, 9 sierpnia 2017 12:03:56

  • fix memory viewer xrc on wx 3.1+ #127
  • Remove the wxALIGN_CENTRE_VERTICAL flag from items that have the
  • wxEXPAND flag in the MemViewer.xrc because wx 3.1+ warns about the flags
  • being incompatible.

Revision 3281

Author: rafael.kitover | Date: środa, 9 sierpnia 2017 11:34:40

  • let cmake escape -D preproc. definitions
  • As cmake now warns when policies are set to OLD, change the CMP0005
  • policy to NEW.
  • What this does is have cmake escape -D preprocessor definitions passed
  • to e.g. add_definitions() starting in cmake 2.6. This is fine since the
  • minimum cmake version we support is 2.8.12. It also makes the code
  • cleaner since we don't have to escape quotes anymore ourselves. This
  • will also work better on different platforms, where different escapes
  • may be needed.
  • Remove all quote escapes from string params to add_definitions() for
  • this policy change to work.

Revision 3280

Author: avindra.goolcharan | Date: środa, 9 sierpnia 2017 05:05:38

  • SUSE Lint: fix a few classes of warnings #136
  • - drop unused variables
  • - unused-but-set-variable
  • - stray trailing comments
  • - in viewsupt.cpp replace redundant expression with variable that holds the same value

Revision 3279

Author: avindra.goolcharan | Date: wtorek, 8 sierpnia 2017 05:31:08

  • fix errors reported by SUSE's post-build linter
  • In StartRFUSocket() in gba/GBALink.cpp move a postincrement out of an
  • expression to a following statement, because the evaluation order is
  • undefined.
  • In GetDevices() in wx/openal.cpp replace an #else with an #endif so that
  • the function has a default return statement visible to the linter.
  • In FilterThread::Entry() add a `return 0;` (ExitCode) statement at the
  • end even though it is probably never reached.
  • In the TransferToWindow() for the positive double validator widget in
  • wx/widgets/wxmisc.cpp add a default `return true;`, for the rare case
  • there is no double value, in which case the string representation would
  • be displayed (since it is a subclass of wxGenericValidator(wxString&) .)

Revision 3278

Author: rafael.kitover | Date: piątek, 4 sierpnia 2017 08:33:30

  • regenerate translation files
  • Run po/update_pot.sh and rebuild all .po files.

Revision 3277

Author: rafael.kitover | Date: piątek, 4 sierpnia 2017 01:29:37

  • fix a memory leak due to wrong syntax
  • In C++ arrays are deleted with `delete[]` and not `delete`.

Revision 3276

Author: zach.bacon | Date: sobota, 3 czerwca 2017 18:19:28

  • Added updated and new translations

Revision 3275

Author: zach.bacon | Date: sobota, 3 czerwca 2017 18:11:53

  • Updated translation pot file

Revision 3274

Author: rafael.kitover | Date: środa, 24 maja 2017 13:25:45

  • switch to cmake module GNUInstallDirs #116
  • See:
  • https://cmake.org/cmake/help/v2.8.12/cmake.html#module:GNUInstallDirs
  • Use these variables to set all installation paths.
  • Add link and note about module to README.md .

Revision 3273

Author: zach.bacon | Date: piątek, 12 maja 2017 15:02:37

  • Merge pull request #118 from kwkam/patch-1
  • wx/wxvbam: fix GetAbsolutePath

Revision 3272

Author: kwkam | Date: piątek, 12 maja 2017 14:40:37

  • wx/wxvbam: fix GetAbsolutePath
  • Makes battery/state directory setting work when set as relative path

Revision 3271

Author: zach.bacon | Date: piątek, 12 maja 2017 04:18:10

  • Forgot the zip program for the build

Revision 3270

Author: zach.bacon | Date: piątek, 12 maja 2017 04:13:11

  • this should fix the windows build

Revision 3269

Author: zach.bacon | Date: piątek, 12 maja 2017 03:34:18

  • Windows doesn't have sterror_r

Revision 3268

Author: zach.bacon | Date: piątek, 12 maja 2017 03:15:00

  • I swear, I need to double check these things.

Revision 3267

Author: zach.bacon | Date: piątek, 12 maja 2017 03:11:05

  • added instructions for git submodule because we need some headers that mingw doesn't have yet.

Revision 3266

Author: zach.bacon | Date: piątek, 12 maja 2017 03:05:49

  • Seems no matter what I did last time, the generator wasn't properly set.

Revision 3265

Author: zach.bacon | Date: piątek, 12 maja 2017 03:02:12

  • added github integration.

Revision 3264

Author: zach.bacon | Date: czwartek, 11 maja 2017 22:03:16

  • forgot msys makefile generator

Revision 3263

Author: zach.bacon | Date: czwartek, 11 maja 2017 21:53:24

  • Helps if I added build stuff to it.

Revision 3262

Author: zach.bacon | Date: czwartek, 11 maja 2017 21:49:14

  • added drone.yml file for tea-ci integration

Revision 3261

Author: zach.bacon | Date: czwartek, 11 maja 2017 21:38:17

  • added tea-ci badge

Revision 3260

Author: zach.bacon | Date: czwartek, 11 maja 2017 15:44:32

  • Merge pull request #116 from orbea/cmake
  • Add BIN_INSTALL_DIR and MAN_INSTALL_DIR

Revision 3259

Author: orbea | Date: czwartek, 11 maja 2017 15:39:37

  • Add BIN_INSTALL_DIR and MAN_INSTALL_DIR

Revision 3258

Author: rafael.kitover | Date: piątek, 5 maja 2017 19:21:03

  • Add #include for std::ceil() #113
  • A couple files that use the std::ceil() math ceiling function were not
  • including the required header and this seemed to have been
  • causing build errors on some Linux distributions.
  • Add the necessary #include statement to both files.

Revision 3257

Author: rafael.kitover | Date: czwartek, 27 kwietnia 2017 22:16:16

  • fix portability issue with strerror_r()
  • If _GNU_SOURCE is defined on linux, then strerror_r() is an alternate,
  • non-POSIX version.
  • Undefine _GNU_SOURCE when including in ConfigManager.cpp to
  • get the POSIX version of strerror_r(), and initialize the error string
  • buffer to "unknown error" so that the code does not crash whichever
  • version of the library function is being used, or strerror_r() fails for
  • some reason.

Revision 3256

Author: rafael.kitover | Date: czwartek, 27 kwietnia 2017 17:52:14

  • SDL: fix deflt bat saving, improve dir checking
  • By default the SDL port tried to save the battery to a nonexistant
  • directory in saveDir, because if (saveDir) {...} evaluted to true since
  • saveDir was a non-NULL pointer but empty.
  • Change sdlCheckDirectory to return a bool indicating if the directory is
  • good or not, and if not set screenShotDir, saveDir and batteryDir to
  • NULL so that code that checks for their existance works correctly.

Revision 3255

Author: rafael.kitover | Date: czwartek, 27 kwietnia 2017 17:46:03

  • SDL: improve error msg for unwritable config #105
  • Following up on 1ba2eef which fixed a crash caused by trying to write to
  • a NULL FILE* due to fopen() failure: write the error message to stderr
  • instead of trace.log and show the OS error using strerror_r().

Revision 3254

Author: rafael.kitover | Date: czwartek, 27 kwietnia 2017 17:35:25

  • delete memory in common/array.h on destruction
  • Hopefully fix a memory leak in common/array.h by adding a destructor
  • that does a delete on the underlying array if it was previously
  • allocated.

Revision 3253

Author: christopher.snowhill | Date: niedziela, 23 kwietnia 2017 22:45:48

  • Merge pull request #109 from condret/elf-parser-security
  • fix some potential buffer-overflows

Revision 3252

Author: condret | Date: poniedziałek, 24 kwietnia 2017 00:28:17

  • fix some potential buffer-overflows

Revision 3251

Author: christopher.snowhill | Date: niedziela, 23 kwietnia 2017 22:45:25

  • Merge pull request #108 from condret/master
  • fix gameboy header-detection in libretro interface

Revision 3250

Author: condret | Date: poniedziałek, 24 kwietnia 2017 00:07:28

  • hotfix for potential buffer-overflow

Revision 3249

Author: condret | Date: niedziela, 23 kwietnia 2017 23:54:56

  • fix gameboy header-detection in libretro interface

Revision 3248

Author: jeremy.newton | Date: poniedziałek, 17 kwietnia 2017 21:04:07

  • Fix glibc crash: add log message on fopen failure
  • glibc's fclose implementation does not do a NULL check and will crash on "fclose(NULL)". A bunch of Fedora users have been sending in traces for this issue. I've added a log on failure case, likely if the user does not have permission to write to the file.

Revision 3247

Author: rafael.kitover | Date: poniedziałek, 10 kwietnia 2017 13:13:02

  • add Linux joystick reference to issue template
  • Add a link to the Joystick page in the Arch Wiki so that users hopefully
  • use it to troubleshoot their joystick issues before filing an issue.
  • Also note that any joystick issues would be SDL related.

Revision 3246

Author: rafael.kitover | Date: wtorek, 4 kwietnia 2017 22:30:56

  • better fix for clipped video in GL fullscreen #89
  • In d1918c12 I manually sent a SIZE event to the DrawingPanel after
  • calling Layout() in the setup code in OnIdle().
  • But the obvious problem is that the ->Connect() calls to set up the
  • event handlers, including SIZE, are after all the setup code including
  • the Layout().
  • Move the ->Connect() calls to the top of the setup code and remove the
  • manual SIZE event sending. This is a much better solution that for some
  • reason I didn't notice at the time.
  • Tested to also fix the problem.

Revision 3240

Author: zach.bacon | Date: sobota, 25 marca 2017 13:23:30

  • Oops, forgot Unices etc are case sensitive.

Revision 3239

Author: rafael.kitover | Date: sobota, 25 marca 2017 12:02:52

  • ./installdeps tweaks for fedora/rawhide
  • When installing rpmfusion repos, try going back up to 3 releases in case
  • the latest rawhide release does not have an rpmfusion repo, and install
  • the repo packages with --nodeps so that they don't conflict with
  • system-release(XX).
  • If installing rpmfusion repos fails, continue without ffmpeg (and adjust
  • build instructions accordingly.)
  • If ffmpeg fails to install for any reason, show a warning and adjust
  • build instructions.

Revision 3238

Author: rafael.kitover | Date: sobota, 25 marca 2017 11:58:30

  • make bins built with asm disable exec stack #98
  • Add the `section .note.GNU-stack` markers to .asm files built with nasm
  • to make sure the final executables do not have an executable stack.
  • This is described here:
  • https://wiki.gentoo.org/wiki/Hardened/GNU_stack_quickstart

Revision 3237

Author: rafael.kitover | Date: piątek, 24 marca 2017 09:38:34

  • fix ./installdeps m32 for Solus
  • When calculating 32 bit dependencies, look only for -devel packages, and
  • match only -devel packages when checking for corresponding -32bit-devel
  • packages.

Revision 3236

Author: zach.bacon | Date: piątek, 24 marca 2017 12:59:10

  • Working on getting libretro updated

Revision 3235

Author: zach.bacon | Date: piątek, 24 marca 2017 03:14:38

  • libretro: this should solve the configmanager stuff and libretro

Revision 3234

Author: zach.bacon | Date: piątek, 24 marca 2017 03:05:07

  • Merge branch 'master' of https://github.com/visualboyadvance-m/visualboyadvance-m

Revision 3233

Author: rafael.kitover | Date: czwartek, 23 marca 2017 22:09:17

  • 32 bit cross compiling support on Linux
  • Add the `m32` parameter to ./installdeps to fetch 32 bit multilib
  • dependencies on Fedora, Arch and Solus linuxes and add a cmake toolchain
  • file to build with them.
  • For MSYS2 support both an `m32` and an `m64` to choose deps for 32 bit
  • or 64 bit mingw targets.
  • Adjust build instructions from ./installdeps to support both usages.
  • Other changes:
  • - use --nogpgcheck --best --allowerasing for dnf invocations for Fedora,
  • the --nogpgcheck is necessary when Rawhide is confused about which
  • keys it has, and the latter two are needed for upgrades that remove
  • unneeded deps etc
  • - when finding GTK2, first try using pkg-config, and only fall back to
  • the cmake script when that fails, pkg-config works better for cross
  • builds
  • - add cairo to dep lists in ./installdeps for the time being
  • - for arch, list individual packages from base-devel instead of
  • base-devel that do not require gcc-libs because of potential conflicts
  • between gcc and gcc-multilib

Revision 3232

Author: zach.bacon | Date: czwartek, 23 marca 2017 01:50:57

  • Merge pull request #102 from JoshStrobl/patch-1
  • Simplified Solus installdeps

Revision 3231

Author: joshua.strobl | Date: czwartek, 23 marca 2017 01:49:08

  • Simplified Solus installdeps
  • Multiple previously specified packages are either already in system.devel or are dependencies of items such as libgtk-2-devel or libgtk-3-devel, dependencies of those dependencies, etc.

Revision 3230

Author: rafael.kitover | Date: środa, 22 marca 2017 00:05:28

  • add gitter.im badge to top of README.md

Revision 3229

Author: zach.bacon | Date: środa, 22 marca 2017 02:52:28

  • Almost there, just a few more blocks to go.

Revision 3228

Author: rafael.kitover | Date: poniedziałek, 20 marca 2017 03:09:33

  • basic ./installdeps support for Solus Linux
  • Add basic support for installing deps for a Solus host build and update
  • README.md .
  • Support for mingw and 32 bit cross-builds may be added later.

Revision 3227

Author: rafael.kitover | Date: niedziela, 19 marca 2017 03:04:39

  • cmake: default to ENABLE_ASM_CORE=OFF #98 #54
  • The inline assembly in src/gba/GBA-thumb.cpp which is turned on with the
  • cmake ENABLE_ASM_CORES option, sometimes causes weird behavior on
  • windows (see: #54) and a crash on startup in linux (see: #98, confirmed
  • on both Fedora and Arch Linux.)
  • Previously the default for this option was ON for 32 bit builds, set the
  • default to OFF always for the time being, until it is either fixed or
  • replaced.

Revision 3226

Author: rafael.kitover | Date: niedziela, 19 marca 2017 02:44:39

  • fix src/filters/2xSaImmx.asm linking issues #98
  • Because of how asm subroutines are linked to C/C++ programs,
  • src/filters/2xSaImmx.asm had an %ifdef __DJGPP__ (the DOS port of gcc)
  • with the subroutine names prepended with an extra underscore.
  • In 902a7a7e I removed the %ifdef and just kept the extra underscore for
  • all symbols, and this worked fine until #98 where some version of Fedora
  • did not like that and would not link the code.
  • So adopt the behavior of the other asm filters, which have a NEWSYM
  • macro that defines the symbol name both with and without the extra
  • underscore, by listing the symbol twice, both with and without the extra
  • underscore, this is confirmed to fix the linking issue on that Fedora
  • build host.

Revision 3225

Author: zach.bacon | Date: piątek, 17 marca 2017 00:23:12

  • Small tweaks to the installer

Revision 3224

Author: zach.bacon | Date: czwartek, 16 marca 2017 03:58:02

  • Added initial installer script to install either the 64bit or 32bit versions depending on platform.

Revision 3223

Author: rafael.kitover | Date: wtorek, 14 marca 2017 18:33:24

  • cmake: use add_compile_options for ssp-buffer-size
  • In 82c8a1e3 I made "--param ssp-buffer-size=4" one argument instead of
  • two because when added to CMAKE_REQUIRED_LIBRARIES the ssp-buffer-size=4
  • part was being recognized as a library, breaking the compile tests.
  • This broke the build on mac, which I fixed in 915e2d1e by using ssp
  • flags for gcc only and not clang.
  • Now apparently it is breaking mxe, so instead of adding this particular
  • parameter to the MY_C_FLAGS variable which is then added to
  • CMAKE_REQUIRED_* variables for compile tests, add it directly via
  • ADD_COMPILE_OPTIONS().
  • This should hopefully resolve any remaining issues with this compiler
  • flag.

Revision 3222

Author: rafael.kitover | Date: niedziela, 12 marca 2017 04:19:47

  • activate libssp compiler flags for gcc only
  • In 82c8a1e3 I made "--param ssp-buffer-size=4" one argument instead of
  • two to fix another problem when passing compiler flags to
  • CMAKE_REQUIRED_LIBRARIES, clang cannot deal with this and this breaks
  • the build on mac.
  • Enable libssp related flags for gcc only, because clang does not support
  • them anyway. This fixes the build issue on mac.

Revision 3221

Author: rafael.kitover | Date: piątek, 10 marca 2017 15:38:50

  • fix linux build broken in 687c08a
  • Stop saving and restoring the CMAKE_REQUIRED_* variables for the compile
  • test, because the subsequent Wx header symbol tests need them set up for
  • Wx support as well.
  • Also --param foo=bar needs to be a single string in the list of compiler
  • flags, or cmake can misinterpret the second part as a library when it is
  • passed to libraries/link-options.

Revision 3220

Author: zach.bacon | Date: czwartek, 9 marca 2017 10:06:25

  • Some debian stuff, I honestly don't like debian packaging... but it's important for some people

Revision 3219

Author: zach.bacon | Date: czwartek, 9 marca 2017 09:58:00

  • Start removing ancient history of gvbam, may it rest in peace

Revision 3218

Author: rafael.kitover | Date: czwartek, 9 marca 2017 00:49:00

  • fix 32bit intel detection for 32bit mxe target
  • mxe leaves CMAKE_SYSTEM_PROCESSOR empty, so detect if mxe is being used
  • and set the variable based on CMAKE_TOOLCHAIN_FILE, this allows the
  • 32bit asm to compile under mxe.
  • Also if no toolchain file is being used and CMAKE_SYSTEM_PROCESSOR is
  • empty, fall back to CMAKE_HOST_SYSTEM_PROCESSOR.

Revision 3217

Author: rafael.kitover | Date: środa, 8 marca 2017 01:15:02

  • pass all compiler/linker flags for compile test
  • When determining gcc/clang flags, save resulting C flags as MY_C_FLAGS,
  • C++ flags as MY_CXX_FLAGS, and linker flags as MY_C_LINKER_FLAGS, then
  • use them in the Wx OpenGL compile test.
  • This fixes the test erroneously failing on git mxe on mac.
  • Also, don't use -fPIC on Win32, set Wx defines separately from the test,
  • and save all CMAKE_REQUIRED_* variables before the test and restore them
  • afterwards.

Revision 3216

Author: zach.bacon | Date: wtorek, 7 marca 2017 12:48:41

  • changed the throttle for sdl config example

Revision 3215

Author: rafael.kitover | Date: poniedziałek, 6 marca 2017 13:26:33

  • fix sound in SDL port/ConfigManager
  • Since we are using sound frequency to control game speed, not quality,
  • change ConfigManager to default to a frequency of 44100 instead of
  • 22050.
  • This also fixes trace.log files showing up with "unknown sound quality"
  • warnings.

Revision 3214

Author: rafael.kitover | Date: poniedziałek, 6 marca 2017 11:10:06

  • fix Ubuntu PPA link
  • Also add a note that it's easy to build from source.

Revision 3213

Author: rafael.kitover | Date: poniedziałek, 6 marca 2017 11:03:15

  • minor doc tweaks
  • - Add Ubuntu daily PPA link.
  • - Add link to releases tab for win/mac builds.
  • - Advise `make -j8` instead of `make -j10`.
  • - Clarify which dependencies are optional and which are required.
  • - Add ENABLE_ASM cmake option to the table.
  • - Replace wxLogDebug with wxString example to use .utf8_str() instead of
  • concatenation, this is more correct.

Revision 3212

Author: rafael.kitover | Date: poniedziałek, 6 marca 2017 10:40:55

  • add ENABLE_ASM cmake option
  • Add the ENABLE_ASM flag for cmake which turns ON or OFF the
  • ENABLE_ASM_CORE, ENABLE_ASM_SCALERS and the ENABLE_MMX options at once.

Revision 3211

Author: zach.bacon | Date: poniedziałek, 6 marca 2017 02:06:22

  • ws2_32 is needed for the SDL binary on windows

Revision 3210

Author: rafael.kitover | Date: niedziela, 5 marca 2017 20:47:32

  • fix linking OpenAL statically on Win32/MXE
  • Add the necessary AL_LIBTYPE_STATIC define for MXE and non-msys2 win32
  • builds so that OpenAL can be linked statically without errors.

Revision 3209

Author: rafael.kitover | Date: niedziela, 5 marca 2017 17:43:25

  • full throttle support + snd driver improvements
  • Support throttle in all sound drivers: SDL, openal, dsound and xaudio.
  • Link OpenAL at compile time instead of runtime.
  • Minor improvement on 891f17d6, which added throttle support to SoundSDL
  • and made it actually work more often and crash less: check that throttle
  • is non-zero before scaling the frequency.
  • For dsound, add the CTRLFREQUENCY capability to buffers and call
  • SetFrequency on the secondary buffer in setThrottle().
  • For OpenAL, set AL_PITCH on the source to throttle / 100.0 in
  • setThrottle() and remove all dynamic library loading stuff.
  • For xaudio, 441e6c9e allows throttle to work, and is also necessary for
  • these changes to dsound and openal.

Revision 3208

Author: mystro256 | Date: niedziela, 5 marca 2017 14:32:34

  • Fixes for SDL throttle
  • - Throttle should be set on init
  • - SDL auido device was not being correctly closed on throttle change

Revision 3207

Author: zach.bacon | Date: niedziela, 5 marca 2017 09:16:53

  • Merge pull request #93 from Mystro256/master
  • Fix incorrect bug tracker link

Revision 3206

Author: mystro256 | Date: niedziela, 5 marca 2017 07:56:31

  • Fix incorrect bug tracker link
  • Clicking "Report Bugs" goes to SF instead of github

Revision 3205

Author: rafael.kitover | Date: niedziela, 5 marca 2017 06:53:35

  • fix setting throttle on LoadGame()
  • Move the soundSetThrottle() calls after the soundSetSampleRate() calls
  • in LoadGame(), because the core calls soundInit() again after
  • soundSetSampleRate() wiping out the throttle value. This allows the
  • throttle setting to work with xaudio on startup and game loads.
  • TODO: the throttle config setting only works correctly for the xaudio
  • driver at the moment, it needs to be implemented for other sound drivers
  • and eventually moved out of the sound drivers altogether.

Revision 3204

Author: rafael.kitover | Date: niedziela, 5 marca 2017 06:16:14

  • partial fix for disabling pausing when linked #83
  • Check if link mode is active in GameArea::Pause() and refuse to pause if
  • it is.
  • Remove the check for the app not having focus with pauseWhenInactive
  • enabled in GameArea::OnIdle() as this is now handled in
  • MainFrame::OnActivate() (which receives focus events) since f10e2e99.
  • Revert 13f5afa9 which tried to check for link status in
  • MainFrame::MenuPopped() because it was completely wrong and the link
  • check is better done in GameArea::Pause().

Revision 3203

Author: rafael.kitover | Date: środa, 1 marca 2017 02:16:46

  • fix clipped game area in GL fullscreen #89
  • Trigger OnSize in the drawing panel after setting the geometry and
  • calling Layout(). I'm not sure what exactly broke but this seems to fix
  • the issue for the time being.
  • Also do a bit of very minor refactoring, change some calls to GetSize()
  • to GetClientSize() and simplify GLDrawingPanel::OnSize(ev&), tested to
  • work fine in wx 2.8.

Revision 3202

Author: mystro256 | Date: środa, 1 marca 2017 00:04:56

  • Use prefix add operator for non-prim types
  • Typically yields better or equal performance. Sometimes compilers don't
  • optimizer out keeping the previous values (not needed for only adding 1)

Revision 3201

Author: mystro256 | Date: środa, 1 marca 2017 00:04:56

  • Typo, only 10 recent accels

Revision 3200

Author: rafael.kitover | Date: wtorek, 28 lutego 2017 23:18:27

  • expand github issue template
  • Ask for more information like the affected games and drivers being used.

Revision 3199

Author: zach.bacon | Date: sobota, 25 lutego 2017 06:55:29

  • Still working on libretro stuff, working on cheatsenabled compile issue now.

Revision 3198

Author: zach.bacon | Date: sobota, 25 lutego 2017 06:38:06

  • Fixes build on the libretro side by wrapping an ifndef statement around rederedframes

Revision 3197

Author: rafael.kitover | Date: piątek, 24 lutego 2017 21:24:20

  • fix Mac linker script for @rpath libs (like SFML)
  • Homebrew SFML links itself with @rpath/ instead of the dylib path,
  • update the mac linking and bundling script to handle that case, also
  • move it from src/wx/tools/osx to tools/osx now that wx is the primary
  • port.
  • This fix is temporary and I will write a better one that takes
  • DYLD_LIBRARY_PATH and such into account, but will suffice for linking
  • Homebrew libs for now. The script needs more work in general.

Revision 3196

Author: rafael.kitover | Date: piątek, 24 lutego 2017 15:44:26

  • default to -DENABLE_FFMPEG=ON on Mac again
  • No particular reason to exclude ffmpeg support in Mac builds.

Revision 3195

Author: n.a.c.h | Date: środa, 22 lutego 2017 02:39:57

  • Fix case where buffer is filled to capacity and becoming empty. There always needs to be an extra entry as a separator between the write and the read.

Revision 3194

Author: rafael.kitover | Date: środa, 22 lutego 2017 01:47:31

  • minor fix for Ubuntu 14 (cmake)
  • Check that the CMAKE_VERSION is 3.0 or greater when setting the CMP0043
  • policy to NEW. The Ubuntu 14 cmake which is 2.8.12 throws an unknown
  • policy error otherwise.

Revision 3193

Author: n.a.c.h | Date: środa, 22 lutego 2017 01:03:21

  • Rewrite of ringbuffer, and updated copyright file for Debian.

Revision 3192

Author: n.a.c.h | Date: środa, 22 lutego 2017 00:05:35

  • Remove copyright header from ZSNES since it annoys some people. The original version in ZSNES including the entire 1.4x version was GPL2+. The changes since then are mine, and I licensed it as GPL2 only for ZSNES 1.5x. I have no issue with VBA-M distributing this as GPL2+.

Revision 3189

Author: rafael.kitover | Date: poniedziałek, 20 lutego 2017 22:43:39

  • remove intermediate dependencies jpeg and tiff
  • jpeg and tiff are not direct dependencies and should be pulled in by
  • direct dependencies such as wx, remove them from README.md and
  • ./installdeps.

Revision 3188

Author: rafael.kitover | Date: poniedziałek, 20 lutego 2017 22:20:09

  • initial Wayland support #72 #76
  • Disable OpenGL support under Wayland because wxGLCanvas segfaults, and
  • fix an issue with drawn frames not appearing.
  • If the user has opengl as the render method in their config, it will not
  • be changed, but at runtime will be set to simple under Wayland.
  • To fix the issue with frames not being drawn, Call Refresh() to queue a
  • PaintEv from DrawArea(data) instead of calling DrawArea(device_context)
  • directly.
  • Also remove the DrawOSD() call from PaintEv, this was causing the OSD to
  • sometimes show up twice in one frame, because DrawArea(data) draws the
  • OSD directly on the frame data.
  • Add new files wayland.cpp and wayland.h with a bool IsItWayland() global
  • function. This uses a GDK (part of GTK) call to detect Wayland. This
  • unfortunately requires linking GTK libs separately.
  • Add cmake code to detect the version of GTK used by the wx being linked
  • and link it as well. Add gtk2 and gtk3 dev packages to the code for the
  • supported linux dists in ./installdeps.

Revision 3187

Author: rafael.kitover | Date: niedziela, 19 lutego 2017 19:39:46

  • don't pause on menu open when link active #83
  • In the MenuPopped method (which received MENU_OPEN, MENU_CLOSE and
  • MENU_HIGHLIGHT) check that gba_joybus_active is not true before pausing
  • the emulator, so that if Link mode is on it will not pause.

Revision 3186

Author: rafael.kitover | Date: czwartek, 16 lutego 2017 14:21:40

  • add --exclude='glibc32*' for Fedora ./installdeps
  • This should fix possible problems with the glibc32 package being
  • sometimes erroneously pulled in in rawhide when installing 32 bit devel
  • libs.

Revision 3185

Author: rafael.kitover | Date: czwartek, 16 lutego 2017 12:39:51

  • update ./installdeps for Fedora rawhide
  • Try to install both pkgconfig.i686 and pkgconfig.x86_64 silently because
  • fc26+ does not have a separate 32 bit package.
  • If installing 32 bit packages fails on amd64, fall back to installing 64
  • bit packages only.

Revision 3184

Author: rafael.kitover | Date: poniedziałek, 13 lutego 2017 10:26:22

  • Merge pull request #74 from Mystro256/gccwarnings
  • - fix C++ only flags being used for C
  • - check if cheats/patches files load correctly

Revision 3183

Author: rafael.kitover | Date: niedziela, 12 lutego 2017 13:49:06

  • add Mystro256 to developer list in About box

Revision 3182

Author: rafael.kitover | Date: niedziela, 12 lutego 2017 13:41:57

  • use -fpermissive and -fexceptions with C++ only
  • Add -fpermissive and -fexceptions to CMAKE_CXX_COMPILE_OBJECT so that
  • they only affect C++. -std=gnu++11 was already there from b4ba9d9d, but
  • this is a cleaner method (which is also used for NASM) where we use
  • STRING(REGEX REPLACE ...) to append options after the
  • placeholder in CMAKE_CXX_COMPILE_OBJECT.

Revision 3181

Author: mystro256 | Date: niedziela, 12 lutego 2017 13:26:21

  • fpermissive is only a C++ flag

Revision 3180

Author: mystro256 | Date: niedziela, 12 lutego 2017 13:26:21

  • Error case in gbCheatReadGSCodeFile
  • Silence GCC warning

Revision 3179

Author: mystro256 | Date: niedziela, 12 lutego 2017 13:26:21

  • Error case if game num can't be read in cheatsImportGSACodeFile
  • Silence GCC warning

Revision 3178

Author: mystro256 | Date: niedziela, 12 lutego 2017 13:26:21

  • Incorrect return value in cheatsImportGSACodeFile

Revision 3177

Author: mystro256 | Date: niedziela, 12 lutego 2017 13:26:21

  • Use fread return values for apply patch error checking
  • Silences gcc warnings

Revision 3176

Author: mystro256 | Date: niedziela, 12 lutego 2017 15:50:54

  • Re-add missing installed icons (for linux)

Revision 3175

Author: rafael.kitover | Date: niedziela, 12 lutego 2017 12:47:29

  • remove updater code #71
  • Remove the "check for updates" and "Update ROM database" menu entries,
  • as well as the automatic update checking and all supporting code.
  • This fixes the issue with the emulator hanging without access to the
  • internet.
  • Updating code will be reimplemented in the future using something like
  • Sparkle. wxHTTP does not support redirects or https so is pretty much
  • useless now.
  • Also update the About box to bump copyright year to 2017 and change my
  • name to "rkitover", which is what I use on github, and mention other
  • contributors.

Revision 3174

Author: rafael.kitover | Date: sobota, 11 lutego 2017 23:18:38

  • support Ninja cmake generator on msys2
  • Add a hack to the root CMakeLists.txt to SET(MSYS ON) for the Ninja
  • generator when running under msys2, otherwise it cannot find libs.
  • The quoting fixes from #70 allow all of this to work.

Revision 3173

Author: rafael.kitover | Date: sobota, 11 lutego 2017 17:02:02

  • Merge pull request #70 from edorax/master
  • Some fixes for MSVC.

Revision 3172

Author: edorax | Date: sobota, 11 lutego 2017 16:48:11

  • Improve the method to find SDL2.

Revision 3171

Author: edorax | Date: sobota, 11 lutego 2017 16:11:32

  • Fix build for MSVC.

Revision 3170

Author: rafael.kitover | Date: sobota, 11 lutego 2017 15:33:08

  • clean up dependencies/msvc inclusion cmake code
  • Move the check for dependencies/msvc into the previous IF(WIN32) block
  • adding an IF(MSVC) level.
  • Remove duplicate call to INCLUDE_DIRECTORIES(dependencies/msvc) from
  • later on in the main CMakeLists.txt.

Revision 3169

Author: rafael.kitover | Date: sobota, 11 lutego 2017 14:52:42

  • add one missed cmake windows quoting fix
  • Also quote LOCALEDIR with as ""${LOCALEDIR}"", just like the other
  • defs are quoted.
  • This fixes the build on msys2.

Revision 3168

Author: rafael.kitover | Date: sobota, 11 lutego 2017 14:33:10

  • set -std=gnu++11 globally for C++ only
  • Add -std=gnu+11 to CMAKE_CXX_COMPILE_OBJECT in the main CMakeLists.txt
  • to force the option for all C++ sources.
  • The right way to do this is to use a generator expression with
  • ADD_COMPILE_OPTIONS, but this is only available in cmake 3.3 and we must
  • maintain 2.8.12 compatibility to support Ubuntu 14.
  • This fixes the mac build (clang.)

Revision 3167

Author: edorax | Date: sobota, 11 lutego 2017 08:48:19

  • Fix the options of cl.

Revision 3166

Author: edorax | Date: sobota, 11 lutego 2017 07:55:45

  • Use cl(the MS C/C++ compiler) instead of cc for MSVC build.

Revision 3165

Author: edorax | Date: sobota, 11 lutego 2017 06:39:50

  • Move 'dependencies/msvc' inclusion to the CMakeLists.txt in top level.

Revision 3164

Author: su.yong | Date: sobota, 11 lutego 2017 03:57:35

  • Some fixes for MSVC.

Revision 3163

Author: rafael.kitover | Date: piątek, 10 lutego 2017 17:22:58

  • fix cmake -G Ninja support
  • Use an explicit list of Wx XRC sources instead of a GLOB so that cmake
  • generators for other build systems such as Ninja work.

Revision 3162

Author: rafael.kitover | Date: czwartek, 9 lutego 2017 16:30:54

  • fix directsound loop on unfocus #45
  • Call GameArea::Pause and ::Resume in MainFrame::OnActivate based on
  • focus state if the pauseWhenInactive config option is set.
  • Also stop/play the primary dsound buffer in pause()/resume() in
  • dsound.cpp, not onlyu the secondary, this may not be necessary but it
  • doesn't hurt.

Revision 3161

Author: rafael.kitover | Date: piątek, 3 lutego 2017 21:39:10

  • fix build failure on OS X Lion with XCode 4.2
  • XCode 4.2 generates a broken binary if -fomit-frame-pointer and/or -flto
  • is used for compile and link flags.
  • Check for Clang version less than 4.3 on APPLE and remove these flags in
  • the compile options setting cmake code.

Revision 3160

Author: rafael.kitover | Date: czwartek, 2 lutego 2017 16:13:39

  • fix game freezing on kbd input #54
  • Apparently in some configurations, holding a key on the keyboard makes
  • Wx stop processing Idle events, so the emulator does not run until the
  • key is released, freezing the game and ignoring the key.
  • Hopefully fix this by calling wxWakeUpIdle() from OnKeyDown() and
  • OnKeyUp().
  • Other Misc. Improvements:
  • - refactor process_key_press() to only return true if the system is in a
  • pressed key state on key presses or a game key was released on
  • releases and always true on double releases.
  • - call ev.StopPropagation() from OnKey* events for game keys, this may
  • not actually do anything, but just in case.
  • - remove static OnKeyUp and OnKeyDown events from GameArea, these are
  • connected to the DrawingPanel dynamically now.
  • - remove the dynamic_cast<>s from PaintEv/EraseBackground/OnSize event
  • forwarders, since there is already a panel member to use.
  • TODO:
  • The state returned by process_key_press() is still not entirely correct,
  • if a joystick button is pressed, it will return true for a non-game
  • keyboard press, and it needs to return the correct state for double
  • releases.

Revision 3158

Author: rafael.kitover | Date: wtorek, 31 stycznia 2017 05:11:07

  • fix openal.so loading issues on some dists #69
  • As suggested by @Mystro256, try:
  • wxDynamicLibrary::CanonicalizeName(wxT("openal"))+wxT(".1")
  • before just the canonical name for "openal" when trying to load the
  • library.
  • Also add a utility method to quietly try loading the library, because on
  • wx 2.8 wxDL_QUIET does not work.

Revision 3157

Author: rafael.kitover | Date: wtorek, 31 stycznia 2017 04:12:04

  • fix msys2 build failure in 34e408cc
  • cmake automatically passes -std=gnu++11 in some cases, while we were
  • passing -std=c++11, and this was causing incompatibilites in name
  • mangling between different objects.
  • Fix this by using -std=gnu++11 for gcc.

Revision 3156

Author: rafael.kitover | Date: wtorek, 31 stycznia 2017 03:14:33

  • fix nasm support broken in 34e408cc
  • The last commit removed generator expressions from ADD_COMPILE_OPTIONS()
  • which made C/C++ flags apply to nasm as well.
  • Fix this by removing from CMAKE_ASM_NASM_COMPILE_OBJECT and
  • replacing it with the flags we want.

Revision 3155

Author: rafael.kitover | Date: niedziela, 29 stycznia 2017 19:14:34

  • fix Debian 8 Jessie and Ubuntu 14 Trusty compat
  • Fix some porting issues to make everything work on Debian 8 "Jessie"
  • and Ubuntu 14 "Trusty":
  • - set cmake minimum version to 2.8.12, this is the Ubuntu 14 version
  • - combine C and C++ flags and add all of them using
  • ADD_COMPILE_OPTIONS() without using generator expressions, which is a
  • cmake 3.2 or so feature
  • - add -fpermissive to force some non-const type casts to compile on
  • older versions of gcc
  • - add -std=c++11 for gcc to enable support on older versions of gcc
  • - check that the compiler supports -fstack-protector-strong before
  • adding it, older versions of gcc do not
  • - fix the debian section of ./installdeps to include libpng-dev instead
  • of libpng16-dev and add gettext for msginit etc.
  • - fix compat checks in src/common/ffmpeg.cpp and src/wx/cmdevents.cpp to
  • check for libavcodec >= 56 instead of > 56, the Debian Jessie version
  • is exactly version 56. With the one exception of
  • AV_CODEC_FLAG_GLOBAL_HEADER which is defined in later versions.

Revision 3154

Author: rafael.kitover | Date: środa, 25 stycznia 2017 19:53:05

  • fix wx 2.8 compat, debug logging works everywhere
  • Fix backcompat with wx 2.8. This involved writing
  • wxPositiveDoubleValidator and rewiring the DrawingPanel inheritance tree
  • and event handling mechanisms (because 2.8 does not have ->Bind, only
  • ->Connect which is less flexible.) As a result all the event handling
  • has been gathered into GameArea and the affected code is somewhat
  • cleaner. 2.8 support is untested on Mac because it requires 32 bit libs
  • and Carbon.
  • Add support for cross-compiling for windows using the Fedora MinGW
  • packages in ./installdeps.
  • Check for OpenGL support in the wx library being linked, this was
  • necessary because the Fedora MinGW wx library does not have OpenGL
  • support.
  • Remove vbamDebug() in favor of wxLogDebug(), and add an override for it
  • so that it works in non-debug builds of wx as well as on Windows. Turn
  • off buffering on stdout and stderr on startup so that debug logging
  • works in msys2/cygwin mintty as well.
  • On Windows, build a console binary for debug builds.
  • Update README.md to reflect Fedora MinGW support and debug logging
  • support.
  • Add -Wextra to cflags for debug builds.

Revision 1569

Author: rafael.kitover | Date: sobota, 31 grudnia 2016 13:48:51

  • disable LTO on Win32 for now
  • Due to reports of segfaults etc. disabling LTO on Win32 for now.

Revision 1568

Author: rafael.kitover | Date: sobota, 31 grudnia 2016 13:07:12

  • correct fix for ddef88f0
  • Check that codec is not a NULL pointer right after it's first set, this
  • is done later after configuring the ctx anyway.

Revision 1567

Author: doctorwho11 | Date: sobota, 31 grudnia 2016 04:48:23

  • Add missing libiconv for enabling nls

Revision 1566

Author: zach.bacon | Date: sobota, 31 grudnia 2016 03:17:00

  • Merge pull request #60 from Mystro256/master
  • Various fixes

Revision 1565

Author: mystro256 | Date: piątek, 30 grudnia 2016 18:14:35

  • Duplicate CMake Option in README.md

Revision 1564

Author: mystro256 | Date: piątek, 30 grudnia 2016 17:43:36

  • DeSerialize should pass packet by ref too

Revision 1563

Author: mystro256 | Date: piątek, 30 grudnia 2016 17:42:56

  • Possible null dereference

Revision 1562

Author: mystro256 | Date: piątek, 30 grudnia 2016 17:41:33

  • Redundant code?

Revision 1561

Author: mystro256 | Date: piątek, 30 grudnia 2016 17:19:48

  • Spelling mistake ;)

Revision 1560

Author: mystro256 | Date: piątek, 30 grudnia 2016 17:17:18

  • Fix gcc parentheses warning

Revision 1559

Author: mystro256 | Date: piątek, 30 grudnia 2016 17:16:00

  • Clean up various used variables

Revision 1558

Author: mystro256 | Date: piątek, 30 grudnia 2016 17:03:34

  • Silence gcc misleading-indentation warning

Revision 1557

Author: mystro256 | Date: piątek, 30 grudnia 2016 16:49:22

  • Fix format-extra-args warning

Revision 1556

Author: mystro256 | Date: piątek, 30 grudnia 2016 16:48:05

  • Missing include, fixes gcc warning

Revision 1555

Author: rafael.kitover | Date: środa, 28 grudnia 2016 17:48:30

  • ./installdeps: support Fedora Linux
  • Detect and install deps for Fedora Linux in ./installdeps. On 64 bit
  • intel hosts install both 32 and 64 bit dev libs. Also update README.md
  • to note that Fedora is supported.
  • MISC: add nasm to all dep lists for various dists

Revision 1554

Author: rafael.kitover | Date: niedziela, 25 grudnia 2016 14:12:23

  • ./installdeps: pull deps submdl for cross targets
  • Run `git submodule update --init --recursive` for all win32 cross
  • targets, not just msys2, in check_cross() .

Revision 1553

Author: rafael.kitover | Date: piątek, 23 grudnia 2016 16:15:47

  • fix control panel link in MSys2 Notes in README.md
  • Fix the instructions in MSys2 notes for how to change the system PATH in
  • Control Panel in README.md.

Revision 1552

Author: rafael.kitover | Date: piątek, 23 grudnia 2016 15:10:54

  • put CMake options in README.md into table + misc
  • Make a nice table for CMake options, add a note on making debug vs.
  • release builds, add nasm to list of deps, add a note in MSys2 notes
  • about lack of debug console messages.

Revision 1551

Author: rafael.kitover | Date: piątek, 23 grudnia 2016 14:38:50

  • add a README.md
  • Add a link to the homepage, building instructions and some notes on
  • contributing.

Revision 1550

Author: rafael.kitover | Date: czwartek, 22 grudnia 2016 16:04:27

  • use $MSYSTEM for msys2 target in ./installdeps
  • Only allow running ./installdeps if $MSYSTEM is MINGW32 or MINGW64, that
  • is, the user started a MINGW 32 bit or 64 bit shell and **NOT** an MSYS
  • shell.
  • Use the value of $MSYSTEM to determine if 32 bit or 64 bit target deps
  • should be installed.
  • Update usage() text to reflect this.
  • MISC: rename generic_build_instructions() to build_instructions() .

Revision 1549

Author: rafael.kitover | Date: czwartek, 22 grudnia 2016 02:10:03

  • remove src/wx/VBA.ico, dup for src/wx/icons/VBA.ico

Revision 1548

Author: rafael.kitover | Date: środa, 21 grudnia 2016 22:02:55

  • full support for cross-compiling to win32 with mxe
  • Fix all cmake issues related to building for win32 with mxe.
  • Add support for ./installdeps win32 on Debian/Ubuntu using the mxe apt
  • repository.
  • Details:
  • * default to ENABLE_LTO=OFF on mxe
  • * set SFML_STATIC_LIBRARIES=TRUE on mxe
  • * fix the libintl/gettext checking logic
  • * fix the git dependencies submodule checking logic, and check that it
  • triggers for mxe
  • * revert FindSFML.cmake to upstream version, works fine with mxe
  • * make 'win32' an alias for the 'MinGW-w64-i686' target for
  • ./installdeps, add support for mxe apt repository for Debian/Ubuntu
  • * change bin2c related cmake code to compile the tool on the host always
  • even when cross-compiling
  • * copy src/win32/res/VBA.ico to src/wx/icons since src/win32 has been
  • removed
  • TODO: generic mxe installer for other unix-likes

Revision 1547

Author: zach.bacon | Date: środa, 21 grudnia 2016 15:53:55

  • Merge pull request #56 from Mystro256/master
  • Appdata fixes

Revision 1546

Author: mystro256 | Date: środa, 21 grudnia 2016 15:14:10

  • Appdata fixes
  • Note that metadata_license is the license of this specific file, apparently
  • it's not allowed to be GPL, CC-BY-SA-3.0 is close enough.

Revision 1545

Author: doctorwho11 | Date: środa, 21 grudnia 2016 03:26:11

  • Missed one other cmake instance of gvbam

Revision 1544

Author: doctorwho11 | Date: wtorek, 20 grudnia 2016 23:56:05

  • add old resources that were in the win32 folder that the wxwidgets interface uses on windows

Revision 1543

Author: doctorwho11 | Date: wtorek, 20 grudnia 2016 23:34:34

  • Drop gtk and mfc interfaces. Things are changing and for the better.

Revision 1542

Author: doctorwho11 | Date: wtorek, 20 grudnia 2016 23:27:30

  • adjust small things in preparation in a move.

Revision 1541

Author: rafael.kitover | Date: poniedziałek, 19 grudnia 2016 11:18:30

  • add gettext-tools to fink deps
  • gettext-tools needs to be installed in fink for cmake to find msginit,
  • update ./installdeps to include it.

Revision 1540

Author: rafael.kitover | Date: poniedziałek, 19 grudnia 2016 11:15:44

  • fix SDL2 include in 534c4da
  • For SDL2 includes are specified as:
  • ```cpp
  • ```
  • rather than as:
  • ```cpp
  • ```
  • without the `SDL/` prefix, this was causing a compile error.

Revision 1539

Author: rafael.kitover | Date: poniedziałek, 19 grudnia 2016 05:10:18

  • trying to create an issue template
  • This should help with people creating issues with no information about
  • their build or configuration.

Revision 1538

Author: zach.bacon | Date: poniedziałek, 19 grudnia 2016 03:28:49

  • Merge pull request #53 from drysyle/master
  • Fix wx joystick hat diagonals

Revision 1537

Author: drysyle | Date: poniedziałek, 19 grudnia 2016 00:25:18

  • Rewrote joystick hat code to fix diagonal issues

Revision 1536

Author: rafael.kitover | Date: niedziela, 18 grudnia 2016 21:11:37

  • hopefully fix cross-compiling with SFML
  • Remove "PATH_SUFFIXES include" in the FIND_PATH(SFML_INCLUDE_DIR ...)
  • call in FindSFML.cmake, this has fixed cross-compiling issues with
  • FindOpenAL.cmake and FindSDL2.cmake already.

Revision 1535

Author: zach.bacon | Date: środa, 14 grudnia 2016 22:52:45

  • Fixed compiling without sfml.

Revision 1534

Author: rafael.kitover | Date: środa, 14 grudnia 2016 15:23:02

  • check for RAW_CONTROL only on macs in switch stmts
  • On e.g. Windows WXK_RAW_CONTROL == WXK_CONTROL so having both in a
  • switch statement is compile-time error, so wrap the checks for
  • WXK_RAW_CONTROL in an #ifdef __WXMAC__ .

Revision 1533

Author: rafael.kitover | Date: środa, 14 grudnia 2016 14:48:37

  • only use gcc binutils wrappers when LTO is enabled
  • Use gcc wrappers like gcc-ar/gcc-nm/gcc-ranlib only when LTO is enabled.

Revision 1532

Author: rafael.kitover | Date: środa, 14 grudnia 2016 09:26:54

  • fix modifier-only game keys
  • Fix using modifier keys such as SHIFT or CONTROL by themselves as game
  • keys.
  • Modifier keys are sent as a special keycode e.g. WXK_CTRL along with the
  • modifier flag, however on key release the keycode is sent but the
  • modifier flag is not. So check for modifier keys in process_key_press()
  • and always set the modifier flag so that release events are recognized
  • correctly.
  • Fix support for RAW_CTRL on Mac (which is the real control, while the
  • Command key is mapped to CTRL.)
  • Also disable the debug message emitted by wX when our modifier-only key
  • parsing code runs.
  • TODO: map modifier key names on Mac to the actual keys rather than the
  • wX names such as RAWCTRL.

Revision 1531

Author: rafael.kitover | Date: środa, 14 grudnia 2016 00:08:55

  • workaround wX 3.1+ key accel string parsing bug
  • In wX 3.1+ the behavior of wxAcceleratorEntry::ToString() and
  • wxAcceleratorEntry::FromString() has changed and the resulting string
  • can no longer round-trip through these methods.
  • Use a lookup table based on an internal data structure from the wX
  • source code to translate the "display name" of some keys to the regular
  • "name" as a workaround for now.
  • This allows at least the default keybindings to work and not throw an
  • error on startup.
  • TODO: standalone modifiers as game keys are still broken.

Revision 1530

Author: rafael.kitover | Date: wtorek, 13 grudnia 2016 19:03:38

  • fix wX XRC for wX 3.2
  • Some sizeritems in horizontal box sizers had the wxALIGN_RIGHT flag,
  • which makes no sense in horizontal sizers, since they allow only
  • aligning things vertically. This was throwing XRC errors on startup.
  • Remove the erroneous wxALIGN_RIGHT flags from the XRC.

Revision 1529

Author: rafael.kitover | Date: wtorek, 13 grudnia 2016 16:38:15

  • minor update to ./installdeps
  • For arch cross builds, try to install both the mingw -headers-git and
  • -crt-git .

Revision 1528

Author: rafael.kitover | Date: wtorek, 13 grudnia 2016 04:55:44

  • more ./installdeps improvements
  • Allow selecting target for MSYS2 deps.
  • For Arch cross builds, do not run yaourt if all deps are already
  • satisfied.
  • For Mac Homebrew, only install formulae that do not already have some
  • version installed, otherwise if the user has a non-default version (such
  • as --HEAD) the script will error out.

Revision 1527

Author: rafael.kitover | Date: wtorek, 13 grudnia 2016 01:46:14

  • ./installdeps + windows cross build improvements
  • Refactor ./installdeps and add support for mingw-w64 cross builds on
  • Arch Linux. The latter does not work currently because of a bug in
  • libuuid in the mingw-w64 crt, and the wxmsw AUR package does not build.
  • This will hopefully be resolved soon.
  • Put a copy of FindOpenAL.cmake into our own CMakeScripts/ because
  • searching for include files with PATH_SUFFIXES of include/ does not work
  • for cross builds, as it is done in the system version.

Revision 1526

Author: rafael.kitover | Date: niedziela, 11 grudnia 2016 08:41:32

  • generalize ./installdeps + mac pkg mgrs support
  • Add a more general purpose ./installdeps script to replace
  • ./installdeps-msys2 that handles: Debian Linux, Arch Linux, MSYS2+MinGW,
  • Mac Homebrew, MacPorts and Fink for Mac. More OSes and distributions
  • will be added in the future, and the script may be generalized for use
  • in other projects.
  • Move Mac package manager setup code into MacPackageManagers.cmake and
  • greatly improve it. Handles Homebrew, MacPorts and Fink correctly.
  • Minor tweaks for FindSDL2.cmake: better include dir searching that works
  • on cygwin, fix flags for MinGW, and quiet pkg-config program errors.
  • Add MinGW cross-compilation toolchain files, they can be specified on
  • the cmake command line with:
  • -DCMAKE_TOOLCHAIN_FILE=../CMakeScripts/Toolchain-cross-MinGW-w64-i686.cmake
  • or
  • -DCMAKE_TOOLCHAIN_FILE=../CMakeScripts/Toolchain-cross-MinGW-w64-x86_64.cmake
  • these work for Cygwin and should work for MinGW on Linux as well.

Revision 1525

Author: zach.bacon | Date: niedziela, 11 grudnia 2016 01:50:19

  • Merge pull request #52 from Mystro256/master
  • Various fixes

Revision 1524

Author: mystro256 | Date: niedziela, 11 grudnia 2016 01:34:16

  • Use full name for wx appdata

Revision 1523

Author: mystro256 | Date: niedziela, 11 grudnia 2016 01:19:34

  • Fix FSF address information

Revision 1522

Author: mystro256 | Date: niedziela, 11 grudnia 2016 01:05:30

  • Add linux appdata and fixes
  • Desktop files aren't installed for linux by default

Revision 1521

Author: mystro256 | Date: niedziela, 11 grudnia 2016 00:27:18

  • cmake fixes
  • -Whitespace fixes
  • -Binaries installation fixes

Revision 1520

Author: mystro256 | Date: sobota, 10 grudnia 2016 23:56:04

  • Manpage fixes

Revision 1519

Author: mystro256 | Date: sobota, 10 grudnia 2016 05:33:19

  • Forgot two instances of SYSCONF_INSTALL_DIR

Revision 1518

Author: mystro256 | Date: sobota, 10 grudnia 2016 10:12:36

  • Forgot two instances of SYSCONF_INSTALL_DIR

Revision 1517

Author: zach.bacon | Date: sobota, 10 grudnia 2016 10:08:03

  • one file was missed from the last PR, looking at you Mystro256 :P

Revision 1516

Author: rafael.kitover | Date: piątek, 9 grudnia 2016 22:06:59

  • Quartz2D display rendering driver for Mac
  • Implement a Quartz 2D (aka Core Graphics) output renderer for the Wx
  • interface as a subclass of BasicDrawingPanel called
  • Quartz2DDrawingPanel.
  • Split BasicDrawingPanel's DrawArea() into DrawArea() and DrawImage(),
  • with DrawImage() receiving both the wxPaintDC and the wxImage, the
  • wxImage is created with a direct pointer to the frame buffer when
  • possible (24bpp).
  • Implement Quartz2DDrawingPanel in macsupport.mm based on the code here:
  • http://www.cocoabuilder.com/archive/cocoa/309165-how-to-quickly-paint-to-cocoa-view-from-bitmap-in-memory.html
  • and here:
  • http://stackoverflow.com/questions/2261177/cgimage-from-byte-array
  • the GetData() method of wxImage is used to avoid copying the frame
  • buffer.
  • Add RND_QUARTZ2D to the renderers enum and update all config stuff and
  • the XRC to support it. As well as the DrawingPanel instantiation code in
  • GameArea::OnIdle().

Revision 1515

Author: zach.bacon | Date: piątek, 9 grudnia 2016 20:20:13

  • Merge pull request #49 from Mystro256/master
  • Fix DSYSCONF_INSTALL_DIR (SDL)

Revision 1514

Author: jeremy.newton | Date: piątek, 9 grudnia 2016 18:44:11

  • Fix DSYSCONF_INSTALL_DIR
  • I'm not sure if this was changed in cmake recently, but "SYSCONFDIR" is incorrect. It should be SYSCONF_INSTALL_DIR.
  • As well CMAKE_INSTALL_PREFIX refers to /usr or /usr/local in linux, so installing it into ${CMAKE_INSTALL_PREFIX}/${SYSCONFDIR} would be incorrect. I've wrapped it in the existing IF( WIN32 ) to preserve the installation for windows, a window dev should fix that if it's incorrect.

Revision 1513

Author: zach.bacon | Date: sobota, 3 grudnia 2016 15:01:36

  • Added Caelum to the list

Revision 1512

Author: rafael.kitover | Date: poniedziałek, 28 listopada 2016 00:37:24

  • add LTO option, disable on GCC+AMD64+Win32
  • Add ENABLE_LTO cmake option that defaults to ON except on GCC building
  • for AMD64 on Win32.
  • Also set the cmake variables AMD64 or X86_32 when one of these
  • architectures is detected.

Revision 1511

Author: rafael.kitover | Date: środa, 23 listopada 2016 12:56:30

  • rename 'Fullscreen filter' to 'Display filter'
  • Since filters apply to both window and fullscreen mode, rename the
  • config option 'Fullscreen filter' to 'Display filter'.

Revision 1510

Author: rafael.kitover | Date: środa, 23 listopada 2016 12:49:07

  • reorganize display config panel
  • Rename "Advanced" page to "Basic" and move to the first page instead of
  • last.

Revision 1509

Author: rafael.kitover | Date: środa, 23 listopada 2016 12:13:33

  • only use -flto=10 with gcc
  • gcc allows flto= to parallelize linking, clang does not understand
  • this, use just -flto for clang and -flto=10 for gcc.

Revision 1508

Author: rafael.kitover | Date: środa, 23 listopada 2016 12:07:44

  • update mac link script to 1.0
  • This version is roughly twice as fast.

Revision 1507

Author: rafael.kitover | Date: poniedziałek, 21 listopada 2016 22:53:16

  • pass all compile flags to link step
  • This makes -static-libgcc -static-libstdc++ actually work, and is
  • probably better for LTO as well.

Revision 1506

Author: rafael.kitover | Date: poniedziałek, 21 listopada 2016 21:37:21

  • add LTO support, fix libssp link, add -ggdb3 -Og
  • Add support for Link Time Optimization (LTO) on gcc and Clang.
  • Link libssp only when it is on the system, some toolchains like Ubuntu's
  • do not require explicitly linking to libssp. On Win32 try to link it
  • statically.
  • In debug builds with GCC, use -ggdb3 -Og, otherwise use -g .
  • Two new cmake modules were written for this:
  • * FindSSP.cmake -- this is for finding libssp on the system.
  • * UseGCCBinUtilsWrappers.cmake -- this is for using gcc binutils
  • wrappers such as gcc-ar, which is required for gcc LTO to work.
  • These will be distributed separately as well.

Revision 1505

Author: rafael.kitover | Date: niedziela, 20 listopada 2016 20:11:52

  • compile/link flags improvements
  • * Bump minimum cmake required to 3.3.2, to make sure generator
  • expressions work.
  • * Force CMAKE_BUILD_TYPE to "Release" if unset, not sure if this
  • actually works.
  • * Merge the older compile flags block with the new one and use generator
  • expressions to make sure the relevant flags apply only to C, C++ or
  • nasm.
  • * Add -lssp to the end of the link commands for the -fstack-protector*
  • options, this is only needed/done for gcc.
  • * Add -lversion and -limm32 to SDL2_LIBRARY (Zach asked for this.)
  • * Builds on msys2 again!

Revision 1504

Author: rafael.kitover | Date: niedziela, 20 listopada 2016 15:15:27

  • set Zach's CXXFLAGS only on gcc/clang
  • Set the flags Zach gave me only when cmake detects gcc or clang, this
  • way other generators like Visual Studio will still work fine.

Revision 1503

Author: rafael.kitover | Date: niedziela, 20 listopada 2016 14:46:24

  • make ENABLE_SDL default to OFF
  • Default building options now just build the Wx port.
  • Also set +x on ./installdeps-msys2 .

Revision 1502

Author: zach.bacon | Date: niedziela, 20 listopada 2016 02:43:07

  • Moved all filters into interframe.cpp file, original code by EmporerArthur

Revision 1501

Author: rafael.kitover | Date: niedziela, 20 listopada 2016 02:13:49

  • clean up APPLE block in main CMakeLists.txt
  • Remove some redundant nasm-related code and an outdated comment.
  • Objective-C++ code is now separated into an .mm file and nothing is done
  • to change the compiler invocation for it.

Revision 1500

Author: rafael.kitover | Date: niedziela, 20 listopada 2016 02:07:30

  • add some compiler flags
  • These are the flags Zach wanted.
  • They work fine with gcc and clang, will test what happens with msvc as
  • well.

Revision 1499

Author: rafael.kitover | Date: piątek, 18 listopada 2016 18:08:09

  • update to latest version of bin2c.c
  • I maintain it here:
  • https://github.com/rkitover/bin2c
  • In terms of functionality, this version is pretty much the same as the
  • original, just nicer argument handling, a usage screen, etc.

Revision 1498

Author: rafael.kitover | Date: piątek, 18 listopada 2016 18:04:55

  • fix 32bit build support
  • Make ASM_CORE, ASM_SCALERS and ENABLE_MMX the defaults for 32bit builds
  • on intel hosts (the host can be AMD64, as long as the target is 32bits.)
  • Move mac nasm search into the mac section of the cmake code and stop
  • defaulting to /usr/bin/nasm, this was screwing up the build on msys2.
  • Fix src/filters/2xSaImmx.asm to compile and link correctly.
  • Add nasm to list of mingw deps for ./installdeps-msys2 .
  • Tested that msys2-built Wx binary runs, including with 2xSaI.
  • Keyboard doesn't work yet on msys2 builds, but that's a completely
  • different issue.

Revision 1497

Author: zach.bacon | Date: piątek, 18 listopada 2016 01:29:10

  • Resolves undefined issues, just doesn't fix using libretro... yet.

Revision 1496

Author: zach.bacon | Date: poniedziałek, 14 listopada 2016 21:27:58

  • Merge pull request #41 from rkitover/msys2_build
  • msys2 build improvements

Revision 1495

Author: rafael.kitover | Date: poniedziałek, 14 listopada 2016 19:56:50

  • msys2 build improvements
  • * Enable ffmpeg by default only on linux and msys2, it will be disabled
  • for normal windows builds and on mac.
  • * Set SFML_STATIC_LIBRARIES only for normal non-msys2 windows builds,
  • because msys2 does not currently have static versions of the SFML
  • sub-libraries, e.g. system, network, etc.. Dynamic linking works fine
  • for now.
  • * Fix quoting for -DLOCALEDIR, on windows spaces were causing errors in
  • make on msys2.
  • * Update to upstream FindSFML.cmake .
  • * Add an ./installdeps-msys2 script to install all necessary tools and
  • libraries on msys2 for building both 64 and 32 bit windows Wx binaries.
  • * Add the dependencies/mingw-xaudio/include directory to
  • INCLUDE_DIRECTORIES so that XAudio compiles on msys2, as mingw-w64 does
  • not currently have XAudio headers. Also check that the user pulled the
  • git submodule in the process (the ./installdeps-msys2 script does this
  • for you.)
  • TODO:
  • * Generalize ./installdeps to work on more platforms.
  • * Make console Wx app in debug mode so that debug prints will work.
  • * Fix game keyboard input for msys2 builds.
  • * Add HiDPI support for Windows.
  • * Fix the -D*DIR defines to have the correct paths on windows.

Revision 1494

Author: zach.bacon | Date: niedziela, 13 listopada 2016 23:48:10

  • Merge pull request #40 from rkitover/bin2c
  • enormous speedup for compiling Wx resources

Revision 1493

Author: rafael.kitover | Date: niedziela, 13 listopada 2016 23:31:34

  • enormous speedup for compiling Wx resources
  • Replace bin2c.cmake script with one written in C and compiled as an
  • intermediate target.
  • The C version is roughly 12000 times faster.
  • On msys2, the cmake version takes 7.5 minutes on this system, while the
  • C version takes 0.037 seconds.

Revision 1492

Author: zach.bacon | Date: czwartek, 10 listopada 2016 13:26:28

  • Merge pull request #39 from atsampson/master
  • SFML is required for link support.

Revision 1491

Author: adam.sampson | Date: czwartek, 10 listopada 2016 12:39:45

  • SFML is required for link support.

Revision 1490

Author: zach.bacon | Date: czwartek, 10 listopada 2016 06:40:22

  • Slow fix of libretro interface

Revision 1489

Author: zach.bacon | Date: wtorek, 8 listopada 2016 15:15:52

  • Fix compiling d3d

Revision 1488

Author: zach.bacon | Date: wtorek, 8 listopada 2016 14:08:36

  • Merge pull request #38 from rkitover/master
  • fix wx GL viewport + build improvements

Revision 1487

Author: rafael.kitover | Date: wtorek, 8 listopada 2016 13:51:26

  • fix wx GL viewport + build improvements
  • Add GetRealPixelClientSize() method to HiDPIAware and implement using
  • wx GetClientSize() in panel.cpp for the generic version, and using
  • convertSizeToBacking: in macsupport.mm .
  • Add an AdjustViewport() method to GLDrawingPanel that sets glViewport()
  • using GetRealPixelClientSize(), and call it for the SIZE event. Debug
  • print the viewport size here instead of in DrawingPanelInit().
  • Build improvements:
  • * default to Cairo off for all platforms, currently libcairo2-dev does
  • not install on Ubuntu
  • * default to ON for ENABLE_LINK and ENABLE_FFMPEG (for game recording),
  • this will allow for more fully-featured default builds
  • * do not set SFML_STATIC_LIBRARIES on Mac because this is currently
  • broken
  • * fix the Mac bundling/linking script to deal with links in dependent
  • libs that already use @rpath (very minor change.)

Revision 1486

Author: christopher.snowhill | Date: poniedziałek, 7 listopada 2016 00:42:29

  • Merge pull request #37 from rkitover/wx_accels_with_modifiers_fix
  • fix wx kbd accels that are game key + modifier

Revision 1485

Author: rafael.kitover | Date: niedziela, 6 listopada 2016 23:48:05

  • fix wx kbd accels that are game key + modifier
  • Pass the keyboard modifiers to process_key_press so that it only
  • registers a game key if the modifiers match. That is, if e.g. ENTER is a
  • game key, then ALT+ENTER gets passed to other Wx controls and does not
  • register as a game key.

Revision 1484

Author: christopher.snowhill | Date: poniedziałek, 7 listopada 2016 00:41:23

  • Merge pull request #36 from rkitover/cmake_xcode_support
  • fix Xcode project generation via cmake

Revision 1483

Author: rafael.kitover | Date: niedziela, 6 listopada 2016 23:09:50

  • fix Xcode project generation via cmake
  • Move Objective-C++ Mac code for Wx into macsupport.mm with stub methods
  • in panel.cpp, and stop compiling all C++ as Objective-C++.
  • cmake -G Xcode # now works fine

Revision 1482

Author: zach.bacon | Date: sobota, 5 listopada 2016 01:42:45

  • Merge pull request #35 from rkitover/todos
  • some TODO entries from me

Revision 1481

Author: rafael.kitover | Date: piątek, 4 listopada 2016 21:43:59

  • some TODO entries from me
  • Some stuff I would like to wrap up from the Mac port and some longer
  • term things as well.

Revision 1480

Author: christopher.snowhill | Date: piątek, 4 listopada 2016 19:59:03

  • Update Cheats.cpp
  • Bounds checking again.

Revision 1479

Author: zach.bacon | Date: piątek, 4 listopada 2016 00:47:00

  • Default to OpenAL and OpenGL on linux

Revision 1478

Author: zach.bacon | Date: czwartek, 3 listopada 2016 19:10:37

  • Merge pull request #34 from rkitover/lion_build
  • Mac OS X 10.7 (Lion) build and runtime support

Revision 1477

Author: rafael.kitover | Date: czwartek, 3 listopada 2016 18:49:13

  • Mac OS X 10.7 (Lion) build and runtime support
  • Make a custom cstdint.h header file that includes if
  • is not available, because the clang 3.x used on Lion does not
  • have it. Change all references to to use it instead.
  • Add missing OpenGL header for older OS X in sdl/SDL.cpp .
  • When calling HiDPI methods, use respondsToSelector: to check if the
  • methods are available first.
  • Fix the bundling/linking script to support multiple copies of the same
  • dylib with different versions. Necessary to include both the Lion system
  • libpng and the brew libpng. Including the system libpng is necessary
  • because it is removed in later versions of OS X.

Revision 1476

Author: christopher.snowhill | Date: czwartek, 3 listopada 2016 05:28:58

  • Update gbCheats.cpp
  • Bounds checking is important.

Revision 1475

Author: christopher.snowhill | Date: czwartek, 3 listopada 2016 03:06:55

  • Merge pull request #33 from rkitover/master
  • fix Mac post-build bundle/link broken in a775cc4

Revision 1474

Author: rafael.kitover | Date: czwartek, 3 listopada 2016 03:05:18

  • fix Mac post-build bundle/link broken in a775cc4
  • Instead of checking if CMAKE_BUILD_TYPE is "Release", check that it is
  • **NOT** "Debug", because by default CMAKE_BUILD_TYPE is empty.

Revision 1473

Author: christopher.snowhill | Date: czwartek, 3 listopada 2016 02:34:32

  • Merge pull request #32 from rkitover/master
  • fix kbd controls on Mac + misc.

Revision 1472

Author: rafael.kitover | Date: czwartek, 3 listopada 2016 02:14:58

  • fix kbd controls on Mac + misc.
  • After creating the drawing panel, call SetFocus() on it and use
  • Connect() to bind keyboard events from it. Add the wxWANTS_CHARS flag to
  • all DrawingArea subclasses so that wxEVT_CHAR_HOOK can be used instead
  • of wxEVT_KEY_DOWN, because it is more general and catches more keys.
  • Change the process_key_press function to return a bool indicating
  • whether a game control is currently pressed or not, this is used in the
  • key events to determine whether the event should be propagated or not.
  • If in a game key, do not propagate the event, otherwise it hits one of
  • the other controls and generates a beep sound.
  • The menu open/closed/highlighted events had to be turned off for Mac,
  • because the menubar is catching all keyboard events for some reason even
  • before they reach the drawing panel event handler. So on Mac the game
  • will not be paused when the menu is being used, this is not really a big
  • deal and can be fixed later.
  • Other improvements:
  • * do not bundle and link dylibs when CMAKE_BUILD_TYPE is not "Release",
  • this makes for quicker debug builds
  • * finally make a generic PaintEv for the DrawingPanel abstract base
  • class using dynamic_cast<> and Bind(), unfortunately this is not wx
  • 2.8 compatible
  • * set the default audio_buffers to 10 instead of 5, this completely or
  • almost completely fixes sound stuttering during normal game play on
  • Mac with OpenAL
  • * spew path info on startup only once

Revision 1471

Author: zach.bacon | Date: sobota, 29 października 2016 03:05:53

  • Merge pull request #31 from rkitover/master
  • Mac build improvements

Revision 1470

Author: rafael.kitover | Date: piątek, 28 października 2016 07:06:06

  • support for fully independent .app build on Mac
  • The resulting Mac wX .app build is now completely independent and
  • redistributable, only needs to be codesigned.
  • Necessary dylibs are bundled and linked in a POST_BUILD step using
  • third_party_libs_tool (included) for which I created a separate repo
  • here as well:
  • http://github.com/rkitover/mac-third-party-libs-tool
  • Turn off Cairo on Mac because it does not work for now.
  • Set RPATH on the executable to @loader_path/../Frameworks, the bundling
  • tool also does this.
  • Update .gitignore for Finder .DS_Store files.
  • TOOD:
  • * write a ./quickbuild for Mac and other platforms such as msys2 and
  • linux

Revision 1469

Author: rafael.kitover | Date: czwartek, 27 października 2016 01:58:21

  • Mac build improvements
  • Move closer to allowing an "out of the box" distributable build for Mac:
  • * fix the icon for the .app
  • * link SDL2 statically, a PR has been sent to the original repo here:
  • https://github.com/tcbrindle/sdl2-cmake-scripts/pull/9
  • * link SFML statically
  • TODO:
  • For a releasable build on OS X, system libs must be linked
  • dynamically while third party libs are linked statically or bundled. The
  • goal is to link them statically.
  • The two remaining libs that need static linking are PNG and wX.
  • For PNG a similar approach to the one used for SDL2 using pkg-config
  • should work fine and be simple to implement.
  • For wX things are more complicated. The default build of wX does not
  • include static libs, I will need to submit a PR for Homebrew to change
  • the default build to include both dynamic and static versions.

Revision 1468

Author: zach.bacon | Date: poniedziałek, 24 października 2016 22:26:07

  • Merge pull request #30 from rkitover/linux_fixes
  • Fix namespace issue, missing parens, missing func

Revision 1467

Author: rafael.kitover | Date: poniedziałek, 24 października 2016 22:12:40

  • fix typo in CMakeLists.txt from 7a7a72f
  • Fix typo in the default cpp flag when CMAKE_BUILD_TYPE is "Release"
  • from `-NDEBUG` to `-DNDEBUG`.

Revision 1466

Author: renato..lond..cerqueira | Date: poniedziałek, 24 października 2016 21:40:43

  • Fix namespace issue, missing parens, missing func

Revision 1465

Author: zach.bacon | Date: poniedziałek, 24 października 2016 20:57:57

  • Merge pull request #29 from rkitover/master
  • fix DisplayConfig panel brkn in 7a7a72f

Revision 1464

Author: rafael.kitover | Date: poniedziałek, 24 października 2016 19:02:44

  • fix DisplayConfig panel brkn in 7a7a72f
  • Change the Scale control in the DisplayConfig dialog from a SpinCtrl to
  • a TextCtrl (for a simple text field) because GenericValidator does not
  • support using a double* with a SpinCtrl.
  • Also force adjustment on minimum size and resize the window when
  • necessary on panel creation, so that when the user sets the value
  • higher, the window size automatically adjusts.

Revision 1463

Author: zach.bacon | Date: niedziela, 23 października 2016 23:05:46

  • Merge pull request #27 from rkitover/master
  • fix backcompat on unix for config brkn in 7a7a72f

Revision 1462

Author: rafael.kitover | Date: niedziela, 23 października 2016 20:38:54

  • simplify DrawingPanel classes w. dynamic_cast<>
  • Use dynamic_cast
  • implement GetWindow() and Delete() so that all concrete classes do not
  • have to duplicate the code.

Revision 1461

Author: rafael.kitover | Date: niedziela, 23 października 2016 02:26:05

  • fix backcompat on unix for config brkn in 7a7a72f
  • Only load config files with the app name set to "visualboyadvance-m" on
  • Windows and Mac, on unix keep the default of "vbam" for now so that
  • users' ~/.vbam directories are found correctly.
  • TODO:
  • * migrate all of this properly to XDG paths on unix, giving users the
  • option to move their config

Revision 1460

Author: zach.bacon | Date: sobota, 22 października 2016 17:04:03

  • Merge pull request #26 from rkitover/mac_hidpi
  • Mac OS X HiDPI fixes + other misc

Revision 1459

Author: rafael.kitover | Date: sobota, 22 października 2016 14:47:27

  • Mac OS X HiDPI fixes + other misc
  • Use a high-res surface on HiDPI (e.g. retina) Macs for the OpenGL
  • renderer, and scale window accordingly. Also fix fullscreen toggle not
  • working in HiDPI mode. And some other stuff.
  • Aside from the .app not being linked statically, the app is now fully
  • functional on Mac and ready to ship.
  • Full change details:
  • * add -DDEBUG or -DNDEBUG based on CMAKE_BUILD_TYPE (-DNDEBUG for
  • Release and -DDEBUG for Debug)
  • * properly search for homebrew/macports/fink directories, and only add
  • them if they exist
  • * fix building with wx debug support, when available
  • * use explicit OpenGL context on Mac too for new versions of wx
  • * add main_frame pointer in GameArea back to MainFrame, and a
  • SetMainFrame(MainFrame* parent) public method to set it in guinit
  • * add full support for reading and writing double value config options
  • (the GUI still needs to be updated for options that can take doubles,
  • such as video_scale)
  • * change video_scale option (Display/Scale) to a double, putting a
  • double value such as 3.6 in the config file works correctly
  • * add a HiDPIAware mixin class for GameArea and DrawingPanel, with the
  • method HiDPIScaleFactor which returns the current window's
  • backingScaleFactor
  • * change the GameArea sizing methods (DelBorder(), AdjustMinSize() and
  • AdjustSize()) to divide the window size by the
  • HiDPIAware::HiDPIScaleFactor so that the window is scaled properly
  • * change GameArea::ShowFullScreen to ignore fullscreen events for a
  • maximized window on Mac, because maximized windows on OS X are
  • actually native fullscreen windows
  • * change scale variables to double from int, and use std::ceil() to
  • round scaled pixel or memory size values
  • * make a default base class DrawingPane::DrawingPanelInit() virtual
  • method, call by all concrete class constructors based on the did_init
  • flag
  • * call setWantsBestResolutionOpenGLSurface:YES on the view backing the
  • wxGLCanvas for the OpenGL renderer (GLDrawingPanel) to get a high res
  • OpenGL surface in HiDPI mode
  • * remove GLDrawingPanel::OnSize event, the OpenGL viewport resizes
  • automatically without the need to call glViewport()
  • * do not hide the mouse pointer if the main frame has menus or dialogs
  • open
  • * add variadic vbamDebug(const char* format, ...) function, active only
  • #ifdef DEBUG, which sets the wx log target to STDERR and logs a
  • message to it
  • * use full name of app "visualboyadvance-m" instead of "vbam" when
  • getting configuration paths, this way the config is saved to
  • ~/Library/Application Support/visualboyadvance-m rather than
  • ~/Library/Application Support/vbam
  • * listen to the MENU_HIGHLIGHT_ALL event as well, as an extra way to
  • check when the menus are open
  • * add public MainFrame::SetMenusOpened(bool state) method to force the
  • main frame to change the internal menus_opened state, this is
  • necessary because in HiDPI mode on Mac the keyboard accelerator for
  • toggle fullscreen sends a menu open event, but not a menu close event,
  • so on switch to fullscreen the state is changed to menus closed and
  • the emu is unpaused
  • TODO:
  • * GUI option to change toggle fullscreen behavior between native and
  • non-native fullscreen on Mac
  • * GUI support for double config values like Display/Scale
  • * add HiDPI support to simple renderer
  • * fix SDL sound, or disable the option
  • * fix Cairo suport on Mac, or disable the option
  • * use dynamic_cast<> to implement GetWindow() for DrawingPanel instead
  • of pure virtual method, likewise for Delete()
  • * link .app statically by default so it can be shipped
  • * add Homebrew formula

Revision 1458

Author: zach.bacon | Date: wtorek, 18 października 2016 23:35:40

  • Merge pull request #25 from rkitover/master
  • rebind toggle fullscreen on mac

Revision 1457

Author: rafael.kitover | Date: wtorek, 18 października 2016 16:02:47

  • rebind toggle fullscreen on mac
  • On OS X, the F11 key is by default bound to "show desktop", so is a poor
  • choice for the "ToggleFullscreen" accelerator.
  • The default key combo to take apps fullscreen should be Ctrl+Cmd+F
  • according to:
  • https://support.apple.com/kb/PH18744?locale=en_US
  • Fortunately, this was very easy to fix by using the "platform" attribute
  • in MainMenu.xrc .
  • NOTE: this does not give us "real" OS X fullscreen yet, where the app is
  • on its own space, like native fullscreen apps. In the future it would be
  • nice to add an option to do this.

Revision 1456

Author: zach.bacon | Date: sobota, 24 września 2016 04:16:07

  • Merge pull request #24 from rkitover/master
  • make OpenGL default render method on OS X

Revision 1455

Author: rafael.kitover | Date: czwartek, 22 września 2016 20:00:47

  • make OpenGL default render method on OS X
  • Currently the "simple" render method is way too slow on OS X, while
  • Cairo is completely broken. The OpenGL renderer, on the other hand, runs
  • with almost no stuttering.
  • Also fix dangling icon file after OS X build.

Revision 1454

Author: zach.bacon | Date: środa, 21 września 2016 02:38:38

  • Merge pull request #23 from rkitover/master
  • improve OpenAL support on Mac and make it default

Revision 1453

Author: rafael.kitover | Date: wtorek, 20 września 2016 14:24:25

  • improve OpenAL support on Mac and make it default
  • Fix the dynamic library path for OpenAL to the framework included with
  • OS X.
  • Make option initialization set the AudioAPI to OpenAL on mac by default,
  • since SDL sound is currently completely broken.
  • There is a lot of stuttering, will have to look at that next.

Revision 1451

Author: zach.bacon | Date: piątek, 9 września 2016 12:59:28

  • Merge pull request #22 from kookerus/PR
  • Added cast to uint8

Revision 1450

Author: taylor.rose | Date: piątek, 9 września 2016 00:08:23

  • Added cast to uint8

Revision 1449

Author: zach.bacon | Date: piątek, 9 września 2016 12:59:04

  • Merge pull request #21 from sundhaug92/master
  • GDB: Range-checking for 'p' and 'P' ops

Revision 1448

Author: martin.sundhaug | Date: czwartek, 8 września 2016 00:49:54

  • Merge https://github.com/visualboyadvance-m/visualboyadvance-m

Revision 1447

Author: zach.bacon | Date: sobota, 3 września 2016 23:23:48

  • Merge pull request #20 from sundhaug92/patch-1
  • Fix: Typo in GDB implementation

Revision 1446

Author: martin.sundhaug | Date: sobota, 3 września 2016 22:39:55

  • Fix: Typo in GDB implementation

Revision 1445

Author: zach.bacon | Date: sobota, 3 września 2016 23:07:30

  • Fix some compile issues and desktop launcher issues

Revision 1444

Author: martin.sundhaug | Date: czwartek, 8 września 2016 00:29:57

  • GDB: Range check register in remoteReadRegister and remoteWriteRegister

Revision 1443

Author: zach.bacon | Date: wtorek, 9 sierpnia 2016 16:12:13

  • Merge pull request #19 from jayands/master
  • Fix for T2

Revision 1442

Author: jonathan.sifuentes | Date: wtorek, 9 sierpnia 2016 04:23:08

  • Fix for T2
  • see: http://dev.vba-m.com/T2
  • > Every time I launch a server it defaults to the locahost IP instead of my
  • > actual IP. This is preventing me from linking with friends over Hamachi. When
  • > they enter my IP it errors on their end and they cannot connect. [report taken
  • > from
  • Also, by chance, added the build folder to `.gitignore` so as to not pollute the
  • git repo. I meant to do them as separate commits, but I forgot to do so.
  • Signed-off-by: Jonathan Sifuentes

Revision 1441

Author: zach.bacon | Date: poniedziałek, 8 sierpnia 2016 23:20:38

  • Merge pull request #18 from jayands/master
  • Small change: make `.clang-format` use C++11 Standard

Revision 1440

Author: jonathan.sifuentes | Date: poniedziałek, 8 sierpnia 2016 22:42:19

  • Small change: make `.clang-format` use C++11 Standard
  • I noticed this very small discrepancy, and so I changed it. The `CMakeLists` is
  • already using C++11 standard, but the `.clang-format` was not.
  • Signed-off-by: Jonathan Sifuentes

Revision 1439

Author: zach.bacon | Date: poniedziałek, 1 sierpnia 2016 01:55:24

  • Some formating things

Revision 1438

Author: zach.bacon | Date: poniedziałek, 1 sierpnia 2016 01:52:56

  • Some formating and markdown changes (fingers crossed)

Revision 1437

Author: zach.bacon | Date: niedziela, 31 lipca 2016 15:30:16

  • This should fix the update issue, I'll release a test binary soon.

Revision 1436

Author: zach.bacon | Date: niedziela, 31 lipca 2016 15:13:14

  • Minor compile issue, should be pretty much the last of it, next is the update check.

Revision 1435

Author: zach.bacon | Date: niedziela, 31 lipca 2016 14:20:46

  • Merge pull request #16 from EoD/fix-linux-build
  • Fix various Linux build issues

Revision 1434

Author: eod | Date: niedziela, 31 lipca 2016 00:11:21

  • Fix SDL.h includes
  • See comment in FindSDL2.cmake:
  • Note that the header path has changed from SDL2/SDL.h to just SDL.h
  • This needed to change because "proper" SDL convention
  • is #include "SDL.h", not . This is done for portability
  • reasons because not all systems place things in SDL2/ (see FreeBSD).

Revision 1433

Author: eod | Date: sobota, 30 lipca 2016 23:56:33

  • Add missing OpenGL header
  • Fixes an issue with GLuint not defined

Revision 1432

Author: eod | Date: sobota, 30 lipca 2016 23:56:17

  • Add missing wxWidget includes

Revision 1431

Author: eod | Date: sobota, 30 lipca 2016 23:55:57

  • Fixes build issue if VERSION has not been defined

Revision 1430

Author: eod | Date: sobota, 30 lipca 2016 23:55:00

  • Fixes memgzio with zlib > 1.2.3.8

Revision 1429

Author: eod | Date: sobota, 30 lipca 2016 23:53:39

  • Update 7z code to SDK 9.22
  • This fixes some Linux compile errors

Revision 1428

Author: zach.bacon | Date: niedziela, 31 lipca 2016 14:18:16

  • Merge pull request #17 from EoD/fix-cmake-for-linux-build
  • Set requirement to C++11 in cmake

Revision 1427

Author: eod | Date: niedziela, 31 lipca 2016 01:03:40

  • Add C++11 in cmake as default
  • Currently, the build is broken on Linux as fixed width integers (for
  • example uint32) are used via without a namespace. This is only
  • allowed in C++11 and later.
  • See http://en.cppreference.com/w/cpp/types/integer for details.

Revision 1426

Author: zach.bacon | Date: sobota, 30 lipca 2016 02:47:14

  • Merge pull request #15 from ElementW/typemess
  • Remove typedef'd standard int types

Revision 1425

Author: dorian.wouters | Date: piątek, 29 lipca 2016 11:07:11

  • Kill common/Types.h, replace its old typedefs w/ standard types
  • Fix includes in files using standard int types
  • Fix wxWidgets UI includes
  • Silence some unused variable warnings in GBA-arm.cpp macros

Revision 1424

Author: dorian.wouters | Date: piątek, 29 lipca 2016 09:45:38

  • Fix standard int types, prefix gb {C,H,N,Z}_FLAG with GB_

Revision 1423

Author: zach.bacon | Date: sobota, 23 lipca 2016 15:32:49

  • Gba inline fixed up, will try and get things done during the weekend

Revision 1422

Author: zach.bacon | Date: sobota, 23 lipca 2016 14:10:45

  • You must be getting tired of this. I know I am.

Revision 1421

Author: zach.bacon | Date: sobota, 23 lipca 2016 13:59:34

  • Added a todo list

Revision 1420

Author: zach.bacon | Date: sobota, 23 lipca 2016 04:09:17

  • Merge pull request #13 from SwooshyCueb/pr-4
  • Fix a casting error in GCC 6

Revision 1419

Author: markus.kitsinger..swooshycueb. | Date: czwartek, 21 lipca 2016 20:27:18

  • Fix a casting error in GCC 6

Revision 1418

Author: zach.bacon | Date: sobota, 23 lipca 2016 04:09:07

  • Merge pull request #14 from MrJman006/patch-1
  • Fixing U16 and U8 Parameter Types

Revision 1417

Author: mrjman006 | Date: piątek, 22 lipca 2016 04:01:49

  • Fixing U16 and U8 Parameter Types
  • It seems like most of the types are moving to fixed width integer types and this file wasn't fully converted.

Revision 1416

Author: zach.bacon | Date: niedziela, 10 lipca 2016 04:08:20

  • Expect more of these type of messages till all is done

Revision 1415

Author: zach.bacon | Date: niedziela, 10 lipca 2016 03:38:43

  • I could go on, but really this is just more typedef removal

Revision 1414

Author: zach.bacon | Date: sobota, 9 lipca 2016 23:34:55

  • Eeprom is done

Revision 1413

Author: zach.bacon | Date: sobota, 9 lipca 2016 23:24:11

  • finished the cheat files

Revision 1412

Author: zach.bacon | Date: sobota, 9 lipca 2016 21:42:30

  • holy shit these shortcuts, there's no end to this is there?

Revision 1411

Author: zach.bacon | Date: sobota, 9 lipca 2016 20:39:27

  • bios.cpp done, still a bit to go for the cores

Revision 1410

Author: zach.bacon | Date: sobota, 9 lipca 2016 17:41:31

  • gb folder is done, next up gba, once this is all up I'm going to look at enhancing the cores

Revision 1409

Author: zach.bacon | Date: sobota, 9 lipca 2016 16:13:54

  • more and more formating issues, I keep doing it in parts for my own reasons

Revision 1408

Author: zach.bacon | Date: sobota, 9 lipca 2016 15:53:13

  • some more formating things etc

Revision 1407

Author: zach.bacon | Date: sobota, 9 lipca 2016 15:24:19

  • More changes being made, you'll know when it's over.

Revision 1406

Author: zach.bacon | Date: sobota, 9 lipca 2016 03:39:29

  • Finished updating common, next up gb folder

Revision 1405

Author: zach.bacon | Date: sobota, 9 lipca 2016 02:57:21

  • More changes, things may break until it's done so be advised, git is a moving target

Revision 1404

Author: zach.bacon | Date: sobota, 9 lipca 2016 02:46:04

  • we are 2016, let's get with the times

Revision 1403

Author: zach.bacon | Date: sobota, 9 lipca 2016 01:59:29

  • updated standards to webkit standard

Revision 1402

Author: zach.bacon | Date: sobota, 9 lipca 2016 01:39:58

  • add a .clang-format file to help code formating

Revision 1401

Author: doctorwho11 | Date: niedziela, 3 lipca 2016 23:16:29

  • Merge pull request #12 from andychase/patch-1
  • Edit sdlStateName, fixing SDL states on a Mac

Revision 1400

Author: andy.chase | Date: sobota, 25 czerwca 2016 10:30:34

  • Edit sdlStateName, fixing SDL states on a Mac
  • Previously this function returned true for `if(saveDir)` when `saveDir` was simply a zero length string following a branch that returned `/` which doesn't work when the user isn't a root user.

Revision 1399

Author: doctorwho11 | Date: piątek, 10 czerwca 2016 03:42:01

  • Merge pull request #11 from SwooshyCueb/pr-2
  • Add some header and resource files to CMakeLists.txts (Core+WX)

Revision 1398

Author: markus.kitsinger..swooshycueb. | Date: wtorek, 7 czerwca 2016 22:26:53

  • Add some header and resource files to CMakeLists.txts (Core+WX)
  • This makes these files show up in generated CodeBlocks projects, which
  • makes life easier for folks who import into QtCreator.

Revision 1397

Author: doctorwho11 | Date: piątek, 29 kwietnia 2016 18:44:43

  • Merge pull request #10 from SwooshyCueb/master
  • Kludges for ffmpeg 3.0

Revision 1396

Author: markus.kitsinger..swooshycueb. | Date: środa, 27 kwietnia 2016 04:50:57

  • Nonfunctional (but compiler-friendly) kludge for video recording with ffmpeg 3.0

Revision 1395

Author: markus.kitsinger..swooshycueb. | Date: środa, 27 kwietnia 2016 04:45:52

  • Some encoders don't like s16

Revision 1394

Author: markus.kitsinger..swooshycueb. | Date: środa, 27 kwietnia 2016 04:41:30

  • Kludge for audio recording with ffmpeg 3.0

Revision 1393

Author: markus.kitsinger..swooshycueb. | Date: środa, 27 kwietnia 2016 04:32:38

  • Add some defines for ffmpeg 3.0 compatibility

Revision 1392

Author: zach.bacon | Date: niedziela, 21 lutego 2016 00:44:49

  • Minor build fixes cxx11 related

Revision 1391

Author: zach.bacon | Date: niedziela, 13 grudnia 2015 05:23:34

  • Finish committing the remaining gtk3 patch (wip)

Revision 1390

Author: zach.bacon | Date: czwartek, 19 listopada 2015 03:34:38

  • Migration to SDL2 made possible by galtgendo, gtk changes to follow.

Revision 1389

Author: doctorwho11 | Date: środa, 18 listopada 2015 14:26:10

  • Merge pull request #9 from rkitover/master
  • more minor improvements for OS X build

Revision 1388

Author: rafael.kitover | Date: wtorek, 17 listopada 2015 03:56:23

  • more minor improvements for OS X build
  • Add Homebrew and MacPorts paths for findings headers and libraries.
  • Add -x objective-c++ to the C++ compile command so that conditionally
  • compiled ObjectiveC code for OS X can be supported.
  • Throw a fatal error if the user tries to enable ENABLE_ASM_CORE,
  • ENABLE_ASM_SCALERS or ENABLE_MMX on AMD64, as this is not supported yet.
  • If ENABLE_ASM_SCALERS is enabled, try to find a Homebrew or MacPorts
  • nasm before using the outdated XCode nasm.
  • For the future, if the user has only the old XCode nasm which does not
  • support 64 bit objects and the build is 64 bit, throw a fatal error.
  • For 32 bit builds with the old XCode nasm, use -f macho instead of -f
  • macho32, which is used if the version of nasm is > 2.0 .
  • Pass -DMACHO instead of -DELF and, on AMD64 (for the future) -D__AMD64__
  • for nasm on OS X.
  • Pass -D__AMD64__ to C++ compilation as well on AMD64, this will help
  • when we support AMD64 inline assembly.
  • Add support for automatically linking Homebrew keg-only gettext from
  • /usr/local/opt/gettext for ENABLE_NLS.
  • Fix copying Info.plist and vbam.icns to the .app bundle.
  • Add a key to the Info.plist to support sharp text on retina displays, as
  • per:
  • https://wiki.wxwidgets.org/WxMac-specific_topics#Retina_display_support
  • Set wxWidgets_USE_DEBUG to ON if CMAKE_BUILD_TYPE is "Debug". I'm not
  • sure this does anything or if I'm doing this correctly though.
  • Also set wxWidgets_USE_UNICODE to ON. Again, I'm not sure this does
  • anything or is in the right place.
  • Fix a bug in the config dir finding code in
  • wxvbamApp::GetConfigurationPath() updated in 8b8f2f7 to only use the
  • more top level dirs if there is a vbam.ini in them, not if they are
  • writable as well, and use the reverse order (starting with user local
  • dirs) to check for writable dirs and their writable parents. This fixes
  • a problem with the vbam.ini being written to the Plugins directory of
  • the .app bundle if it's writable instead of ~/Library/Application
  • Support/vbam as was intended.

Revision 1387

Author: doctorwho11 | Date: poniedziałek, 9 listopada 2015 21:39:04

  • Merge pull request #8 from rkitover/master
  • fix configuration directory on OSX

Revision 1386

Author: rafael.kitover | Date: poniedziałek, 9 listopada 2015 08:11:18

  • fix configuration directory on OSX
  • Write vbam.ini to ~/Library/Application Support/vbam on OSX.
  • Do not create ~/.vbam on OSX in common/ConfigManager.cpp .
  • Make get_config_path and wxvbamApp::GetConfigurationPath return
  • directories with a writable parent in reverse search order when no
  • writable directories in the current search order are available since the
  • directory is created in OnInit.
  • This prefers to create the user-local directory and write the vbam.ini
  • there.

Revision 1385

Author: doctorwho11 | Date: sobota, 24 października 2015 04:21:39

  • Actually display the commit version. However may shorten it since it displays the full string.

Revision 1384

Author: skidau | Date: sobota, 17 października 2015 01:40:53

  • Merge pull request #7 from skidau/HLE-BIOS-SndDriver-PhantasyStarColl
  • HLE BIOS functions for sound driver

Revision 1383

Author: skidau | Date: sobota, 17 października 2015 01:39:09

  • This patch adds those missing HLE BIOS functions for sound driver: https://sourceforge.net/p/vbam/bugs/24/
  • It is utilized by Phantasy Star Collection at intro. I don't know any other games using this BIOS driver, so I just implemented the parts that Phantasy Star Collection uses.
  • This patch is far away from perfect yet. Sound quality is not the same as with original BIOS. Also code is horrible to read, since I just kept translating arm instructions to C without thinking too much. Got it done quickly so if anyone has keen interest on continuing from here.
  • Patch by Juha Laukkanen

Revision 1382

Author: doctorwho11 | Date: środa, 30 września 2015 05:49:15

  • This should fix the issue of when users on linux run the install command and make not finding the proper binary.

Revision 1380

Author: doctorwho11 | Date: niedziela, 20 września 2015 03:27:30

  • added git ignore

Revision 1379

Author: doctorwho11 | Date: sobota, 19 września 2015 17:58:26

  • added submodule for dependencies.

Revision 1378

Author: doctorwho11 | Date: sobota, 19 września 2015 10:08:13

  • added xbrz 6x support to the wxwidgets interface, will take care of the gtk end shortly.

Revision 1377

Author: doctorwho11 | Date: sobota, 19 września 2015 09:29:32

  • Merge pull request #6 from intact/xbrz-1.4
  • xBRZ 1.4 filter update thanks @intact I'll add the update on the other frontends, however next time try and at least support the other frontends as possible, at least the wxwidgets end of things.

Revision 1376

Author: intact | Date: wtorek, 4 sierpnia 2015 01:37:14

  • xBRZ 1.4 filter update

Revision 1375

Author: skidau | Date: sobota, 11 lipca 2015 02:35:50

  • Merge pull request #5 from skidau/buildfix-0
  • OSX build fix by Juha Laukkanen. This one works with wxWidgets 3.0 and Cairo 1.14.2.

Revision 1374

Author: skidau | Date: sobota, 11 lipca 2015 02:34:27

  • OSX build fix by Juha Laukkanen. This one works with wxWidgets 3.0 and Cairo 1.14.2.

Revision 1373

Author: skidau | Date: poniedziałek, 29 czerwca 2015 15:31:58

  • Merge pull request #4 from skidau/translations-0
  • Translation update https://www.transifex.com/projects/p/vba-m/

Revision 1372

Author: skidau | Date: poniedziałek, 29 czerwca 2015 15:30:33

  • Translation update https://www.transifex.com/projects/p/vba-m/

Revision 1371

Author: skidau | Date: wtorek, 23 czerwca 2015 14:11:12

  • Merge pull request #3 from skidau/GBA-Sound-Filter
  • Fixed the GBA sound filter options which were not getting applied.

Revision 1370

Author: skidau | Date: wtorek, 23 czerwca 2015 14:10:07

  • Fixed the GBA sound filter options which were not getting applied.

Revision 1369

Author: n.a.c.h | Date: wtorek, 16 czerwca 2015 00:59:41

  • Rewrote our array class.

Revision 1340

Author: doctorwho11 | Date: poniedziałek, 15 czerwca 2015 23:46:34

  • moving the deps to it's own repo

Revision 1339

Author: doctorwho11 | Date: poniedziałek, 15 czerwca 2015 15:42:40

  • hopefully this fixes things for cpack

Revision 1338

Author: doctorwho11 | Date: poniedziałek, 15 czerwca 2015 15:20:20

  • make cpack ignore the dep folder

Revision 1337

Author: doctorwho11 | Date: poniedziałek, 15 czerwca 2015 15:00:47

  • rename exe and added more cpack stuff.

Revision 1336

Author: doctorwho11 | Date: poniedziałek, 15 czerwca 2015 14:21:44

  • setting the exe name and git hash

Revision 1335

Author: skidau | Date: poniedziałek, 15 czerwca 2015 13:42:19

  • Merge pull request #2 from skidau/StartInFullscreen
  • Switch to fullscreen after the game starts so that the GUI does not fall over.

Revision 1334

Author: skidau | Date: poniedziałek, 15 czerwca 2015 13:36:11

  • Switch to fullscreen after the game starts so that the GUI does not fall over.

Revision 1333

Author: skidau | Date: sobota, 13 czerwca 2015 02:03:58

  • MFC and SDL build fix

Revision 1332

Author: doctorwho11 | Date: piątek, 12 czerwca 2015 14:56:20

  • Enable Xaudio2 support by default

Revision 1331

Author: doctorwho11 | Date: piątek, 12 czerwca 2015 14:45:19

  • more build fixes

Revision 1330

Author: doctorwho11 | Date: piątek, 12 czerwca 2015 14:39:47

  • yet more changes to git (incomplete)

Revision 1329

Author: doctorwho11 | Date: piątek, 12 czerwca 2015 14:30:54

  • Begone svnrev.h!

Revision 1328

Author: doctorwho11 | Date: piątek, 12 czerwca 2015 14:04:26

  • added git support to cmakelists.txt

Revision 1327

Author: doctorwho11 | Date: piątek, 12 czerwca 2015 13:51:15

  • will need to start changing the version for git

Revision 1326

Author: doctorwho11 | Date: piątek, 12 czerwca 2015 05:19:15

  • fixed some pathing issues

Revision 1325

Author: doctorwho11 | Date: piątek, 12 czerwca 2015 04:15:29

  • Merge branch 'master' of https://github.com/visualboyadvance-m/visualboyadvance-m

Revision 1324

Author: skidau | Date: czwartek, 11 czerwca 2015 03:29:23

  • Merge pull request #1 from skidau/clean-up-dependency-path
  • Clean up and dependency path fixes

Revision 1323

Author: doctorwho11 | Date: piątek, 12 czerwca 2015 04:14:33

  • pathing issues

Revision 1322

Author: skidau | Date: piątek, 12 czerwca 2015 04:13:43

  • just fixed another pathing issue

Revision 1321

Author: skidau | Date: czwartek, 11 czerwca 2015 03:26:35

  • Clean up and dependency path fixes

Revision 1320

Author: doctorwho11 | Date: czwartek, 11 czerwca 2015 02:08:42

  • initial dump of the dependencies into trunk, may look to changing it into a git submodule later.

Revision 1319

Author: skidau | Date: środa, 10 czerwca 2015 08:48:21

  • Readjust the window size if the status bar is hidden.
  • Show the OSD if the status bar is hidden.

Revision 1318

Author: skidau | Date: środa, 10 czerwca 2015 05:11:34

  • Added an option to show/hide the status bar.

Revision 1317

Author: skidau | Date: środa, 10 czerwca 2015 04:06:06

  • Read from svnrev.h on Windows only

Revision 1316

Author: skidau | Date: środa, 10 czerwca 2015 02:12:19

  • Gentoo Linux build fix

Revision 1315

Author: skidau | Date: poniedziałek, 8 czerwca 2015 08:25:19

  • Added an auto-update option (Windows only)

Revision 1314

Author: skidau | Date: piątek, 5 czerwca 2015 15:48:37

  • Added a "Check for updates" option to the Help menu.

Revision 1313

Author: skidau | Date: czwartek, 4 czerwca 2015 04:44:07

  • Fixed the crash that would occur if "Use BIOS file" was selected without a BIOS file specified.

Revision 1312

Author: skidau | Date: środa, 3 czerwca 2015 15:36:54

  • Added portable mode. The emulator will attempt to use portable mode initially. If that fails, it will use the local user directories. The Directories settings now accept relative and absolute paths. Leave the directory blank to use the ROM directory.
  • Changed the logging to print to the status bar as well as the log file.

Revision 1311

Author: skidau | Date: sobota, 30 maja 2015 08:02:23

  • Fixed the joystick mapping getting converted to unicode in the conf file when they should not have been.

Revision 1310

Author: skidau | Date: sobota, 30 maja 2015 00:11:38

  • Fix some lintian warnings. Patch by sergio-br2.

Revision 1309

Author: wowzaman12 | Date: czwartek, 28 maja 2015 17:12:31

  • removed the cmake toolchain file, modified the cmakelists files to include an additional library to properly link with sfml and for linking statically with libgcc and stdc++ libs via mingw

Revision 1308

Author: wowzaman12 | Date: czwartek, 28 maja 2015 16:58:11

  • merp, I goofed up somewhere...

Revision 1307

Author: wowzaman12 | Date: czwartek, 28 maja 2015 16:56:45

  • svn string shouldn't be translatable

Revision 1306

Author: wowzaman12 | Date: czwartek, 28 maja 2015 16:36:05

  • updates to version string for final builds

Revision 1305

Author: wowzaman12 | Date: czwartek, 28 maja 2015 16:23:08

  • Because cross compiling from linux complains about case

Revision 1304

Author: wowzaman12 | Date: czwartek, 28 maja 2015 01:04:20

  • should fix compiling on debian based distros by forcing them to use wxwidgets 3.0

Revision 1303

Author: wowzaman12 | Date: środa, 27 maja 2015 19:55:26

  • Just using this as a test for the buildbot.

Revision 1302

Author: skidau | Date: wtorek, 26 maja 2015 04:09:28

  • Made the dialogs resizeable.

Revision 1301

Author: squall.leonhart | Date: poniedziałek, 25 maja 2015 13:25:14

  • fixes mfc debug build

Revision 1300

Author: skidau | Date: poniedziałek, 25 maja 2015 02:41:50

  • Fixed the Game Boy system type selection not matching what was emulated.

Revision 1299

Author: skidau | Date: niedziela, 24 maja 2015 16:49:28

  • Fixed the save type changing to SRAM on reset, if the game had been overridden to use EEPROM.

Revision 1298

Author: skidau | Date: niedziela, 24 maja 2015 15:30:31

  • Fixed the "Solar Sensor is broken" message that appeared in "Boktai - The Sun Is in Your Hand". Cleaned and formatted the code. Fixed a mistake where the RTC was not getting updated.

Revision 1297

Author: wowzaman12 | Date: sobota, 23 maja 2015 18:11:25

  • added patch from mickdermack, fixes the xml and expat dependencies for wxrc

Revision 1296

Author: skidau | Date: sobota, 23 maja 2015 13:58:29

  • Automatically disabled the OSD if there is a status bar visible.

Revision 1295

Author: skidau | Date: sobota, 23 maja 2015 11:03:11

  • Added the option of using host (PC) time or guest (GBA) time for the RTC. Checking the "Real time clock" option in the menu uses host time otherwise it uses guest time. Using guest time will mean that the clock speeds up or slows down with the speed of emulation.

Revision 1294

Author: skidau | Date: sobota, 23 maja 2015 06:43:42

  • Fixed the battery file not saving after a save state was loaded.

Revision 1293

Author: squall.leonhart | Date: sobota, 23 maja 2015 04:55:05

  • test change for global static linking on msvc builds.

Revision 1292

Author: skidau | Date: sobota, 23 maja 2015 03:56:33

  • Fixed the child windows appearing under the parent window with "Keep window on top" enabled.

Revision 1291

Author: skidau | Date: sobota, 23 maja 2015 03:20:48

  • Relabelled the full screen menu items to be clearer in what they do.

Revision 1290

Author: skidau | Date: sobota, 23 maja 2015 03:01:43

  • Added separate "Open GB" and "Open GBC" menu items.

Revision 1289

Author: squall.leonhart | Date: piątek, 22 maja 2015 17:45:54

  • commit some work in progress on the mfc linker errors

Revision 1288

Author: skidau | Date: piątek, 22 maja 2015 17:11:28

  • Used the battery file size as an indicator of the save type unless overridden.

Revision 1287

Author: squall.leonhart | Date: piątek, 22 maja 2015 13:57:58

  • another potential dependency.

Revision 1286

Author: skidau | Date: piątek, 22 maja 2015 13:05:45

  • Save SRAM battery files as 8KB files.

Revision 1285

Author: squall.leonhart | Date: piątek, 22 maja 2015 12:44:37

  • setup project dependencies

Revision 1284

Author: skidau | Date: piątek, 22 maja 2015 09:05:06

  • Removed the padding from the cheat file when it is saved in CLT format.

Revision 1283

Author: skidau | Date: piątek, 22 maja 2015 07:52:50

  • Fixed another cheat limit check in the GB code.

Revision 1282

Author: skidau | Date: piątek, 22 maja 2015 07:34:05

  • Fixed the cheat list size check for GB games.

Revision 1281

Author: skidau | Date: piątek, 22 maja 2015 03:04:13

  • FreeBSD build fix

Revision 1280

Author: wowzaman12 | Date: czwartek, 21 maja 2015 20:42:02

  • some changes regarding static building via mingw

Revision 1279

Author: skidau | Date: czwartek, 21 maja 2015 15:49:46

  • Added mime types to wxvbam.desktop. Thanks to alucryd and sergio-br2.

Revision 1278

Author: skidau | Date: czwartek, 21 maja 2015 15:31:34

  • Moved the trace.log to the local config directory.

Revision 1277

Author: skidau | Date: czwartek, 21 maja 2015 15:06:15

  • Create the default config path on start-up and renamed the app "vbam" to be consistent with the sdl build.

Revision 1276

Author: skidau | Date: czwartek, 21 maja 2015 14:20:19

  • Changed the app name from wxvbam to VBA-M

Revision 1275

Author: skidau | Date: czwartek, 21 maja 2015 14:16:20

  • Fixed the "scrolled" assertion.

Revision 1274

Author: skidau | Date: czwartek, 21 maja 2015 13:29:31

  • Fixed the crash on boot that would occur with FFMPEG enabled.

Revision 1273

Author: skidau | Date: czwartek, 21 maja 2015 11:56:55

  • GTK build fix

Revision 1272

Author: skidau | Date: czwartek, 21 maja 2015 09:42:14

  • Fixed the cheat list size check.

Revision 1271

Author: skidau | Date: czwartek, 21 maja 2015 02:19:51

  • Updated debian folder to current standard. Thanks to sergio-br2.

Revision 1270

Author: bgk | Date: środa, 20 maja 2015 20:46:54

  • WX: Some strings were mistakenly marked as translatable

Revision 1269

Author: skidau | Date: środa, 20 maja 2015 16:57:58

  • Fixed the crash that would occur if the audio backend is switched before a game is loaded.

Revision 1268

Author: wowzaman12 | Date: środa, 20 maja 2015 16:34:51

  • missed the aboutbox

Revision 1267

Author: wowzaman12 | Date: środa, 20 maja 2015 16:29:53

  • just changed a define to an existing one, when FINAL_VERSION is not defined it'll show svn string and when defined it will not show.

Revision 1266

Author: skidau | Date: środa, 20 maja 2015 16:11:53

  • Resized some of the dialogs. Fixed the Cancel button on the GDB configuration dialog.

Revision 1265

Author: skidau | Date: środa, 20 maja 2015 13:56:59

  • Maintain Windows XP support for the WX and SDL builds.

Revision 1264

Author: skidau | Date: środa, 20 maja 2015 05:56:27

  • Updated the OSX icon and removed the extraneous .app suffix

Revision 1263

Author: skidau | Date: środa, 20 maja 2015 01:17:57

  • Made running the game at normal speed the default set-up. Patch by sergio-br2.

Revision 1262

Author: skidau | Date: wtorek, 19 maja 2015 13:50:56

  • Reset the sound subsystem if the audio backend is changed. Fixed an array out of bounds error in the sound device selection.

Revision 1261

Author: skidau | Date: wtorek, 19 maja 2015 13:01:45

  • Used Sergio Benjamim's icon for the wx build.

Revision 1260

Author: skidau | Date: wtorek, 19 maja 2015 12:07:22

  • Removed the CR's from wxvbam.desktop. Thanks to Sergio Benjamim.

Revision 1259

Author: skidau | Date: poniedziałek, 18 maja 2015 15:52:29

  • Made the configuration dialogs stay on top so that they would not be covered by the main window.

Revision 1258

Author: skidau | Date: poniedziałek, 18 maja 2015 15:11:58

  • Added a "Keep window on top" option.

Revision 1257

Author: skidau | Date: poniedziałek, 18 maja 2015 14:10:07

  • Added version to the About box.

Revision 1256

Author: skidau | Date: poniedziałek, 18 maja 2015 07:37:37

  • Raised the maximum number of cheats allowed from 100 to 16384.

Revision 1255

Author: wowzaman12 | Date: poniedziałek, 18 maja 2015 05:44:19

  • merged sergio's icon patch for additional sizes.

Revision 1254

Author: skidau | Date: poniedziałek, 18 maja 2015 05:35:37

  • Made the Flash save type detection stricter. Made the SRAM detection override the EEPROM detection. Fixes the save type detection for Rockman EXE 4.5 - Real Operation (Japan), Breath of Fire - Ryuu no Senshi (Japan) and maintains the correct detection of the save type for Saibara Rieko no Dendou Mahjong (Japan).
  • Changed the wx save type detection to use the core version.

Revision 1253

Author: wowzaman12 | Date: poniedziałek, 18 maja 2015 05:05:58

  • so that xaudio2 can be enabled

Revision 1252

Author: wowzaman12 | Date: poniedziałek, 18 maja 2015 05:04:34

  • try and get mingw to force static gcc and libc++

Revision 1251

Author: wowzaman12 | Date: poniedziałek, 18 maja 2015 04:41:21

  • You didn't see us change the version to 2.0.0 *waves hands mysteriously*

Revision 1250

Author: skidau | Date: poniedziałek, 18 maja 2015 02:58:16

  • Added rewind feature to GTK version. Patch by Juha Laukkanen.
  • There are two config params:
  • rewind_count_max => how many blocks are reserved maximum, higher value leads to greater memory usage naturally but longer rewind log
  • rewind_interval => default interval is 165ms and higher value leads to more inaccurate rewind but longer rewind log
  • Also fixes memtell() telling incorrect size because data is not flushed.
  • wxWidgets front end having too small buffer for rewinds resulting overflows.

Revision 1249

Author: skidau | Date: poniedziałek, 18 maja 2015 02:28:34

  • Installed man pages on unix-ish platforms. Patch by Mook.

Revision 1248

Author: skidau | Date: poniedziałek, 18 maja 2015 02:26:21

  • Fixed auto-patch extension setting. Patch by Mook.
  • It appears that SetExt() doesn't require a leading period in the extension. This makes auto-loading of ups patches work (at least, for the one I tried).
  • Updated the comment too, for grepablility.

Revision 1247

Author: skidau | Date: poniedziałek, 18 maja 2015 02:23:30

  • Added CHT cheat format parsing and file import.
  • Currently, this is in the wx front-end code. Moving this logic into the core will bring this functionality to all front-ends.

Revision 1246

Author: skidau | Date: sobota, 16 maja 2015 09:48:02

  • Added the Official No-Intro Nintendo Gameboy Advance Number (Date) file for the release numbering.

Revision 1245

Author: skidau | Date: sobota, 16 maja 2015 06:04:09

  • Added a "Update ROM databases" command to the Help menu which downloads and updates the No-Intro dat files.

Revision 1244

Author: skidau | Date: sobota, 16 maja 2015 04:38:41

  • Mirrored the No-Intro GBA dats (2015-04-27)

Revision 1243

Author: skidau | Date: piątek, 15 maja 2015 16:53:52

  • Added GBA ROM information parsed from No-Intro dat files. The No-Intro dats (Standard and Scene) are to be unzipped into the directory where the vbam.ini file is.

Revision 1242

Author: skidau | Date: piątek, 15 maja 2015 04:16:18

  • Added AStyle 2.05.1 to the wx pre-build events and formatted the wx gui code.
  • Options used:
  • --style=allman --indent=tab=4 --align-pointer=type --align-reference=name --break-blocks --pad-oper --pad-header --unpad-paren --delete-empty-lines --break-closing-brackets --keep-one-line-blocks --keep-one-line-statements --convert-tabs --remove-comment-prefix --mode=c

Revision 1241

Author: skidau | Date: czwartek, 14 maja 2015 14:37:15

  • Added project files for the Windows wx gui build. Requires CMake in the path.

Revision 1240

Author: skidau | Date: czwartek, 14 maja 2015 06:23:03

  • Enabled the Game Boy Game Link emulation on Linux builds.

Revision 1239

Author: skidau | Date: czwartek, 14 maja 2015 05:05:25

  • Ported the Game Boy Game Link code to TCP sockets.

Revision 1238

Author: wowzaman12 | Date: czwartek, 14 maja 2015 04:09:58

  • Added spanish translation for wxvbam

Revision 1237

Author: skidau | Date: czwartek, 14 maja 2015 02:47:33

  • Partially untangle the saveTypes. Fixes Pokemon Ruby from freezing on reset.

Revision 1236

Author: wowzaman12 | Date: środa, 13 maja 2015 12:43:29

  • updated spanish translations for gvbam (courtesy of Melerix)

Revision 1235

Author: skidau | Date: wtorek, 12 maja 2015 16:24:17

  • Added a Transifex link in the Help menu.
  • http://www.transifex.com/projects/p/vba-m/

Revision 1234

Author: skidau | Date: wtorek, 12 maja 2015 13:54:50

  • Updated wxvbam.pot file and changed update_pot.sh to pick up split .xrc files

Revision 1233

Author: bgk | Date: wtorek, 12 maja 2015 06:00:03

  • PO: Fix update_pot.sh line endings

Revision 1232

Author: skidau | Date: poniedziałek, 11 maja 2015 09:27:42

  • Fixed an array out of bounds access in the debugger. Fixed a path problem with the wx vbam xpm icon. Patch by Mook.

Revision 1231

Author: skidau | Date: poniedziałek, 11 maja 2015 09:21:02

  • Fixed the throttle selection on the SDL and XAudio2 backends. On the other backends, the throttle is a switch (selects between no throttle and throttling at 100% speed). Sync game to audio is now always enabled and the menu option has been removed.

Revision 1230

Author: wowzaman12 | Date: poniedziałek, 11 maja 2015 01:00:56

  • Good catch from Mook on irc. Thanks man.

Revision 1229

Author: wowzaman12 | Date: poniedziałek, 11 maja 2015 00:54:19

  • Fixed cmake to use find the proper xpm file in the xrc folder, also made the vbam core and fex library static to help with building on some platforms.

Revision 1228

Author: skidau | Date: niedziela, 10 maja 2015 08:46:29

  • Sorted the array of opts so that none of the options get invalidated by the option loader. Fixes the audio volume option which was not getting loaded from the ini.

Revision 1227

Author: skidau | Date: niedziela, 10 maja 2015 06:27:13

  • Updated the .po files and fixed the icon path in the wx CMakeLists.txt

Revision 1226

Author: skidau | Date: niedziela, 10 maja 2015 05:40:13

  • Removed the .po files from the repository as they are generated files.

Revision 1225

Author: wowzaman12 | Date: niedziela, 10 maja 2015 04:41:14

  • added skidau and myself to the about dialog

Revision 1224

Author: wowzaman12 | Date: niedziela, 10 maja 2015 04:35:55

  • make it load the xpm icon instead, solves the iCCP profile issue

Revision 1223

Author: wowzaman12 | Date: niedziela, 10 maja 2015 00:12:18

  • updated pot files, will need to update translations as well.

Revision 1222

Author: skidau | Date: sobota, 9 maja 2015 16:09:29

  • Removed an extraneous include and added a SDL build check in the CMakeLists.txt

Revision 1221

Author: skidau | Date: sobota, 9 maja 2015 14:32:42

  • Combined the GBA and GB frameskip settings to go under Video Options.

Revision 1220

Author: skidau | Date: piątek, 8 maja 2015 16:39:54

  • Removed the GBA washed colors option as it did not do anything.
  • Removed the broken full screen resolution selection.
  • Added some separators in the menu.
  • Fixed a path problem in the wx CMakeLists.txt

Revision 1219

Author: skidau | Date: piątek, 8 maja 2015 10:25:54

  • Fixed the wx CMakeLists.txt so that it can be built from a directory other than trunk

Revision 1218

Author: skidau | Date: piątek, 8 maja 2015 09:18:31

  • Relabelled the AGP Printer to Debug print

Revision 1217

Author: skidau | Date: piątek, 8 maja 2015 07:06:13

  • Fixed the battery saving in Pokemon FireRed

Revision 1216

Author: skidau | Date: piątek, 8 maja 2015 03:44:13

  • Updated copyright year

Revision 1215

Author: skidau | Date: piątek, 8 maja 2015 03:26:21

  • Hooked up the GB Printer option in the wx menu

Revision 1214

Author: skidau | Date: czwartek, 7 maja 2015 23:29:54

  • Changed svnrev.h to version.h to fix the build on linux

Revision 1213

Author: skidau | Date: czwartek, 7 maja 2015 16:45:25

  • Hooked up the GBA tilt sensor to the wx gui

Revision 1212

Author: skidau | Date: czwartek, 7 maja 2015 07:24:56

  • Added SDL2 (2.0.3) as a future dependency

Revision 1211

Author: skidau | Date: środa, 6 maja 2015 15:40:03

  • Fixed the SDL Joystick Hat diagonals in the wx gui

Revision 1210

Author: skidau | Date: środa, 6 maja 2015 14:04:21

  • Fixed the GB and GBC BIOS options.
  • Moved the Skip BIOS option to the Emulation menu.

Revision 1209

Author: skidau | Date: środa, 6 maja 2015 12:38:10

  • Moved the Load State and Save State menus to the File menu.
  • Removed the "Welcome to wxVBAM!" status message.

Revision 1208

Author: skidau | Date: środa, 6 maja 2015 12:10:04

  • Fixed the "Could not set current working directory" log that would appear on boot when there was no xrc sub-directory present.

Revision 1207

Author: skidau | Date: środa, 6 maja 2015 11:43:09

  • Made EEPROM and SRAM save type detection override the general FLASH 64KB detection. Fixes the save auto-detect of Saibara Rieko no Dendou Mahjong.

Revision 1206

Author: skidau | Date: środa, 6 maja 2015 09:49:45

  • Removed the "Searching for directory" logging as they were spamming the logs

Revision 1205

Author: skidau | Date: środa, 6 maja 2015 09:45:56

  • Changed the range of the flashSize to be 0 to 1

Revision 1204

Author: skidau | Date: środa, 6 maja 2015 09:21:27

  • Fixed the typos in the .desktop files

Revision 1203

Author: skidau | Date: środa, 6 maja 2015 03:27:09

  • Updated the FindSFML cmake script to the SFML-2.2 version

Revision 1202

Author: skidau | Date: wtorek, 5 maja 2015 15:37:56

  • NO_LINK wx build fixes

Revision 1201

Author: skidau | Date: poniedziałek, 4 maja 2015 16:04:26

  • Added the icon and rearranged the GB menu

Revision 1200

Author: skidau | Date: poniedziałek, 4 maja 2015 15:45:52

  • Removed most of the checkboxes from the dialogs.
  • Replaced wxvbam.xrc with the individual xrc files.

Revision 1199

Author: skidau | Date: poniedziałek, 4 maja 2015 08:37:34

  • First cut of the rearranged wx gui menu to be more like the MFC menu

Revision 1198

Author: skidau | Date: niedziela, 3 maja 2015 09:44:58

  • Changed the core enum options to ints to make them consistent with the MFC gui; allowing the ini file to be shared between the two gui's.

Revision 1197

Author: skidau | Date: sobota, 2 maja 2015 17:35:42

  • Created a NO$GBA style OAM Viewer for the wx gui

Revision 1196

Author: skidau | Date: piątek, 1 maja 2015 17:15:32

  • Moved the link functions to their own menu

Revision 1195

Author: skidau | Date: piątek, 1 maja 2015 15:27:07

  • Round up the rom size to the nearest power of two before mirroring.

Revision 1194

Author: skidau | Date: piątek, 1 maja 2015 03:08:57

  • Converted the update_check macros to functions

Revision 1193

Author: skidau | Date: czwartek, 30 kwietnia 2015 14:33:12

  • Added a separately configured directory for Game Boy Color games

Revision 1192

Author: skidau | Date: czwartek, 30 kwietnia 2015 12:35:04

  • Made the wx GDB menus consistent with the MFC version.

Revision 1191

Author: skidau | Date: czwartek, 30 kwietnia 2015 06:10:00

  • Added the e-Reader Load/Save commands to the wx gui menu.

Revision 1190

Author: skidau | Date: czwartek, 30 kwietnia 2015 02:30:07

  • Default the Open dialog to the directory of the currently emulated system. Made opening "Archives" the default in the File Dialog.

Revision 1189

Author: wowzaman12 | Date: środa, 29 kwietnia 2015 22:41:04

  • and I forgot the semi-colon...

Revision 1188

Author: wowzaman12 | Date: środa, 29 kwietnia 2015 22:36:40

  • removed a useless buffer (backported from bgk changes on his github repo)

Revision 1187

Author: skidau | Date: środa, 29 kwietnia 2015 15:48:04

  • Copied the checkbox options from the dialogs into a temporary menu, Configure.

Revision 1186

Author: skidau | Date: środa, 29 kwietnia 2015 03:30:31

  • Added the SVN rev to the window title. Used GBA resolution as the default window size.

Revision 1185

Author: wowzaman12 | Date: wtorek, 28 kwietnia 2015 16:53:26

  • wxvbam prefers gnu++11 rather than c++11, should fix compiling on mingw.

Revision 1184

Author: wowzaman12 | Date: wtorek, 28 kwietnia 2015 15:32:25

  • wxvbam.xrc was missed in regards to xbrz filter support.

Revision 1183

Author: skidau | Date: wtorek, 28 kwietnia 2015 14:19:15

  • Fixed the HQ3x and HQ4x filters by forcing 32bit output. Hooked up the zBRZ filter in the wx build.

Revision 1182

Author: skidau | Date: wtorek, 28 kwietnia 2015 12:23:54

  • Fixed some of the filters in the wx build. Disabled multi-threaded filtering.

Revision 1181

Author: skidau | Date: wtorek, 28 kwietnia 2015 06:15:26

  • Rearranged the preferences alphabetically and a few other config fixes.

Revision 1180

Author: wowzaman12 | Date: wtorek, 28 kwietnia 2015 03:00:19

  • fix include for dsound.cpp

Revision 1179

Author: skidau | Date: wtorek, 28 kwietnia 2015 00:56:45

  • Missed TileViewer.xrc from the last commit

Revision 1178

Author: skidau | Date: poniedziałek, 27 kwietnia 2015 12:53:18

  • Split out and optionally load the xrc files if they are found in a "xrc" sub-directory. Changed the PropertySheetDialogs to NoteBooks in the split xrc files.

Revision 1177

Author: skidau | Date: poniedziałek, 27 kwietnia 2015 10:32:03

  • Moved the core parameters from the wx gui to ConfigManager

Revision 1176

Author: skidau | Date: czwartek, 23 kwietnia 2015 15:56:22

  • Fixed the throttle in the wx build

Revision 1175

Author: skidau | Date: czwartek, 23 kwietnia 2015 12:00:14

  • Build fix for wx2.x

Revision 1174

Author: skidau | Date: środa, 22 kwietnia 2015 15:54:27

  • Fixed the wxDialogs on wx3.0.2 due to a change in behaviour with FindWindow.

Revision 1173

Author: skidau | Date: środa, 22 kwietnia 2015 02:02:29

  • Initial changes for compiling the wx build under Visual Studio

Revision 1172

Author: skidau | Date: poniedziałek, 20 kwietnia 2015 12:28:01

  • Cleaned up the loading of the config file (vbam.ini)

Revision 1171

Author: skidau | Date: poniedziałek, 20 kwietnia 2015 00:07:49

  • Fixed the throttle menu option

Revision 1170

Author: skidau | Date: niedziela, 19 kwietnia 2015 16:13:37

  • Switched the VS solution over to the runtime DLL

Revision 1169

Author: skidau | Date: niedziela, 19 kwietnia 2015 12:13:53

  • Fixed the debug printf feature in the case where a debugger is not attached.

Revision 1168

Author: skidau | Date: niedziela, 19 kwietnia 2015 11:54:14

  • Fixed the crash that would occur if vbam.ini and vbam.cfg are not found

Revision 1167

Author: skidau | Date: niedziela, 19 kwietnia 2015 09:41:27

  • Missed this change in r1349

Revision 1166

Author: skidau | Date: niedziela, 19 kwietnia 2015 09:01:41

  • Re-enabled the debugger in the command line version (SDL)

Revision 1165

Author: skidau | Date: sobota, 18 kwietnia 2015 17:35:46

  • Added a command line option to load e-Reader dotcode files

Revision 1164

Author: skidau | Date: sobota, 18 kwietnia 2015 16:52:58

  • Separate the configured saveType from the runtime saveType

Revision 1163

Author: skidau | Date: sobota, 18 kwietnia 2015 16:28:38

  • Fixed the global saveType from getting clobbered.

Revision 1162

Author: skidau | Date: sobota, 18 kwietnia 2015 08:53:55

  • Created a common configuration system.

Revision 1161

Author: squall.leonhart | Date: czwartek, 16 kwietnia 2015 13:59:40

  • use openal-soft lib/headers instead of the Creative 1.1 sdk.
  • This precludes an attempt to compile the soft_oal code into the emulator.

Revision 1160

Author: skidau | Date: środa, 15 kwietnia 2015 15:13:07

  • Split off the MFC code into its own project.
  • Added a command line project based on SDL.
  • Added getopt from MinGW.
  • Added SDL 1.2.15 to the dependencies.
  • Rearranged the OutDir and IntDir to Binary and Build folders.

Revision 1159

Author: wowzaman12 | Date: wtorek, 14 kwietnia 2015 14:22:07

  • just added ereader.cpp to the mix.

Revision 1158

Author: wowzaman12 | Date: wtorek, 14 kwietnia 2015 13:33:28

  • Just a libretro build fix, next is to hookup the ereader stuff.

Revision 1157

Author: skidau | Date: wtorek, 14 kwietnia 2015 13:29:23

  • Linux build fix

Revision 1156

Author: squall.leonhart | Date: wtorek, 14 kwietnia 2015 12:59:03

  • silence some warnings.

Revision 1155

Author: skidau | Date: wtorek, 14 kwietnia 2015 12:39:21

  • Updated libretro to c0449e2c75650325aed7e7495a41f166d9ec0e7a (11/03/2015 7:03:18AM)
  • https://github.com/libretro/vbam-libretro/commit/c0449e2c75650325aed7e7495a41f166d9ec0e7a

Revision 1154

Author: skidau | Date: wtorek, 14 kwietnia 2015 12:21:27

  • Preliminary implementation of the GBA wireless adapter using TCP (based on the IPC version).

Revision 1153

Author: skidau | Date: piątek, 10 kwietnia 2015 02:07:41

  • Fixed the "incorrect battery size" error warning in Kirby Tilt n' Tumble (GB). Patch by chrono.

Revision 1152

Author: skidau | Date: środa, 8 kwietnia 2015 07:05:12

  • Enabled the RTC and rom mirroring by default.

Revision 1151

Author: skidau | Date: środa, 8 kwietnia 2015 06:30:16

  • Removed the "Remove Intros" option because it did not work. Removed the "e-Reader" option because the e-Reader is automatically detected. Removed the double emulator loop because it is not needed.

Revision 1150

Author: wowzaman12 | Date: wtorek, 7 kwietnia 2015 13:46:26

  • case of the case sensitive compiler.

Revision 1149

Author: wowzaman12 | Date: poniedziałek, 6 kwietnia 2015 19:33:32

  • Fix an operator precedence issue clang complained about.

Revision 1148

Author: wowzaman12 | Date: poniedziałek, 6 kwietnia 2015 19:31:18

  • So, this fixes compiling using clang, fixed some tabulation issues, and allow the sdljoy pad compile against SDL2. Also fixed a small compiling issue when compiled against wx3 with the dsound driver. Seems we need the Wx c string to work, it's still not exactly wx3 primetime but it's a small start.

Revision 1147

Author: squall.leonhart | Date: poniedziałek, 6 kwietnia 2015 06:14:33

  • updated credits

Revision 1146

Author: wowzaman12 | Date: poniedziałek, 6 kwietnia 2015 03:28:26

  • keeps spitting out the wrong flags.

Revision 1145

Author: wowzaman12 | Date: poniedziałek, 6 kwietnia 2015 00:25:07

  • re-added color depth checks.

Revision 1144

Author: wowzaman12 | Date: niedziela, 5 kwietnia 2015 16:56:03

  • So yeah... seems -stdc++11 work for xaudio2.cpp

Revision 1143

Author: wowzaman12 | Date: niedziela, 5 kwietnia 2015 16:12:26

  • Getting close to fixing the xaudio2 driver for the wxwidgets frontend.

Revision 1142

Author: wowzaman12 | Date: niedziela, 5 kwietnia 2015 15:53:25

  • Again with the bracer issue. -_- But this should fix compiling. (Got to stop committing before testing.)

Revision 1141

Author: wowzaman12 | Date: niedziela, 5 kwietnia 2015 15:32:12

  • read kega fusion plugins in the wxwidgets interface and also started some work on xbrz support in the interface, will complete that later though.

Revision 1140

Author: skidau | Date: niedziela, 5 kwietnia 2015 09:59:01

  • Cleaned up GBA cable link (network).
  • Removed cable link speedhack as it is not needed.
  • Hard-coded timeouts.

Revision 1139

Author: wowzaman12 | Date: niedziela, 5 kwietnia 2015 06:28:40

  • Just added a small cpack routine to make a zip file of the binaries.

Revision 1138

Author: wowzaman12 | Date: niedziela, 5 kwietnia 2015 05:01:13

  • small fix for compiling against gcc

Revision 1137

Author: skidau | Date: niedziela, 5 kwietnia 2015 02:25:30

  • Added a NO$GBA Style OAM Viewer. The OAM Viewer shows a previews every OAM and its location on the screen. Patch by StrepTeDa.

Revision 1136

Author: skidau | Date: niedziela, 5 kwietnia 2015 00:33:06

  • Fixed the ROM info compare in the e-Reader emulation

Revision 1135

Author: skidau | Date: sobota, 4 kwietnia 2015 11:39:39

  • Enabled the e-Reader kill-switch under the Emulators menu. Fixes the freeze in "Crash Bandicoot - The Huge Adventure" by disabling the e-Reader reset patch.

Revision 1134

Author: skidau | Date: sobota, 4 kwietnia 2015 08:20:10

  • Removed VS2008 support. Cleaned up the adamn-link and bgk-link branches which have been merged.

Revision 1133

Author: skidau | Date: sobota, 4 kwietnia 2015 06:39:25

  • Updated to SFML 2.2. Fixed LINK build on Linux.

Revision 1132

Author: skidau | Date: sobota, 4 kwietnia 2015 00:35:13

  • Initial refactor of the GBA link code.
  • The code has been rearranged with the link framework at the top, followed by cable socket, joybus socket, cable IPC, RFU IPC and lastly, GB link IPC.

Revision 1131

Author: skidau | Date: sobota, 4 kwietnia 2015 00:19:46

  • xBRZ 1.3 filter update by chrono, zenju
  • https://sourceforge.net/projects/xbrz/

Revision 1130

Author: skidau | Date: sobota, 4 kwietnia 2015 00:04:28

  • GBC boot code support by mickdermack
  • - Allow a GBC BIOS to be loaded and run.
  • - Allow GB ROMs to run in GBC mode if you select GBC in the menu.
  • - Fix a bug which caused wrong colors in GB games in GBC mode.
  • - Set the CGB palettes usually set by the BIOS when a GB game is detected (or everything using the BG palette would appear white and sprites would be the wrong color).
  • - Allow the BIOS itself and the Skip BIOS option to be changed by a reset.
  • - Fix the coloring issues if you use the GBC boot ROM.
  • - Implement GBC colorization palette selection.

Revision 1129

Author: skidau | Date: piątek, 3 kwietnia 2015 12:48:28

  • Fixed the e-Reader region error by refreshing the CPU prefetch after a patch is made.

Revision 1128

Author: skidau | Date: czwartek, 2 kwietnia 2015 16:53:37

  • Fixed the GDB reg write command from going out of bounds.

Revision 1127

Author: skidau | Date: czwartek, 2 kwietnia 2015 13:41:24

  • Fixed the memory map masks and sizes not being set correctly.

Revision 1126

Author: skidau | Date: czwartek, 2 kwietnia 2015 13:01:55

  • Disabled the Start Recording and Play Recording menu items if a game is not running. Those options would error when they tried to save state.

Revision 1125

Author: skidau | Date: czwartek, 2 kwietnia 2015 07:53:57

  • Integrated the VBA-SDL-H2 code into the GDB function.
  • This allows breakpoints, memory views and watches to be controlled from the GDB interface. The VBA-SDL-H2 commands can be entered via the GDB monitor (type "help" into the monitor for a list of commands). Made minor changes to the GDB interface so that the GDB port does not need to be entered every session. A "Break on Load" option has been added allowing GDB to be connected before the ROM starts executing.
  • VBA-SDL-H2 credits: Labmaster, kenobi, DevZ, richq, JPAN, Griever

Revision 1124

Author: wowzaman12 | Date: sobota, 28 marca 2015 20:46:27

  • Fixed a small issue (brace in a place where it wasn't needed) Next up XAudio2 interface in wxwidgets!

Revision 1123

Author: wowzaman12 | Date: sobota, 28 marca 2015 19:31:09

  • Removed external filter plugins. In the future, just update the binary/library.

Revision 1122

Author: wowzaman12 | Date: sobota, 28 marca 2015 18:48:38

  • Removed unneeded color depth checks and fixed some spacing

Revision 1121

Author: wowzaman12 | Date: sobota, 28 marca 2015 17:15:25

  • missed something that caused it to not properly load the xrc interface.

Revision 1120

Author: wowzaman12 | Date: sobota, 28 marca 2015 17:02:10

  • Removed yet another unneeded #define in wx/guiinit.cpp

Revision 1119

Author: wowzaman12 | Date: sobota, 28 marca 2015 15:47:33

  • Remove even more unneeded complex if statements

Revision 1118

Author: wowzaman12 | Date: sobota, 28 marca 2015 15:45:40

  • Got rid of a few huge if statements, just recreate the game panel every time after Display Properties closes.

Revision 1117

Author: wowzaman12 | Date: sobota, 28 marca 2015 15:41:25

  • Replaced another macro with a templated function. Should be able to use this function to replace a few more macros as well.

Revision 1116

Author: wowzaman12 | Date: sobota, 28 marca 2015 15:34:44

  • Removed yet another macro from src/wx/guiinit.cpp

Revision 1115

Author: wowzaman12 | Date: sobota, 28 marca 2015 15:11:03

  • Fixed improperly sized dialog boxes

Revision 1114

Author: wowzaman12 | Date: sobota, 28 marca 2015 14:56:33

  • Try to be more informative than the default wx exception handler before terminating

Revision 1113

Author: wowzaman12 | Date: sobota, 28 marca 2015 14:54:49

  • Make sure that all loaded xrc dialogs have the correct parent. This might be overkill, but shouldn't hurt.

Revision 1112

Author: wowzaman12 | Date: sobota, 28 marca 2015 14:44:47

  • Another switch from wxDynamicCast to the normal c++ dynamic_cast

Revision 1111

Author: wowzaman12 | Date: sobota, 28 marca 2015 14:43:40

  • Change a macro from using a special wx funciton to the regular c++ one

Revision 1110

Author: wowzaman12 | Date: sobota, 28 marca 2015 14:41:45

  • More work on trying to remove C macros

Revision 1109

Author: skidau | Date: sobota, 28 marca 2015 06:01:39

  • wx build fix

Revision 1108

Author: wowzaman12 | Date: sobota, 28 marca 2015 05:30:24

  • oops should be copying those files into source dir not binary dir

Revision 1107

Author: skidau | Date: sobota, 28 marca 2015 05:08:30

  • Linux build fix

Revision 1106

Author: wowzaman12 | Date: sobota, 28 marca 2015 05:02:37

  • just missed a parameter.

Revision 1105

Author: wowzaman12 | Date: sobota, 28 marca 2015 04:53:07

  • JoypadConfig is now working as it's own separate entity
  • Previously it was using macros that were hardcoded to look for a certain variable

Revision 1104

Author: wowzaman12 | Date: sobota, 28 marca 2015 04:50:49

  • Got rid of two unneeded C macros

Revision 1103

Author: wowzaman12 | Date: sobota, 28 marca 2015 02:52:20

  • Created a single template that does the same thing as several of the C macros

Revision 1102

Author: wowzaman12 | Date: sobota, 28 marca 2015 02:46:44

  • Used a regex replace so at least some of the C Macros aren't hiding variables
  • Also renamed their inputs so it's easier to understand what's going on

Revision 1101

Author: wowzaman12 | Date: sobota, 28 marca 2015 02:33:12

  • Added more pointer error checking to the wxvbam build.

Revision 1100

Author: wowzaman12 | Date: sobota, 28 marca 2015 02:30:36

  • Load dialogs the proper way

Revision 1099

Author: wowzaman12 | Date: sobota, 28 marca 2015 02:20:41

  • Now fully use the error checking function instead of the C macro

Revision 1098

Author: wowzaman12 | Date: sobota, 28 marca 2015 02:12:57

  • Move XRC pointer checking/error throwing to a templated function (More backporting from Arthur, next few commits will be importing his improvements)

Revision 1097

Author: wowzaman12 | Date: sobota, 28 marca 2015 02:08:52

  • WX: Changed some of the xrc loading handling and error handling (Courtesy of Arthur on github)

Revision 1096

Author: skidau | Date: piątek, 27 marca 2015 23:50:11

  • Added E-Reader scan support by CaitSith2.
  • One thing it does, is correct any raw files scanned, if they are correctable. (usually, uncorrectable raw files come up with a read error.) There is also bin support included as well. (Note, if you open a valid dotcode bin, it will encode it to raw, and save the freshly encoded raw file if it has been set in the menu. If the dotcode save file has not been set, the bin will still load.)
  • Currently, part of the GBA emulation breaks the E-Reader scan code. The reader always returns a Region Error.

Revision 1095

Author: wowzaman12 | Date: piątek, 27 marca 2015 22:06:10

  • intial fix for solarsensor that skid implemented. Will add functioning code after, for now it will allow users to compile at least the SDL interface.

Revision 1094

Author: wowzaman12 | Date: piątek, 27 marca 2015 21:01:33

  • SDL: Breaks on windows.

Revision 1093

Author: wowzaman12 | Date: piątek, 27 marca 2015 20:53:35

  • missed a minor change.

Revision 1092

Author: wowzaman12 | Date: piątek, 27 marca 2015 18:58:35

  • fix compiling against latest ffmpeg code.

Revision 1091

Author: wowzaman12 | Date: piątek, 27 marca 2015 18:54:45

  • changed the panel to have a black background when a rom isn't loaded. Also fixed compiling dsound driver in the wxwidgets interface via mingw-w64

Revision 1090

Author: wowzaman12 | Date: piątek, 27 marca 2015 18:49:26

  • forgot the wxwidgets interface icons.

Revision 1089

Author: wowzaman12 | Date: piątek, 27 marca 2015 18:48:42

  • cmakelists changes, wxwidgets interface build fix to follow.

Revision 1088

Author: skidau | Date: czwartek, 26 marca 2015 22:19:37

  • Added VS2013 solution by mickdermack.
  • Have to install the Multibyte MFC Library for Visual Studio 2013, because Multibyte strings were deprecated in favor of wchar strings.
  • https://www.microsoft.com/download/details.aspx?id=40770

Revision 1087

Author: skidau | Date: czwartek, 26 marca 2015 10:08:30

  • Added Solar Sensor support from VBA-Wii.
  • Requires EEPROM+Sensor save type and Real Time Clock enabled. The solar sensor can be controlled by the left and right motion sensor controls.
NOWSZY [VBA] VisualBoy Advance - M 1.8 SVN1245
VBA VisualBoy:Advance:M:Nintendo:Donald Duck Advance:
Donald Duck Advance - xBrz5.... brrrrr

VisualBoyAdvance-M [SVN 1245]

Author: skidau | Date: 25 marca 2015 12:01:50

  • Re-enable the save type auto-detect code instead of enabling all save types.

VisualBoyAdvance-M [SVN 1244]

Author: skidau | Date: 24 marca 2015 14:30:49

  • Added a Auto-start link option
NOWSZY [VBA] VisualBoy Advance - M 1.8 SVN1243

VisualBoyAdvance-M [SVN 1243]

Author: skidau | Date: 23 marca 2015 14:35:01

  • Fixed the crash that would occur if a GBA link mode were used with a GB game.

VisualBoyAdvance-M [SVN 1242]

Author: skidau | Date: 23 marca 2015 13:17:26

  • Ported AdamN's Game Link (Game Boy link) code from 1030e.
  • Seems to work better with a link timeout of 1.

VisualBoyAdvance-M [SVN 1241]

Author: skidau | Date: 23 marca 2015 07:38:51

  • Fixed NO_LINK build.

VisualBoyAdvance-M [SVN 1240]

Author: skidau | Date: 23 marca 2015 04:42:39

  • Ported AdamN's Wireless Adapter code from 1030e.
  • Known Issue :
    • Instability with 3-4 players on pokemon games due to another client interfering a client and host communication, causing both clients to think their data never reached the host and repeatedly resending the data again (a few retries before dropping the connection)
  • TODO :
    • Host may need to send the ACK data to the Client who send the data instead of broadcasting to all clients, to prevent other Clients from getting the wrong ACK data and thinking their data never reached the Host.
NOWSZY [VBA] VisualBoy Advance - M 1.8 SVN1239
VBA VisualBoy:Advance:M:Nintendo:IronKid:
Iron Kid

VisualBoyAdvance-M[SVN 1239]

Author: squall-leonhart | Date: 20 marca 2015 15:23:14

  • bgklink merged to trunk.

VisualBoyAdvance-M[SVN 1238]

Author: skidau | Date: 20 marca 2015 13:02:28

  • Fixed importing GameShark snapshots

VisualBoyAdvance-M[SVN 1237]

Author: squall-leonhart | Date: 20 marca 2015 04:39:21

  • bios dialog struck through enable text fixed
  • controls disabled however, because we don't have the execution implemented for cgb bios.

VisualBoyAdvance-M[SVN 1236]

Author: squall-leonhart | Date: 20 marca 2015 03:58:03

  • i had issues applying the xbrz patch and had to revert manually several times, and forgot to add the new files as a result
  • so here they are.

VisualBoyAdvance-M[SVN 1235]

Author: skidau | Date: 20 marca 2015 03:11:12

  • Preliminary update to the GameCube to GBA link cable emulation. Fixes Zelda Wind Waker's Tingle Tuner connection, Pac-Man Vs, Final Fantasy: Crystal Chronicles multiplayer, and most other Gamecube to GBA link cable games.
  • * Added a second socket at port 49420 (0xc10c) which sends clock information
  • * Handled disconnections from the GBA and GC
  • * Made the transfers asynchronous
  • * Blocks the socket before the connection times out
  • Requires Dolphin 4.0-5899 or later.

VisualBoyAdvance-M[SVN 1234]

Author: squall-leonhart | Date: 19 marca 2015 02:59:01

  • same as last 2

VisualBoyAdvance-M[SVN 1233]

Author: squall-leonhart | Date: 19 marca 2015 02:44:47

  • XBRZ 1.2 added as a built in filter

VisualBoyAdvance-M[SVN 1232]

Author: squall-leonhart | Date: 19 marca 2015 01:52:47

  • reverted the removal of backup enabled checks, and changes to remote.cpp

VisualBoyAdvance-M[SVN 1231]

Author: squall-leonhart | Date: 20 kwietnia 2014 11:24:10

  • Adds a item for the DisableSFX speedhack back to the Video menu.

VisualBoyAdvance-M[SVN 1230]

Author: squall-leonhart | Date: 18 marca 2014 11:03:06

  • merge trunk to bgklink

VisualBoyAdvance-M[SVN 1229]

Author: squall-leonhart | Date: 8 marca 2014 08:11:53

  • updates subwcrev and applies minor fixes patch 46

VisualBoyAdvance-M[SVN 1228]

Author: kode54 | Date: 15 listopada 2013 00:32:08

  • SDL sound code now posts to semaphores no matter what, in case the other side is still waiting after a speedup transition

VisualBoyAdvance-M[SVN 1227]

Author: kode54 | Date: 14 listopada 2013 08:51:57

  • Rewrote SDL sound synchronization, using a very old patch as a base for some of the changes

VisualBoyAdvance-M[SVN 1226]

Author: normmatt234 | Date: 22 października 2013 20:04:02

  • Remove useless backup enabled checks in read handlers.
  • Fix illegal halfword and byte reads.

VisualBoyAdvance-M[SVN 1225]

Author: kode54 | Date: 22 października 2013 03:17:06

  • Mother 3 fix, refined to not break Metroid Fusion or hopefully anything else

VisualBoyAdvance-M[SVN 1224]

Author: kode54 | Date: 21 października 2013 23:46:49

  • Changed PCM FIFO refill behavior to only stuff the FIFO with silence if it runs completely empty, which seems to fix the stuttering in Mother 3. From the technical behavior, Mother 3's sound code would periodically set DMA 1 and 2 to reason 0, then reset them back to reason 3. This presumably occurs every time the source buffers run empty and the source addresses are reset. Unfortunately, with the current execution and memory timing, this occurs just in time for the DMA buffers to run down to only 16 samples each, and then the attempted refill call will trigger while the DMA reason is 0, so they don't refill, and the timer routine thus stuffs the FIFO buffers with 16 samples worth of silence, causing a stutter. Now, the buffer is allowed to drop below 16, which gives Mother 3's sound code enough time to restart the DMA channels, and they continue to pump samples gracefully, as I never detected a full underrun in my testing.

VisualBoyAdvance-M[SVN 1223]

Author: kode54 | Date: 24 września 2013 13:53:04

  • Add tiled rendering define to Android makefiles, too.

VisualBoyAdvance-M[SVN 1222]

Author: kode54 | Date: 24 września 2013 13:52:20

  • Add tiled rendering define - big performance improvement

VisualBoyAdvance-M[SVN 1221]

Author: kode54 | Date: 24 września 2013 13:51:36

  • Fix target output name

VisualBoyAdvance-M[SVN 1220]

Author: kode54 | Date: 24 września 2013 13:50:37

  • Fix build for Android

VisualBoyAdvance-M[SVN 1219]

Author: kode54 | Date: 24 września 2013 13:49:26

  • Disable link by default now that games work without it

VisualBoyAdvance-M[SVN 1218]

Author: squall-leonhart | Date: 24 września 2013 09:09:56

  • updated readme

VisualBoyAdvance-M[SVN 1217]

Author: squall-leonhart | Date: 22 września 2013 06:55:51

  • libretro is on mainline now

VisualBoyAdvance-M[SVN 1216]

Author: kode54 | Date: 21 września 2013 18:18:54

  • Sonic Advance 1/2 work now with NO_LINK defined
NOWSZY [VBA] VisualBoy Advance - M 1.8 SVN1229

VisualBoyAdvance-M[SVN 1229]

Author: squall-leonhart | Date: 8 marca 2014 08:11:53

  • updates subwcrev and applies minor fixes patch 46:
    • The following patch fixes:
      A possible double free and freed memory dereference as well as some other side effects in Util.cpp (if the allocation of pwText failed, it tried to free it and continue instead of returning).
      A silly warning caused by extra parentheses in gbGfx.cpp
      An undefined behavior in elf.cpp. I had to guess what the intention was. As it was this statement "(data++);" I assumed that being the dereferenced value unused, it wasn't the pointer but the object pointed to the one to increase.
      Incorrect use of memset (sizeof(u8) instead of the amount of u8 elements in the array of data) in SDL.cpp.

VisualBoyAdvance-M[SVN 1228]

Author: kode54 | Date: 15 listopada 2013 00:32:08

  • SDL sound code now posts to semaphores no matter what, in case the other side is still waiting after a speedup transition

VisualBoyAdvance-M[SVN 1227]

Author: kode54 | Date: 14 listopada 2013 08:51:57

  • Rewrote SDL sound synchronization, using a very old patch as a base for some of the changes

 

NOWSZY [VBA] VisualBoy Advance - M 1.8 SVN1226
GBA Visual Advance - M:Astro Boy - Omega Factor:SEGA of America, Inc.:Hitmaker, Treasure Co., Ltd.:Aug 17, 2004:
Astro Boy - Omega Factor (SEGA of America, Inc., Aug 17, 2004)

VisualBoyAdvance-M[SVN 1226]

Author: normmatt234 | Date: 22 października 2013 20:04:02

  • Remove useless backup enabled checks in read handlers.
  • Fix illegal halfword and byte reads.

VisualBoyAdvance-M[SVN 1225]

Author: kode54 | Date: 22 października 2013 03:17:06

  • Mother 3 fix, refined to not break Metroid Fusion or hopefully anything else
NOWSZY [VBA] VisualBoy Advance - M 1.8 SVN1224
GBA Visual Advance - M:Mother 3:Nintendo Co., Ltd.:Brownie Brown Inc., HAL Laboratory, Inc.:Apr 20, 2006:
Mother 3 (Nintendo Co., Ltd., Apr 20, 2006)

VisualBoyAdvance-M[SVN 1224]

Author: kode54 | Date: 21 października 2013 23:46:49

  • Changed PCM FIFO refill behavior to only stuff the FIFO with silence if it runs completely empty, which seems to fix the stuttering in Mother 3. From the technical behavior, Mother 3's sound code would periodically set DMA 1 and 2 to reason 0, then reset them back to reason 3. This presumably occurs every time the source buffers run empty and the source addresses are reset. Unfortunately, with the current execution and memory timing, this occurs just in time for the DMA buffers to run down to only 16 samples each, and then the attempted refill call will trigger while the DMA reason is 0, so they don't refill, and the timer routine thus stuffs the FIFO buffers with 16 samples worth of silence, causing a stutter. Now, the buffer is allowed to drop below 16, which gives Mother 3's sound code enough time to restart the DMA channels, and they continue to pump samples gracefully, as I never detected a full underrun in my testing.

VisualBoyAdvance-M[SVN 1223]

Author: kode54 | Date: 24 września 2013 13:53:04

  • Add tiled rendering define to Android makefiles, too.

VisualBoyAdvance-M[SVN 1222]

Author: kode54 | Date: 24 września 2013 13:52:20

  • Add tiled rendering define - big performance improvement

VisualBoyAdvance-M[SVN 1221]

Author: kode54 | Date: 24 września 2013 13:51:36

  • Fix target output name

VisualBoyAdvance-M[SVN 1220]

Author: kode54 | Date: 24 września 2013 13:50:37

  • Fix build for Android

VisualBoyAdvance-M[SVN 1219]

Author: kode54 | Date: 24 września 2013 13:49:26

  • Disable link by default now that games work without it

VisualBoyAdvance-M[SVN 1218]

Author: squall-leonhart | Date: 24 września 2013 09:09:56

  • updated readme

VisualBoyAdvance-M[SVN 1217]

Author: squall-leonhart | Date: 22 września 2013 06:55:51

  • libretro is on mainline now
NOWSZY [VBA] VisualBoy Advance - M 1.8 SVN1216
Sonic Advance (a.k.a. Sonic N) (SEGA of America, Inc., THQ Inc., Feb 04, 2002)

VisualBoyAdvance-M[SVN 1216]

Author: kode54 | Date: 21 września 2013 18:18:54

  • Sonic Advance 1/2 work now with NO_LINK defined

VisualBoyAdvance-M[SVN 1215]

Author: kode54 | Date: 21 września 2013 18:18:04

  • (Libretro) Fix build

VisualBoyAdvance-M[SVN 1214]

Author: squall-leonhart | Date: 21 września 2013 17:09:45

  • re-adding the fix for zelda oracles

VisualBoyAdvance-M[SVN 1213]

Author: kode54 | Date: 21 września 2013 15:57:40

  • Let's try that again.

VisualBoyAdvance-M[SVN 1212]

Author: squall-leonhart | Date: 21 września 2013 14:56:07

  • libretro branch of vba-m

VisualBoyAdvance-M[SVN 1211]

Author: squall-leonhart | Date: 21 września 2013 04:42:37

  • revert 1207-1210 as its not really ready for integration yet.

VisualBoyAdvance-M[SVN 1210]

Author: thibeaz | Date: 21 września 2013 04:25:42

  • rolling back, it seems there was some more issues than original thought

VisualBoyAdvance-M[SVN 1209]

Author: thibeaz | Date: 21 września 2013 04:16:27

  • fix a goof I made with the last commit, this should fix it

VisualBoyAdvance-M[SVN 1208]

Author: thibeaz | Date: 20 września 2013 23:25:50

  • just a small revert, old data got mixed in the last commit

VisualBoyAdvance-M[SVN 1207]

Author: thibeaz | Date: 20 września 2013 23:08:23

  • libretro merge into trunk, the individual interfaces can still be compiled on their own so the gtk/sdl/mfc interfaces can still work as originally intended. Special thanks to Squarepusher of the libretro team for helping us get this merged
→ [VBA] VisualBoy Advance - M 1.8 SVN1205
Iron Kid

VisualBoyAdvance-M [SVN 1205] 19/09/2013

Author: squall-leonhart | Date: 17 września 2013 17:23:47

  • This fixes the colour issue when using opengl and a HQ3 or 4x filter.
wstecz19/09/2013 16:44
Komentarze
... bez komentarza
Ostatnio dodane pliki
Newsy Linkownia Emulatory na PC Wideoteka Screenshoty Bajtek Reduks Ready.Run

© Try2emu 1999 - 2024 | Krzysztof 'Faust' Karkosza Kontakt Polityka Prywatności OWU