Commit graph

1883 commits

Author SHA1 Message Date
Richard Goedeken
57bc6dde55 allow core .cfg parser to accept strings without quotes around them 2010-03-28 14:23:54 -04:00
Sven Eckelmann
f8c7981ba6 Export only functions which are part of the api
The g++ also exports symbols of implicit instantiations of templates. These
aren't part of the api and must not be accessed by any other part of
mupen64plus. We can use version-scripts to surpress these symbols without using
explizit instantiations of all templates we use.
2010-03-18 12:22:26 +01:00
Sven Eckelmann
d9db76dc0a Mark functions as static or add declaration before definition 2010-03-04 23:25:22 +01:00
Sven Eckelmann
d1ddb95532 Convert m64p functions to ansi style 2010-03-04 23:24:36 +01:00
Richard Goedeken
25e7102086 API change: use new ReadScreen2() video plugin function. Also use this function when grabbing screenshot instead of directly calling OpenGL 2010-02-28 23:34:18 -05:00
GoedekenR
04f3a10797 Remove #include <stdint.h> and <stdbool.h> from new R4300 debugger code so that it will build in Windows 2010-02-28 09:01:35 -05:00
Richard Goedeken
275ec2bb6d added new re-entrant R4300 disassembler, from tty68k/zzt32, a man who loves MIPS processors 2010-02-26 11:38:40 -05:00
Richard Goedeken
80d8100ac1 OpenGL multisample anti-aliasing patch from dorian.fevrier 2010-02-26 11:11:03 -05:00
Richard Goedeken
e3528a39be added M64PLUGIN_NULL to m64p_plugin_type enum 2010-02-22 19:17:26 -05:00
Richard Goedeken
d0eec4f05b updated version info and RELEASE file for 1.99.3 tag 2010-02-13 16:18:33 -05:00
Richard Goedeken
ce1d96c62e moved the extern Controls[] definition out of api/m64p_plugin.h into plugin/plugin.h, because this is only used within the core 2010-02-13 11:52:20 -05:00
Richard Goedeken
b51d78dd99 issue #293: add support for Gameshark 3.3 patch codes 2010-01-27 22:54:43 -05:00
Richard Goedeken
a6c358099b Use Dynarec by default when core is compiled with this option. If dynarec is selected but unavailable, fall back to cached interpreter instead of pure interpreter 2010-01-27 22:20:48 -05:00
Richard Goedeken
82c79258ac bugfix: issue #291 - limited to 100 screenshots. Now 1000 screenshots per ROM are allowed, and it is handled with state information, so every prior screenshot file will not be opened each time a new one is saved 2010-01-26 23:34:53 -05:00
GoedekenR
509c858ba2 bugfix: screenshot directory handling code used unix-specific path separators; now is platform-independent
bugfix: libpng write function crashed on Win32 when using its own fwrite() calls.  Now I'm using callbacks and calling fwrite() from within screenshot.cpp, which avoids the crash
2010-01-21 23:33:47 -05:00
Richard Goedeken
6059916d20 bugfix issue #313; the 64-bit inline assembly code in r4300/x86_64/rjump.c needs to have underscores before the symbols names in OSX 2010-01-19 23:01:03 -05:00
Richard Goedeken
ad8773bac0 bugfix: an old bug in the core - if a ROM *without* a 16kb EEPROM type is loaded after a ROM *with* a 16kb EEPROM type, the EEPROM type is not reset and the second ROM will hang 2010-01-14 23:15:15 -05:00
GoedekenR
f109d3e552 Win32: disable warning C4731 in core; now all modules build with no warnings/errors 2010-01-11 23:34:49 -05:00
Richard Goedeken
77ef24b55c fixed a major problem with zilmar API: the plugins RomOpen() functions had no way of returning error codes back to the core, so if something went wrong, the core would continue to start the game, resulting in a crash or a hang in the plugin. Now the RomOpen() functions return a bool 2010-01-11 23:06:46 -05:00
Richard Goedeken
244a8dd324 1. added new configuration function ConfigGetParameterType() 2. removed api documentation .tar.gz file and replaced with the mediawiki text - this will be easier to keep in sync than a zip file 2010-01-10 00:27:17 -05:00
richard42
a8ef1e298f The StopRumble command needs to be the size of the PIF ram, because the rumble handling code in the input plugin has to write a CRC value about 40 bytes into the command buffer 2010-01-09 10:19:28 -05:00
Richard Goedeken
04bd8cd467 Updated RELEASE and version info for 1.99.2 tag 2010-01-06 23:26:43 -05:00
GoedekenR
9c4050a18b bugfix: OSD: remove glDisable(GL_REGISTER_COMBINERS_NV) call, it throws minor OGL error on systems w/o the NV extensions
bugfix: OSD Win32 fix: get func ptr to post-1.1 glActiveTexture function from the video extension instead of #defining it out
2010-01-06 21:38:16 -05:00
Richard Goedeken
00afa7b734 removed all of the remaining #ifdef WIN32 statements that I could 2010-01-05 00:38:55 -05:00
Richard Goedeken
ea42d35d77 replace #ifdef WIN32 structure for sleeping with SDL_Delay() 2010-01-04 23:57:29 -05:00
GoedekenR
a6e744f14d Fixed MSVC warning in OGLFT.cpp by removing unused (broken) function 2010-01-03 10:08:04 -05:00
GoedekenR
aa77010ce8 bugfix: stop spamming console with "Core: couldn't open memory pack file 'C:\...\*.mpk' for reading" messages 2010-01-02 16:22:33 -05:00
GoedekenR
5aa0674401 bugfix: win32 dynarec caused crash in release build
bugfix: get release build updated in project file
2010-01-02 15:24:56 -05:00
GoedekenR
19cceadab5 bugfix: stop spamming console with "Core: couldn't open eeprom file 'C:\...\*.eep' for reading" messages 2010-01-02 13:42:28 -05:00
GoedekenR
10a1b8321c for Win32, core needs to search for shared files in the user's config directory. Eventually this should be changed to install and search for the shared data files in the All Users/Application Data/Mupen64Plus folder instead 2009-12-28 03:04:24 -05:00
GoedekenR
f1cb2990e7 fixed bugs in osal/files_win32.c, set up Win32 Debug build 2009-12-26 12:28:55 -05:00
GoedekenR
e7abd4677c Added libpng and freetype dependencies to Win32 build. The core now builds a valid DLL 2009-12-26 10:57:37 -05:00
GoedekenR
4c7060dff6 Added zlib support for Win32 build.
Since the MiniZip code (in main/zip/*) has _major_ C++ incompatibilities, I had to switch project file from (C++ compiler) back to Default.
This also required refactoring all the code with the nice C99 features which MSVC stupidly doesn't support
2009-12-25 01:35:01 -05:00
GoedekenR
fcf15e78f5 fixes for unix build after Win32 build changes in the last commit 2009-12-24 23:26:37 -05:00
GoedekenR
48e4077436 Added a lot of typecasting expressions so that the core module will compile in MSVC8 and fixed a lot of other compatibility issues
All that's left before this will build properly is to add the dependencies (zlib, libpng, and freetype)
2009-12-24 16:39:52 -05:00
Richard Goedeken
dae9c58ffd remove plugin version checks; this actually is pointless, because the core should only care about the API version, not the plugin package version 2009-12-13 15:43:24 -05:00
Richard Goedeken
01f34f7af5 update version number to 1.99.1 for beta 1 release 2009-12-12 01:17:33 -05:00
Richard Goedeken
ed92f7c960 bugfix: is_valid_rom() always failed after input parameter was changed from unsigned to signed 2009-12-02 21:34:30 -05:00
Richard Goedeken
39f67809a6 added missing includes in main/lirc.c 2009-12-02 21:28:10 -05:00
Richard Goedeken
53b9e93b7f added -Wall to CFLAGS and cleaned up the warnings for 64-bit normal and debugger builds 2009-12-01 22:46:47 -05:00
Richard Goedeken
5629f353b1 change core compare API so that callback function receives current r4300 opcode. This only works for pure interpreter and dynarec cores 2009-12-01 19:45:58 -05:00
Richard Goedeken
b6c03547c3 missed a return code from last commit 2009-11-30 23:09:30 -05:00
Richard Goedeken
a928f13da7 removed the old core comparison code and replaced with function calls through the new API. The front-end application will handle the communication between the 2 running cores 2009-11-30 22:01:43 -05:00
Richard Goedeken
ba5a20d0f4 implemented final debugger api functions 2009-11-30 16:19:53 -05:00
Richard Goedeken
06f5e8d0d2 implemented Memory debugger functions for 2.0 api 2009-11-29 23:12:19 -05:00
Richard Goedeken
5722075ec6 implemented General debugger functions for 2.0 api 2009-11-28 22:58:06 -05:00
Richard Goedeken
bc95d9e79a clean-up and initial code for Debugger support through new API. DebugSetCallbacks() implemented 2009-11-28 14:06:14 -05:00
Richard Goedeken
309a8bde50 bugfix: frame advance feature should advance every frame, instead of every vertical interrupt (every field) 2009-11-27 17:38:56 -05:00
Richard Goedeken
e0bf18e234 added all of the core State Change callback functionality. api/callbacks.c is now feature complete 2009-11-27 16:43:40 -05:00
Richard Goedeken
64b6552e7c bugfix: missed a couple of translation function calls in last commit 2009-11-27 15:53:52 -05:00