Commit Graph

104 Commits

Author SHA1 Message Date
Nach bc661af3b9 C99 Restrict keyword does not exist in C++ (yet anyway). MSVC inline assembly should not be floating around by itself. Checking a define for MMX is stupid, but I won't worry about it right now. Link code is severly MSVC only and should be cleaned or moved.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@62 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-14 09:16:23 +00:00
Nach f188d0727f Quoted constants in C++ are const, lets use them as so. Fixing a couple of issues and stupidity. If your compiler lacks the standard header <stdint.h> please get yourself a copy here: http://svn.bountysource.com/zsnes/trunk/src/win/vc_head/stdint.h
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@61 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-14 08:55:05 +00:00
mudlord 672acaaba2 OpenGL update phase 2. Added GL_POLYGON support to renderer for the sake of complete customizability of render modes.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@59 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-14 06:47:15 +00:00
DJRobX 8059a438ee OpenGL update phase 1. Window-based rendering working better.
Properly accepts various input filter sizes
Hq3x code modified to rearrange output for RGB instead of BGR
New code to draw text directly in OpenGL instead of using
GDI.



git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@58 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-13 12:12:57 +00:00
mudlord 33224a87a7 Removed RAR support due to licensing conflicts with the GNU GPL.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@57 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-13 08:58:13 +00:00
mudlord f898010f90 Added correct link for our project page
Updated file version information in resource

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@56 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-12 21:46:08 +00:00
mudlord 7c841ccb7c Updated about dialog with our site details as well as updated credits.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@55 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-12 21:18:39 +00:00
DJRobX ae398dbab6 Disableable link support
Enable separate SRAM and VBA.INI profile for multiple instances



git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@54 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-12 20:24:38 +00:00
DJRobX a5f7510034 File compiler settings in release mode
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@53 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-12 17:19:22 +00:00
DJRobX bf20d1dded Add Blargg's file_extractor library and integrate 7zip/RAR support
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@51 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-12 16:02:10 +00:00
DJRobX 951c127161 Temporarily remove StartGPLink() function ... because it breaks
Sonic Advance games.



git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@49 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-09 05:20:45 +00:00
DJRobX 3a344edb3c Remove blargg apu
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@48 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-09 02:06:07 +00:00
DJRobX 2c223782fe Fix up pathing in project
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@47 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-09 02:01:19 +00:00
DJRobX 3f0aa73180 Move dependencies into new dependencies folder for cleanliness
Remove blargg audio core but leave interpolation



git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@45 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-09 01:40:27 +00:00
mudlord b3f5cd719e Updated to now link against zlib.lib and libpng.lib
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@44 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-09 01:13:31 +00:00
mudlord 87712a8213 Removed redundant libraries that should be in the developer's compiler directory anyway...
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@40 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-09 00:46:17 +00:00
mudlord 52e56e3027 Added glext.h as a dependancy. Needed for future OpenGL updates by me.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@39 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-08 12:57:36 +00:00
DJRobX 7ae707653d GB use blargg's audio core correctly
Noise channel seems to be buggy in GBA mode (probably using uninitialized data somewhere).   Suddenly became very LOUD.  
Changed volume setting for now.

OpenGL is looking for glext which is not part of a standard windows build.  Probably should incldue it in dependencies if we are going to 
use it




git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@38 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-08 11:42:08 +00:00
mudlord 4abe7ac4d2 Reverted changes from AF
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@37 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-08 11:33:26 +00:00
mudlord 8cb7ccec0d Lovely...for some very strange reason, anisotropic filtering will not work in OpenGL......Reverted.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@36 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-08 11:31:25 +00:00
mudlord 5465b2cc5e Added missing glext.h for anisotropic filtering
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@35 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-08 10:34:40 +00:00
mudlord 3d9d44389e Implemented OpenGL anisotropic filtering
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@34 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-08 10:28:49 +00:00
mudlord 4e58ac922b Removed unneeded files as preperation for source cleanup done by me
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@33 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-08 00:23:37 +00:00
mudlord 4535d78611 Moved libresample
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@32 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-08 00:22:40 +00:00
mudlord e4612bad14 Moved libresample to SRC directory
Moved GBA filters to SRC directory
Removed unneeded sound interpolation class file

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@31 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-08 00:18:41 +00:00
DJRobX 1c6d75cbd5 Enable VBA linking
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@30 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-07 23:44:57 +00:00
DJRobX bdc840ee4b git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@29 a31d4220-a93d-0410-bf67-fe4944624d44 2007-11-07 23:01:35 +00:00
DJRobX 98a8810c9c Copy project optimization settings from official source
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@28 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-07 20:50:36 +00:00
DJRobX 17ae4f9f56 Direct3d fixes, disabling lockable backbuffers.
Official 1.8 beta seems to have an incomplete
direct3d implementation.  You cannot select full screen modes
without using DirectDraw.  This is fixed in this buld



git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@27 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-07 09:24:46 +00:00
DJRobX f1c5e3fc54 D3D update, use cximage library instead of direct inclusion in app
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@26 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-07 07:30:50 +00:00
DJRobX 245123095c Fix settings for moved libraries
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@25 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-07 03:22:44 +00:00
DJRobX 9895517fc9 missing files
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@24 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-07 03:19:47 +00:00
DJRobX ee40ad3d5c Upgrade to 1.8 beta core
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@23 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-07 01:27:54 +00:00
DJRobX 0e1ef89215 fix menubar in DirectDraw triple buffer mode
clean up old #define in sound.cpp



git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@22 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-06 10:53:19 +00:00
DJRobX 4a186b80e2 Remove windows dependency, small timing fix
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@20 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-05 20:03:11 +00:00
DJRobX 6c8a306919 Fix small error in optimized libresample layer
Enable optimizations in release mode



git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@19 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-05 09:35:09 +00:00
DJRobX 52c4a1dbba Completed sound interpolation optimization. Now calculates
sound rates in response to GBA timer adjustments instead
of recalculating on every sample.



git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@18 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-05 08:59:52 +00:00
DJRobX 27bcb9ad94 Sound code optimizations based on results of code profiling. Also contains some #ifdef'd out experimental
optimized code for sound filtering



git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@17 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-05 07:13:08 +00:00
DJRobX 17a26699cd update UI to allow multiple key assignments to functions
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@16 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-03 07:28:19 +00:00
DJRobX ad8b4848f7 Fix missing initialization code for vba link
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@15 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-02 10:20:08 +00:00
DJRobX bd77ca8061 Fix debug assertion on link options dialog
Fix tab control offset problem
Enhance tab controls by graying out inoperable tabs 
Fix locked aspect ratio in Direct3D mode



git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@14 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-02 09:19:38 +00:00
DJRobX e57de37f3f Updated Direct3D to Spacy's 1.8 beta build
Added new code to disable backbuffer locking to enable proper Vsync
Enabled triple buffering for Direct3D
Removed some unneeded binary VS.NET files



git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@13 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-01 10:28:09 +00:00
mudlord 615f4270be Reverted to revision 2 of GB.cpp, on advice from Dwedit
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@12 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-01 06:43:27 +00:00
mudlord 0293de0a27 Fixed opcode error when implementing Dwedit's fix.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@11 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-01 06:31:21 +00:00
mudlord 3a4a57fa5a Fixed bug in GB/GBC mode as described and detailed by Dwedit.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@10 a31d4220-a93d-0410-bf67-fe4944624d44
2007-11-01 06:05:39 +00:00
DJRobX a478e57898 Fix crash on controller 2 input setting
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@9 a31d4220-a93d-0410-bf67-fe4944624d44
2007-10-31 10:32:01 +00:00
DJRobX 9393ab7212 Argh one more stupid bug
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@8 a31d4220-a93d-0410-bf67-fe4944624d44
2007-10-31 10:04:24 +00:00
DJRobX 163217d27e Fix save key settings bug. Destructor of my global key lists were getting called
before DirectInput destructor.  How rude...



git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@7 a31d4220-a93d-0410-bf67-fe4944624d44
2007-10-31 09:30:11 +00:00
DJRobX e404a8f7bc Added code to drop frames when sound buffer is critically low. Prevents
obnoxious sound distortion when using vsync due to sound card clock being faster than video clock.
(FCEU had this same issue)

New joypad key lists for upcoming implementation of multi-assignment options a-la Mame 
(e.g. assign either Joy Up, Joy Hat Up, OR Key Up to up).  Current limitations are annoying, and current behavior of 
dropping joystick settings altogether when a joystick isn't plugged in is even worse.




git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@6 a31d4220-a93d-0410-bf67-fe4944624d44
2007-10-31 08:47:27 +00:00
DJRobX 1f67441098 Project cleanups, add _CRT_SECURE_NO_WARNINGS to reduce absurdly high
warning count.

Fix DirectDraw initializer to check for 1024x768 and 1280x1024, they were grayed out.  Default resolutions set to 60hz and DirectDraw now obeys fsFrequency setting. 



git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@5 a31d4220-a93d-0410-bf67-fe4944624d44
2007-10-31 02:33:28 +00:00