Arthur Moore
aeb033072c
Added an easy to use build script for debian based distributions
2015-01-09 16:53:39 -05:00
Arthur Moore
dd60af2e46
Forgot to move something to the new gtk/CMakeLists.txt file
2015-01-09 16:51:22 -05:00
Arthur Moore
872e2badf2
More accurately show that a function is creating a pointer.
...
It still looks like a memory leak to me, but I want to get rid of all the crazy C macros before fixing it.
2015-01-09 02:34:01 -05:00
Arthur Moore
5e6cd24322
Temp fix so gdb works on out of tree wxvbam builds
...
filterMap was causing wxvbam to crash when run with gdb in any folder but the top level
This needs a better fix, especially since filterMap is the cornerstone of my filters redesign/integration.
2015-01-09 02:12:54 -05:00
Arthur Moore
fedaa24799
wxvbam: Convert a nasty #define into a nice(er) function
...
This was way more work than it should have been.
2015-01-09 01:02:20 -05:00
Arthur Moore
046faf53ba
Moved SDL(?) filters to filters folder.
...
Also created a std::map of filters so can use that for future selections.
2015-01-07 22:29:06 -05:00
Arthur Moore
4ae8dd942a
Fix gtk ui installation on windows/apple
...
Also removed an unneeded if/else statement
2015-01-07 18:57:35 -05:00
Arthur Moore
177607f426
Small wx cmake cleanup
2015-01-07 18:39:53 -05:00
Arthur Moore
4b3cfef82a
Remove apple icon generation, and just use a pregenerated asset
...
Faster, and one less dependency.
2015-01-07 18:26:57 -05:00
Arthur Moore
5da20b4029
Remove unused svg files
2015-01-07 18:18:41 -05:00
Arthur Moore
391ad26573
Just use a static art object instead of requiring ImageMagick
...
This should also speed up compile times while removing an unneeded dependency.
2015-01-07 18:17:15 -05:00
Arthur Moore
5312fd7aa7
Remove all but one png icon file, and move that to src/art
...
This also cleans up src/wx/CMakeLists.txt
2015-01-07 17:48:40 -05:00
Arthur Moore
2ad87641e1
Fix cmake so gtk out of tree builds actually work
...
Also clean up a few things with old svn info.
Don't manually create links to the binaries, let cmake handle moving them.
2015-01-07 16:03:40 -05:00
Arthur Moore
8cfce58fa0
Add some (more) error handling to gtk code.
...
This explains why out of tree builds currently do not work for the gtk version.
2015-01-07 15:12:45 -05:00
akb825
8b46072ca3
Make borders black in fullscreen for wxWidgets
...
This is a simple patch that makes it so borders that show up in fullscreen mode are black rather than white.
2014-12-10 03:00:55 -05:00
Arthur Moore
a240cfae79
gvbam now can use hq3x and hq4x filters.
2014-11-16 01:40:35 -05:00
Arthur Moore
05a6358709
Moved the rest of the filters to one file.
...
Duplicate function definitions were all over the place.
2014-11-16 01:30:50 -05:00
Arthur Moore
6fc41f8d2a
Added kdev4 project file
2014-11-16 00:58:30 -05:00
Arthur Moore
2bae2a6759
Updated .gitignore to ignore project files
2014-11-16 00:23:31 -05:00
Arthur Moore
b0ae63c602
Created a common filters.hpp file, and began moving function prototypes there.
...
some function prototypes are still spread between:
src/gtk/filters.cpp
src/sdl/filters.cpp
src/wx/filters.h
They should all be moved to:
src/filters/filters.hpp
2014-11-15 02:03:52 -05:00
Arthur Moore
2926e96f19
Moved interframe filters from several different .h files to a central .hpp file.
2014-11-15 01:05:15 -05:00
Arthur Moore
80d8dfd22f
Hack to prevent wxvbam from crashing whenever the display setting were changed.
...
This only happens while a game is running.
InterframeCleanup() doesn't seem to be called in a thread safe manner, so double frees were occurring.
wxvbam and gvbam may hang when attempting to close after changing display settings.
This patch merely prevents wxvbam from crashing when the settings are changed.
2014-11-14 06:27:13 -05:00
Arthur Moore
c2a6f980cb
Cmake now gets version information from git
2014-11-14 01:53:52 -05:00
Arthur Moore
c4e52aabf2
Removed an unneeded include from wx cmake file
...
It's part of libvbamcore already
2014-11-14 01:31:35 -05:00
Arthur Moore
9449143d5a
Ignore any games used for testing
2014-11-14 01:18:18 -05:00
Arthur Moore
663eb672c0
Make sure GTK build is accessible at top level directory.
...
This is what the wxWidgets build does.
2014-11-14 01:07:49 -05:00
Arthur Moore
6d5054fff2
Cleaned up and updated .gitignore files
2014-11-14 01:06:38 -05:00
Arthur Moore
e29badf3d9
Moved the GTK portion of CMakeLists.txt to its own file
2014-11-14 00:46:08 -05:00
Arthur Moore
3d3229f899
Enable link functionality by default
2014-11-14 00:45:22 -05:00
Arthur Moore
a9d3e85a2c
Build wxWidgets port by default
2014-11-14 00:44:42 -05:00
Juha Laukkanen
c86b2c6760
GTK GUI: save oldest & load recent
...
This patch adds load from oldest state slot & load from most recent state slot keys to joypad configuration. Also modifies logic of vOnSaveGameOldest() so that if slot is empty (no ts) it is considered oldest.
2014-11-12 02:19:16 -05:00
Sergio Benjamim
8c6fd246b2
With this patch, you can successfully package vbam
...
(well, i had to delete vbam-sdl and vbam-wx lines in debian/control to successfully make a package, but it is NOT in this patch). Take a look!
2014-11-11 18:10:19 -05:00
Sergio Benjamim
75f0003ee7
This patch creates src/art/ with svg icons of 32, 48, 64, 96, 128 and 256 pixels.
...
I changed some details from the old 48 px, to match more the gba in some details and fix pixel hitting.
Take a look at this gallery: http://www.zimagez.com/galerie/VBA-M-icons-32285-0.php
Signed-off-by: Arthur Moore <Arthur.Moore.git@cd-net.net>
2014-11-11 18:05:56 -05:00
Arthur Moore
9a359f5b8e
Update Link code to use SMFL Version 2
...
This compiles, but has not been tested.
2014-11-11 16:38:56 -05:00
Arthur Moore
e1730ad611
Fix wxWidget GUI on Debian
...
Unfortunately, the wxWidget GUI won't compile in Debian Linux because the utilFindType function no longer needs or accepts a buffer as an argument.
This patch removes that buffer.
2014-11-11 16:38:51 -05:00
Arthur Moore
4d0dc64dff
Create .gitignore file from SVN
2014-11-11 16:38:29 -05:00
squall-leonhart
576460798c
Adds a item for the DisableSFX speedhack back to the Video menu.
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1231 a31d4220-a93d-0410-bf67-fe4944624d44
2014-04-20 09:24:10 +00:00
squall-leonhart
b6bc047b1a
updates subwcrev and applies minor fixes patch 46
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1229 a31d4220-a93d-0410-bf67-fe4944624d44
2014-03-08 07:11:53 +00:00
kode54
0bd675de7f
SDL sound code now posts to semaphores no matter what, in case the other side is still waiting after a speedup transition
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1228 a31d4220-a93d-0410-bf67-fe4944624d44
2013-11-14 23:32:08 +00:00
kode54
5eb646b1da
Rewrote SDL sound synchronization, using a very old patch as a base for some of the changes
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1227 a31d4220-a93d-0410-bf67-fe4944624d44
2013-11-14 07:51:57 +00:00
normmatt234
706774c3c0
Remove useless backup enabled checks in read handlers.
...
Fix illegal halfword and byte reads.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1226 a31d4220-a93d-0410-bf67-fe4944624d44
2013-10-22 18:04:02 +00:00
kode54
a4c133210f
Mother 3 fix, refined to not break Metroid Fusion or hopefully anything else
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1225 a31d4220-a93d-0410-bf67-fe4944624d44
2013-10-22 01:17:06 +00:00
kode54
c276ccd7ce
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.
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1224 a31d4220-a93d-0410-bf67-fe4944624d44
2013-10-21 21:46:49 +00:00
kode54
46f83f7d73
Add tiled rendering define to Android makefiles, too.
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1223 a31d4220-a93d-0410-bf67-fe4944624d44
2013-09-24 11:53:04 +00:00
kode54
c0d1532211
Add tiled rendering define - big performance improvement
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1222 a31d4220-a93d-0410-bf67-fe4944624d44
2013-09-24 11:52:20 +00:00
kode54
d808640113
Fix target output name
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1221 a31d4220-a93d-0410-bf67-fe4944624d44
2013-09-24 11:51:36 +00:00
kode54
a2655200dc
Fix build for Android
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1220 a31d4220-a93d-0410-bf67-fe4944624d44
2013-09-24 11:50:37 +00:00
kode54
11fe3f1fc7
Disable link by default now that games work without it
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1219 a31d4220-a93d-0410-bf67-fe4944624d44
2013-09-24 11:49:26 +00:00
squall-leonhart
4ca5da9275
updated readme
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1218 a31d4220-a93d-0410-bf67-fe4944624d44
2013-09-24 07:09:56 +00:00
kode54
297b01ff8c
Sonic Advance 1/2 work now with NO_LINK defined
...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1216 a31d4220-a93d-0410-bf67-fe4944624d44
2013-09-21 16:18:54 +00:00