Commit Graph

1172 Commits

Author SHA1 Message Date
mudlord 6363b66a21 Optimized OpenGL rendering context creation 2007-12-06 03:05:09 +00:00
mudlord 75a3acacc6 Changed SDL debugger a little 2007-12-06 02:48:03 +00:00
mudlord 97c0cc45ec Fixed RTC emulation a little 2007-12-05 23:33:20 +00:00
spacy51 adf36092f7 added DirectSound <> OpenAL selection
OpenAL can be excluded from build with #define NO_OAL
2007-12-05 23:22:37 +00:00
spacy51 ba33eb122a added OpenAL output
UI change coming soon
2007-12-05 22:37:40 +00:00
mudlord 8ff7a70258 Added new GBA sound emulation core (thanks to blargg)
Updated GB sound emulation core
2007-12-05 04:25:47 +00:00
spacy51 7504639a25 minor changes 2007-12-04 20:03:46 +00:00
mudlord 03fd550a86 Added missing files from last commit.
Bleh
2007-12-04 12:45:37 +00:00
mudlord 872441ce20 Added preliminary support for blargg's Gb_Apu 2007-12-04 09:08:44 +00:00
spacy51 50b9e5ff4d fixed processor load always at 100% 2007-12-03 23:09:10 +00:00
mudlord 5e3902b476 Border fix for GB ROMs 2007-12-03 20:55:18 +00:00
spacy51 cc37d74565 make debugging full screen easier 2007-12-03 18:23:21 +00:00
spacy51 31e412ef51 do not assign one key twice to the same button 2007-12-03 14:31:27 +00:00
spacy51 10cc9bd768 some menu changes
added myself to about box
2007-12-03 12:43:38 +00:00
mudlord 0997ae5c91 Updated link emulation code
Added missing sound interpolation cases for new GBA core
2007-12-03 10:54:40 +00:00
mudlord 6ee8b17eb6 Updated filter menu 2007-12-03 06:08:49 +00:00
mudlord 268929a9d3 Fixed severe GBA audio issue in core 2007-12-03 02:21:47 +00:00
spacy51 6473e22616 moved the call to preInitialize to a central location 2007-12-02 01:52:09 +00:00
spacy51 87d2982bf6 MainWnd creation is now the same for all render devices 2007-12-02 01:46:05 +00:00
mudlord 81582f2e1b Removed MacOSX port 2007-12-02 00:31:46 +00:00
spacy51 0f9a384993 assembler routine now activated with #ifndef C_CORE instead of #ifdef ASM 2007-12-02 00:18:52 +00:00
spacy51 48dfe1eec3 added workaround for +1 scanline size in 16bit mode 2007-12-02 00:13:40 +00:00
Nach 144a2762ad HQ3x and 4x now also work in SDL on Windows. 2007-12-02 00:05:18 +00:00
spacy51 5c669a52e7 added NO_D3D preprocessor switch 2007-12-01 23:24:34 +00:00
spacy51 abe5c1b63a renamed NOSKINS to NO_SKINS 2007-12-01 23:03:32 +00:00
Nach f9d46aa66f Fixed some issues. 2007-12-01 22:38:48 +00:00
mudlord ed10e77c4b Removed old GBA core include files 2007-12-01 22:34:23 +00:00
Nach 5f5b8a1da2 Compiling fixed, more fixes to come soon. 2007-12-01 22:32:36 +00:00
mudlord 280282d723 Updated GBA core 2007-12-01 22:27:30 +00:00
spacy51 e9afc98da1 optimized font treatment on device reset 2007-12-01 21:22:02 +00:00
spacy51 3fe3b95971 fixed no image after multi-tasking from full screen 2007-12-01 14:41:48 +00:00
spacy51 a3de34c1fe readded skin support
(only DirectDraw supports it)
2007-12-01 13:42:24 +00:00
spacy51 1dcf48df2a filter plugin will not be used when init failed (plugin not found or none selected) 2007-12-01 12:56:18 +00:00
spacy51 2196d04734 center status messages & fps 2007-12-01 12:55:29 +00:00
mudlord de16e11ea9 Removed GDI renderer since it is slow and sucks ass.
Plus, the other renderers are hardware accelerated, so meh.
2007-12-01 10:56:20 +00:00
spacy51 3a786e6e00 fixed input config dialog 2007-12-01 10:20:54 +00:00
spacy51 cb6c92b8ad fixed VSync & TripleBuffering behaviour
workaround: VSync will be disabled when the menu is opened in full screen mode
dynamic size for text messages
image will not be rendered to backbuffer but to textured triangle strip
fullScreenStretch will be applied immediately
bBilinear filter was not applied at initialization
minor fixes
2007-12-01 10:19:06 +00:00
mudlord 651091dd8c Updated "Help" menu URL links in Windows port
Added menu item in "Help" menu for upcoming CHM docs
2007-11-30 09:29:11 +00:00
mudlord 7658064e3d Added very prelim. support for OpenGL in SDL port 2007-11-27 13:13:25 +00:00
Nach 65d6036921 Whitespace trim, and SVN property set. 2007-11-21 01:27:44 +00:00
mudlord 182be1d161 Updated about box with team info 2007-11-21 01:16:37 +00:00
Nach 4ad8b6bdda Fixed up the simple filters. Since filters over 2x are now first class citizens, Simple2x and 3x added. Filtering stuff cleaned up slightly. 2007-11-20 22:25:09 +00:00
Nach 5a191f0896 HQXx now all working nicely in SDL. Can use assembly optimized in SDL port if compiled with USEASM=yes. 2007-11-20 16:03:49 +00:00
Nach 874d37653a Fixed HQ3x and 16 bit under SDL. 2007-11-20 15:36:20 +00:00
Nach 20cb5e9d0f HQ3x and 4x is now integrated into SDL, and has a C port. However 3x crashes. 2007-11-20 13:04:31 +00:00
Nach 4d658a9b7e Can now build the SDL port for Windows with PLATFORM=win or cross compile it with PLATFORM=win-cross. 2007-11-19 23:09:00 +00:00
Nach f571b2fadd Compatible with MinGW now. 2007-11-19 22:23:18 +00:00
Nach 08f8b4cac6 MinGW compatibility. 2007-11-19 21:42:30 +00:00
Nach 572303f79d Makefile is now more compatible, whitespace trim. 2007-11-19 19:58:21 +00:00
DJRobX 2e1060a9e8 Convert RPI output to 32 bit as needed 2007-11-19 09:03:21 +00:00
mudlord 8a29d6c95f Updated Kega Fusion filtering code to return filter magnification via using rpiScaleFactor(), thus removing redundant code from previous implementation for window size scaling. 2007-11-19 05:45:23 +00:00
DJRobX da2cc24435 Fix sound disable/reenable glitch
Fixes for x64 build
2007-11-17 10:16:24 +00:00
mudlord e7bd7c4933 Added support for Kega Fusion RPI filter files 2007-11-17 07:09:40 +00:00
DJRobX daed30411b Fix tab odrer on directories dialog 2007-11-15 23:04:56 +00:00
mudlord 6dbe19d99a Bah, fixed alignment issue with filter string in open dialogs for ROMs 2007-11-15 19:58:14 +00:00
mudlord b810e223a3 Fixed up filter dialog as TCOS requested
Fixed up minor variable issue in SoundSaveStruct[]

Addendum to last SVN message: Missing headers can be found here:
http://svn.bountysource.com/zsnes/trunk/src/win/vc_head/
2007-11-15 19:51:26 +00:00
mudlord e68e438141 Reverted DJRobX's changes with regards to stdint.h
BTW: Nach has placed a copy of the header here:
https://zsnes.bountysource.com/svn/!dirinfo/5168/trunk/src/win/vc_head
2007-11-15 11:54:51 +00:00
DJRobX f409775477 Fix motion key input settings 2007-11-15 09:41:20 +00:00
mudlord 0ee6169c7a Went through a lot of the GUI to make it more consistant.
Added extra filters for "Colour Gameboy" in open ROM dialog.
Removed RAR extensions from common dialog filters, due to RAR code being removed.
2007-11-15 09:29:13 +00:00
DJRobX d8ae34632f Fix up MSVC specific compile problems 2007-11-15 08:57:30 +00:00
Nach 552aadb95c More portability using C99 types. 2007-11-15 01:29:11 +00:00
Nach 64cc465a9f Deleting files that seem to be useless. 2007-11-15 00:11:48 +00:00
Nach d977df497f Fixed a bunch of const issues. Trimmed some whitespace. 2007-11-15 00:02:26 +00:00
peterb 096af91b82 Adding support for MacOS X. "Releasee" target is a universal binary. 2007-11-14 22:09:27 +00:00
Nach b2e35e7e52 Make clean now works properly. 2007-11-14 18:39:30 +00:00
Nach e3500df33e Permission fix. 2007-11-14 12:56:38 +00:00
Nach f33aafcbdf Trimmed whitespace, and set propper line endings for SVN. 2007-11-14 12:28:27 +00:00
Nach f8e5306181 Can now build under Linux, although it crashes very early. 2007-11-14 12:06:48 +00:00
Nach e8c85b22ab Quick fix. 2007-11-14 11:53:45 +00:00
Nach f2e9b8d3eb Some fixes. Make HQXx assembly work on all x86 OSs. 2007-11-14 11:21:04 +00:00
Nach 13c8e7208e More fixes. 2007-11-14 10:40:41 +00:00
Nach 8e0382d2f0 More fixes. 2007-11-14 09:25:46 +00:00
Nach 6661cf8363 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. 2007-11-14 09:16:23 +00:00
Nach 87e8bfd730 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 2007-11-14 08:55:05 +00:00
mudlord f60d88a54c OpenGL update phase 2. Added GL_POLYGON support to renderer for the sake of complete customizability of render modes. 2007-11-14 06:47:15 +00:00
DJRobX 4d3a628089 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.
2007-11-13 12:12:57 +00:00
mudlord a7d094cf60 Removed RAR support due to licensing conflicts with the GNU GPL. 2007-11-13 08:58:13 +00:00
mudlord c239210986 Added correct link for our project page
Updated file version information in resource
2007-11-12 21:46:08 +00:00
mudlord a6574e784a Updated about dialog with our site details as well as updated credits. 2007-11-12 21:18:39 +00:00
DJRobX 687152c4ed Disableable link support
Enable separate SRAM and VBA.INI profile for multiple instances
2007-11-12 20:24:38 +00:00
DJRobX c5b5894d19 File compiler settings in release mode 2007-11-12 17:19:22 +00:00
DJRobX 823cac2932 Add Blargg's file_extractor library and integrate 7zip/RAR support 2007-11-12 16:02:10 +00:00
DJRobX 80e169d9fb Temporarily remove StartGPLink() function ... because it breaks
Sonic Advance games.
2007-11-09 05:20:45 +00:00
DJRobX bff2a451e4 Remove blargg apu 2007-11-09 02:06:07 +00:00
DJRobX 2847ff4bf4 Fix up pathing in project 2007-11-09 02:01:19 +00:00
DJRobX fc82c5b342 Move dependencies into new dependencies folder for cleanliness
Remove blargg audio core but leave interpolation
2007-11-09 01:40:27 +00:00
mudlord 348e8d14bf Removed redundant libraries that should be in the developer's compiler directory anyway... 2007-11-09 00:46:17 +00:00
mudlord 6a2f00e193 Added glext.h as a dependancy. Needed for future OpenGL updates by me. 2007-11-08 12:57:36 +00:00
DJRobX 6b947e0353 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
2007-11-08 11:42:08 +00:00
mudlord 17e8800d18 Reverted changes from AF 2007-11-08 11:33:26 +00:00
mudlord 620e47a820 Lovely...for some very strange reason, anisotropic filtering will not work in OpenGL......Reverted. 2007-11-08 11:31:25 +00:00
mudlord bdda7f894d Added missing glext.h for anisotropic filtering 2007-11-08 10:34:40 +00:00
mudlord d81f8ce729 Implemented OpenGL anisotropic filtering 2007-11-08 10:28:49 +00:00
mudlord 0254f69490 Moved libresample 2007-11-08 00:22:40 +00:00
mudlord 21bc37c5fc Moved libresample to SRC directory
Moved GBA filters to SRC directory
Removed unneeded sound interpolation class file
2007-11-08 00:18:41 +00:00
DJRobX 3fbb21a027 Enable VBA linking 2007-11-07 23:44:57 +00:00
DJRobX d399ef263f 2007-11-07 23:01:35 +00:00
DJRobX 8da2a6eb10 Copy project optimization settings from official source 2007-11-07 20:50:36 +00:00
DJRobX 293b4cf599 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
2007-11-07 09:24:46 +00:00
DJRobX 9c85010cfb D3D update, use cximage library instead of direct inclusion in app 2007-11-07 07:30:50 +00:00
DJRobX d3960903b7 missing files 2007-11-07 03:19:47 +00:00
DJRobX 7d96299124 Upgrade to 1.8 beta core 2007-11-07 01:27:54 +00:00
DJRobX 3b165421d4 fix menubar in DirectDraw triple buffer mode
clean up old #define in sound.cpp
2007-11-06 10:53:19 +00:00
DJRobX e11009c271 Remove windows dependency, small timing fix 2007-11-05 20:03:11 +00:00
DJRobX d7f7f2b1c0 Fix small error in optimized libresample layer
Enable optimizations in release mode
2007-11-05 09:35:09 +00:00
DJRobX db60506ec6 Completed sound interpolation optimization. Now calculates
sound rates in response to GBA timer adjustments instead
of recalculating on every sample.
2007-11-05 08:59:52 +00:00
DJRobX b5745f7a39 Sound code optimizations based on results of code profiling. Also contains some #ifdef'd out experimental
optimized code for sound filtering
2007-11-05 07:13:08 +00:00
DJRobX a8953de9da update UI to allow multiple key assignments to functions 2007-11-03 07:28:19 +00:00
DJRobX 4a0294b952 Fix missing initialization code for vba link 2007-11-02 10:20:08 +00:00
DJRobX 3b2b0e0431 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
2007-11-02 09:19:38 +00:00
DJRobX 5659db8a9a 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
2007-11-01 10:28:09 +00:00
mudlord cb3bac591d Reverted to revision 2 of GB.cpp, on advice from Dwedit 2007-11-01 06:43:27 +00:00
mudlord 94e3698ba9 Fixed opcode error when implementing Dwedit's fix. 2007-11-01 06:31:21 +00:00
mudlord 64e4bca8bc Fixed bug in GB/GBC mode as described and detailed by Dwedit. 2007-11-01 06:05:39 +00:00
DJRobX 0dae41c603 Fix crash on controller 2 input setting 2007-10-31 10:32:01 +00:00
DJRobX fa1beeac29 Argh one more stupid bug 2007-10-31 10:04:24 +00:00
DJRobX aa77ce816d Fix save key settings bug. Destructor of my global key lists were getting called
before DirectInput destructor.  How rude...
2007-10-31 09:30:11 +00:00
DJRobX fca8f9f480 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.
2007-10-31 08:47:27 +00:00
DJRobX c5049e7a5d 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.
2007-10-31 02:33:28 +00:00
DJRobX bd4c955c63 Fixed debug mode compiler build errors in vcproj.
AccelEditor and UniVideoModeDlg had some trivial scope problems that strangely compile in release mode but don't in debug mode.

Network code was crashing in Link.cpp.  Added check for null linkmem pointer to allow the code to run but need to investigate why linkmem is not initialized.
2007-10-31 00:23:38 +00:00
DJRobX aa6af2e669 hq4x assembler files 2007-10-30 20:27:12 +00:00
mudlord 8bda069b3b Added VBALink to the SVN code. Note that this is completely untested 2007-10-30 19:04:22 +00:00