Commit graph

105 commits

Author SHA1 Message Date
Richard Goedeken
a961c711bf fix few more warnings 2020-05-27 21:13:21 -07:00
Richard Goedeken
e49f1fe448
Merge pull request #46 from belegdol/master
Sync with latest upstream changes
2020-04-21 17:19:09 -07:00
Gillou68310
7b99972824 Migrate to VS2017 2019-11-13 17:14:06 +01:00
Julian Sikorski
502460a679 Fix implicit declaration of function 'init_regs' warning and subsequent undefined symbol issue 2019-07-17 20:17:13 +02:00
Julian Sikorski
e4ae22295e Merge remote-tracking branch 'upstream/master' 2019-07-15 20:51:11 +02:00
Richard Goedeken
1836a433bb add function attributes so GCC can find bugs in calls to string formatting functions with variadic arguments 2019-03-03 09:25:18 -08:00
Corey Hickey
21d7bb41ec Remove use of ConfigSaveSection
Known front-ends have been modified to save configuration after plugin
initialization but before running the game. Now it is no longer
necessary for individual plugins to save their config.

Removing calls to ConfigSaveSection from within plugins makes the
mupen64plus-ui-console '--nosaveoptions' parameter work.

I was unable to test complete operation with this patch, due to:
https://github.com/mupen64plus/mupen64plus-rsp-cxd4/issues/43

...but I was able to get past the plugin initialization phase, which
verifies that the code change works as desired.
2019-01-23 22:39:48 -08:00
Iconoclast
2ea5951d80 Regulate undefined and defined states of RSP registers on boot.
Now with the correct file modification date set. :)
2018-12-19 01:12:14 -05:00
Iconoclast
e4d3dc5031 fixed warning message spamming from running krom's test ROMs 2018-11-26 13:50:52 -05:00
Zapeth
4acc1f83e9 Fix compile errors when using the upstream scripts
Not really a fix, just additional ifdefs to use the correct pointer
names for each case.
A proper fix would be to change the names in mupen64 api to fit the
upstream names or vice versa (considering the names I'd suggest the
former)
2018-08-19 14:45:54 +02:00
Zapeth
47e93c42c6 Fix 'sizeof incomplete type' compile error
Not really a fix, but its done the same way in upstream for analog
uses.
Alternatively one could specify the size in the forward declaration of
the config object (in su.h)
2018-08-19 14:31:54 +02:00
Zapeth
5b17225175 Merge branch 'master' of https://github.com/cxd4/rsp 2018-08-19 14:20:38 +02:00
Logan
f2f84aa03a
Indi and Naboo now have an HLE implementation 2018-05-26 07:47:12 -06:00
Joseph Mattiello
54214ced69 Remove system() call for iOS and tvOS 2018-04-16 23:11:08 +02:00
Iconoclast
f74f987b55 carried over missing DMA max address estimation to the fix-up loop
This fixes reserved RDP and CPU op-codes in Zelda MM due to wrong RDRAM address limitation calculations from the RSP.  _WIN32 builds were not affected by this issue (due to the preprocessor disabling the analysis) and thus remain unaffected by this commit.
2018-03-22 03:16:17 -04:00
Iconoclast
11176630e1 Don't diagnose tasks sent from CIC boot code by type. 2018-03-21 17:48:02 -04:00
Iconoclast
d0454d86c6 Disable signal-catching on _WIN32 since Project64's SEH clashes with it. 2018-03-19 00:33:50 -04:00
Iconoclast
a234e98013 fixed WIN32 compile error with empty default: switch label 2018-03-18 23:28:31 -04:00
Iconoclast
2c9f98a8d4 Allocate register files with enumerations, not macros. 2018-03-17 13:56:18 -04:00
Iconoclast
7da2a30f47 cleaned up DllMain() 2018-03-17 13:21:15 -04:00
Iconoclast
d4027c2866 Diagnose unrecognized task types. 2018-03-17 12:56:52 -04:00
Iconoclast
a9670d1e0e Infer available RDRAM allocated by emulator. 2018-03-17 12:28:31 -04:00
Iconoclast
7bb9ed7ea6 Use C standard calls even for the Windows build.
The original decision to use custom-tailored versions of the C standard
library functions for the Windows build came from a number of
issues--most of which turn out to be not applicable to a Windows DLL
module extension (in which no executable entry point is required).

Since most non-Visual-Studio build suites for Windows will use the
standard, universally available MSVCRT.DLL for linkage, no compatibility
issues can arise from switching the code back to use standard C calls
for _WIN32 builds (provided the calls and usages conform to ANSI C89 and
do not involve forwards-compatibility with other newer extensions to the
C language added in MSVCR80.DLL, MSVCR90.DLL and so forth).

Visual Studio itself, however, chooses to disallow targeting use of
MSVCRT.DLL because Microsoft changes the C language implementation
details of that file while promising the availability of certain
extensions and non-ANSI features available with fixed-version CRTS.
Therefore, if building with Visual Studio, this commit will cause a
dependency on some numbered version of Microsoft's CRT instead of the
standard MSVCRT.DLL.

Note that this issue is negligible due to the fact that MSVC cannot be
recommended for compiling an optimized interpreter code base (not
limited to the example of this plugin).

To test with MSVC anyway, either a) have the CRT framework package
installed to system upgrades (knowing end users the plugin is shared
with may not have this), b) use an older version of Visual Studio to
build, c) statically link the CRT dependency with /MT, d) use the
portable DDK suite containing MSVC outside of Visual Studio to continue
using MSVCRT.DLL, e) temporarily revert this commit to increase DLL file
size by using static linkage of the custom CRT functions removed by this
commit.

Another problem was the fact that MinGW GCC always links in CRT startup
code, even to DLLs for which no entry point needs to exist, and this
startup code depends on -lmingwex which adds a bit of custom message
crap to the binaries.  The obvious workaround for this (as obvious as
knowing to do it for DLLs) in the case of an EXE was obfuscated by the
fact that MinGW maintains an arbitrary design choice that calls __main
from inside main instead of in the startup code.  This side effect is
fixed by using preprocessor checks to wrap around a dummy __main symbol
in the entry point translation unit's source file.
2018-03-16 20:35:12 -04:00
Logan
72d5a04bbe
Remove WDC and Stunt Racer from LLE list 2018-02-12 06:11:02 -07:00
Logan
d72401322f
Don't set MI_INTR_SP if task is not finished yet 2017-12-14 12:38:43 -07:00
Logan
89b97fa3a3 Gauntlet Legends works in HLE 2017-10-24 06:09:28 -06:00
Logan
80e7dd3ed4 Fix warning 2017-10-10 07:55:16 -06:00
Logan
f2b50685ce set SP_STATUS bits before calling ProcessDList 2017-10-05 09:57:15 -06:00
Richard Goedeken
664759f9c9 Merge pull request #24 from loganmc10/patch-2
Remove NBA on NBC setting
2017-08-28 22:32:54 -07:00
Logan
e83f768623 Allow Rogue Squadron to run in HLE GFX 2017-07-28 10:49:09 -06:00
Logan McNaughton
296ff104b7 Remove NBA on NBC setting 2017-06-28 08:30:52 -06:00
bsmiles32
933deaf848 Merge pull request #19 from loganmc10/hle
Use HLE video by default if HLEVIDEO is set
2017-06-22 20:50:50 -06:00
Logan McNaughton
3e427db61c Force semaphore lock for NBA showtime 2017-06-15 15:32:29 -06:00
Logan McNaughton
33dae341a9 Force LLE graphics on ROMs known to require it 2017-06-15 15:32:11 -06:00
Logan McNaughton
723fd792ee Use HLE video by default if HLEVIDEO is set 2017-05-31 15:47:40 -06:00
Francisco Zurita
97d0e11875 Restore some mupen64plus specific functionality
It probably was removed accidentaly when merging from upstream.
2017-03-04 23:38:48 -05:00
Charlemagne Lasse
136d15a68a Merge branch 'master' of https://github.com/cxd4/rsp into upstream-updates 2016-12-16 23:17:10 +01:00
Iconoclast
8de7c0c381 Prefer to use GET_RSP_INFO(). 2016-11-05 23:21:39 -04:00
Iconoclast
5af7b5a63c Remove extra check before calling RDP lists. 2016-11-05 23:14:51 -04:00
Iconoclast
7fc5768ad7 Non-Windows builds should pause, too, on errors. 2016-11-05 22:57:47 -04:00
Francisco Zurita
e86432df61 Update to latest CXD4 2016-07-28 08:27:07 -04:00
00ac765429 warning: parameter hParent set but not used [-Wunused-but-set-parameter] 2016-03-23 23:38:26 -04:00
9cf9089a51 Remove the pointer relation requirement between DMEM and IMEM. 2016-03-05 18:24:56 -05:00
no
f95937ad4b Remove DPC_CLR_FREEZE spamming for non-PJ64 emulators.
This removes the console window spamming when playing Banjo-Tooie on Mupen64 0.5 for Linux.
2016-01-05 17:52:51 -05:00
no
32b939f8da moved MFC0 SP_STATUS timer counts outside to DoRspCycles 2015-12-19 20:53:25 -05:00
no
d44b4462c3 moved task recovery and scheduling outside to DoRspCycles 2015-12-19 20:50:11 -05:00
unknown
88ffa325da moved the MMX recovery stuff out of SU unit to task dispatcher 2015-11-30 14:33:44 -05:00
unknown
4ccd6e8ee4 a few more trivial clean-ups 2015-11-28 19:51:05 -05:00
unknown
f74c9feb14 message(): standard codespace braces conformance 2015-11-27 20:52:01 -05:00
unknown
3941c64eab Do not always allocate a 4096-byte message buffer. 2015-11-27 20:48:04 -05:00