Commit graph

2672 commits

Author SHA1 Message Date
Richard Goedeken
794421e72c Merge pull request #26 from ricrpi/master
removal of malloc/free for interrupt linked list
2014-05-10 09:25:11 -07:00
ricrpi
5445d0d404 Merge remote-tracking branch 'mupen64plus/master' 2014-05-09 16:01:31 +01:00
ricrpi
039d6dffc1 pulled vi timing code from mupen64plus 2014-05-09 16:01:25 +01:00
Richard Goedeken
c6ea9104e7 Merge pull request #25 from ursulaabendroth/build_error
Fix build after cp0 module extraction
2014-05-08 21:21:26 -07:00
Richard Goedeken
72e00f1031 rewrite vi interrupt speed limiter based on pull request #24 from ricrpi on github. the original algorithm had some undesirable behaviors 2014-05-08 21:03:38 -07:00
ricrpi
737ac5a8e0 Removed malloc/free for interrput queue 2014-05-08 19:25:35 +01:00
ricrpi
7f581008ea Removed malloc/free for interrput queue 2014-05-08 19:21:28 +01:00
ricrpi
8864c5ad20 Removed malloc/free for interrput queue 2014-05-08 19:16:38 +01:00
Richard Goedeken
5f719089cb fix memory leak 2014-05-07 22:40:51 -07:00
Richard Goedeken
8ee1e7f917 Merge pull request #23 from Narann/master
add ConfigSetParameterHelp to the API, update minor version
2014-05-07 22:37:59 -07:00
Richard Goedeken
f121655589 Merge pull request #22 from wnayes/debugger-step-racecond
Replace debugger condition variable with semaphore.
2014-05-07 22:36:09 -07:00
Ursula Abendroth
4e86dd1844 Fix build after cp0 module extraction
Introduced in 5c247de4b1 ("Put CP0 into its own
module")

/tmp/mxe/usr/x86_64-w64-mingw32/include/winnt.h:1573:10: error: conflicting types for '__movsb'
     VOID __movsb(PBYTE Destination,BYTE const *Source,SIZE_T Count);
          ^
/tmp/mxe/usr/x86_64-w64-mingw32/include/intrin.h:994:5: note: previous declaration of '__movsb' was here
     __MACHINEI(void __movsb(unsigned char *,unsigned char const *,size_t))
     ^
/tmp/mxe/usr/x86_64-w64-mingw32/include/winnt.h:1574:10: error: conflicting types for '__movsw'
     VOID __movsw(PWORD Destination,WORD const *Source,SIZE_T Count);
          ^
/tmp/mxe/usr/x86_64-w64-mingw32/include/intrin.h:995:5: note: previous declaration of '__movsw' was here
     __MACHINEI(void __movsw(unsigned short *,unsigned short const *,size_t))
     ^
/tmp/mxe/usr/x86_64-w64-mingw32/include/winnt.h:1575:10: error: conflicting types for '__movsd'
     VOID __movsd(PDWORD Destination,DWORD const *Source,SIZE_T Count);
          ^
/tmp/mxe/usr/x86_64-w64-mingw32/include/intrin.h:996:5: note: previous declaration of '__movsd' was here
     __MACHINEI(void __movsd(unsigned __LONG32 *,unsigned __LONG32 const *,size_t))
     ^
/tmp/mxe/usr/x86_64-w64-mingw32/include/winnt.h:1576:10: error: conflicting types for '__movsq'
     VOID __movsq(PDWORD64 Destination,DWORD64 const *Source,SIZE_T Count);
          ^
/tmp/mxe/usr/x86_64-w64-mingw32/include/intrin.h:997:5: note: previous declaration of '__movsq' was here
     __MACHINEX64(__MINGW_EXTENSION void __movsq(unsigned long long *,unsigned long long const *,size_t))
     ^
/tmp/mxe/usr/x86_64-w64-mingw32/include/winnt.h:1577:10: error: conflicting types for '__stosb'
     VOID __stosb(PBYTE Destination,BYTE Value,SIZE_T Count);
          ^
/tmp/mxe/usr/x86_64-w64-mingw32/include/intrin.h:1032:5: note: previous declaration of '__stosb' was here
     __MACHINEI(void __stosb(unsigned char *,unsigned char,size_t))
     ^
/tmp/mxe/usr/x86_64-w64-mingw32/include/winnt.h:1578:10: error: conflicting types for '__stosw'
     VOID __stosw(PWORD Destination,WORD Value,SIZE_T Count);
          ^
/tmp/mxe/usr/x86_64-w64-mingw32/include/intrin.h:1033:5: note: previous declaration of '__stosw' was here
     __MACHINEI(void __stosw(unsigned short *,unsigned short,size_t))
     ^
/tmp/mxe/usr/x86_64-w64-mingw32/include/winnt.h:1579:10: error: conflicting types for '__stosd'
     VOID __stosd(PDWORD Destination,DWORD Value,SIZE_T Count);
          ^
/tmp/mxe/usr/x86_64-w64-mingw32/include/intrin.h:1034:5: note: previous declaration of '__stosd' was here
     __MACHINEI(void __stosd(unsigned __LONG32 *,unsigned __LONG32,size_t))
     ^
/tmp/mxe/usr/x86_64-w64-mingw32/include/winnt.h:1580:10: error: conflicting types for '__stosq'
     VOID __stosq(PDWORD64 Destination,DWORD64 Value,SIZE_T Count);
          ^
/tmp/mxe/usr/x86_64-w64-mingw32/include/intrin.h:1035:5: note: previous declaration of '__stosq' was here
     __MACHINEX64(__MINGW_EXTENSION void __stosq(unsigned __int64 *,unsigned __int64,size_t))
2014-05-07 11:10:06 +02:00
ricrpi
0e1f2e01f4 Moving Average Filter for vi timing 2014-05-06 16:21:21 +01:00
Dorian Fevrier
7566188ff2 add ConfigSetParameterHelp to the API, update minor version 2014-05-05 23:22:37 -04:00
Will Nayes
f6884d233d Replace debugger condition variable with semaphore.
There was a possible race condition where API callers may have been able to
call DebugStep multiple times, but the debugger would not react to each call. By
using a semaphore, each call will be handled regardless of how quickly any step
completes.
2014-05-04 17:29:12 -05:00
Richard Goedeken
5acdc99347 Merge pull request #21 from bsmiles32/r4300_organization
R4300 organization
2014-05-04 13:00:56 -07:00
Richard Goedeken
8961d45c5a SDL 1.2 is not deprecated for us, and we shouldnt frighten the user with 6 lines of exclamation points 2014-05-04 11:19:08 -07:00
Ursula Abendroth
80e1fd5d0a Switch by default to SDL2 for Mupen64Plus 2.1
The current version of SDL is 2.0.3. All new releases of distributions contain
this library already. Current Linux distributions and OpenBSD even backporting
patches from Mupen64Plus 2.1 repo to use SDL 2. Android and other mobile
platform don't have support for legacy SDL 1.2.

People like Anthony J. Bentley and Riley Labrecque already requested
a new release of Mupen64Plus 2.1 with SDL2
2014-05-03 08:24:22 -07:00
Bobby Smiles
bf3b4dbabd Move op to api/debugger.c 2014-04-25 10:06:11 +02:00
Bobby Smiles
559540ba2a Move tlb_e to tlb.c 2014-04-25 10:06:11 +02:00
Bobby Smiles
9d1a3014a3 Remove unused prototype. 2014-04-25 10:06:11 +02:00
Bobby Smiles
1798dd40bf Move current_instruction_table to r4300.h 2014-04-25 10:06:11 +02:00
Bobby Smiles
9fa86cd68f Put CP1 into its own module. 2014-04-25 10:06:11 +02:00
Bobby Smiles
5c247de4b1 Put CP0 into its own module. 2014-04-25 10:06:11 +02:00
Bobby Smiles
e8328c3439 Move TLB to r4300 directory. 2014-04-25 10:06:10 +02:00
Bobby Smiles
e0f0a604e9 Prefer memset instead of hand-made for loop. 2014-04-25 10:06:10 +02:00
Bobby Smiles
9ef534e0c8 Put instruction counters into its own module. 2014-04-25 10:06:10 +02:00
Bobby Smiles
2d19e8ea78 Put cached interpreter into its own module. 2014-04-25 10:06:00 +02:00
Bobby Smiles
d9191cd668 Pure Interpreter has its own header now. 2014-04-24 19:54:22 +02:00
Bobby Smiles
635821139e Put proper header guards for r4300 *.h files 2014-04-24 18:56:58 +02:00
Bobby Smiles
1b18122aa5 Fix various filenames in copyright comment. 2014-04-24 18:56:15 +02:00
Richard Goedeken
f143bb8233 Merge pull request #19 from ursulaabendroth/build_error
Revert "Remove conditional compilation in profile.c"
2014-04-21 19:39:14 -07:00
Ursula Abendroth
f74f7f9172 Revert "Remove conditional compilation in profile.c"
../../src/main/profile.c:65:1: error: expected identifier or ‘(’ before ‘{’ token
 {
 ^
../../src/main/profile.c:70:1: error: expected identifier or ‘(’ before ‘{’ token
 {
 ^
../../src/main/profile.c:76:1: error: expected identifier or ‘(’ before ‘{’ token
 {
 ^

This reverts commit 12422ba89b.
2014-04-21 15:21:42 +02:00
Richard Goedeken
57c0d00dc4 Merge pull request #18 from bsmiles32/warning_fixes
Warning fixes
2014-04-20 11:05:16 -07:00
Richard Goedeken
bb536eec8d Merge pull request #17 from bsmiles32/profile_refactoring
Profile refactoring
2014-04-20 11:04:05 -07:00
Bobby Smiles
9b4a5c1718 Use C-style comments in OSAL preproc.h 2014-04-17 21:58:53 +02:00
Bobby Smiles
9f40c7ab8d Prefer __asm__ instead of asm in header. 2014-04-17 21:52:04 +02:00
Bobby Smiles
7b0abc742d Use OSAL_BREAKPOINT_INTERRUPT. 2014-04-17 21:35:09 +02:00
Bobby Smiles
9944ad6775 Fix: remove extra semicolon at end of ALIGN macro. 2014-04-17 21:28:54 +02:00
Bobby Smiles
3a8af1506e Fix: warnings about uninitialized variables. 2014-04-17 20:57:04 +02:00
Bobby Smiles
12422ba89b Remove conditional compilation in profile.c
The compiler should be able to optimize thoses functions/datas on its own.
2014-04-16 09:54:35 +02:00
Bobby Smiles
4251372664 Rename profiling functions 2014-04-16 09:54:35 +02:00
Bobby Smiles
12053cfb38 Use an enum for timed sections. 2014-04-16 09:54:35 +02:00
Bobby Smiles
ab650859ef Extract profile functions.
Move profile.c outside of r4300. Provide a proper header.
2014-04-16 09:54:35 +02:00
Richard Goedeken
06b0389c7d Merge pull request #16 from bsmiles32/api_fixes
Use C style comments in API headers.
2014-04-12 08:30:31 -07:00
Bobby Smiles
df2012cceb Use C style comments in API headers. 2014-04-10 22:12:13 +02:00
Richard Goedeken
2b8ec1005a remove old mupen64plus.cht file, fix install/uninstall script to use now mupencheat.txt file instead 2014-04-07 22:03:22 -07:00
Richard Goedeken
a138221c71 Merge pull request #15 from littleguy77/cheat_file_fixes
Cheat file fixes
2014-02-22 17:46:12 -08:00
littleguy77
3771412246 Remove duplicate cheatfile entry (Turok 2 - Seeds of Evil (FGD)). 2014-02-17 22:20:53 -05:00
littleguy77
b97e20b087 Remove duplicate cheatfile entry (NFL Quarterback Club 2000). 2014-02-17 21:57:10 -05:00