Commit graph

1883 commits

Author SHA1 Message Date
Bobby Smiles
c87c862bc5 Use read_aligned_word in LHU. 2017-10-13 00:24:39 +02:00
Bobby Smiles
7e9da9b835 Use read_aligned_word in LH. 2017-10-13 00:24:39 +02:00
Bobby Smiles
23ae05b435 Use read_aligned_word in LBU. 2017-10-13 00:24:39 +02:00
Bobby Smiles
d521a9c33f Use read_aligned_word in LB. 2017-10-13 00:24:39 +02:00
Bobby Smiles
05514e3ad6 Add read,write aligned word functions. 2017-10-13 00:24:39 +02:00
Gillou68310
c3c605d149 Update asm defines 2017-10-12 14:41:55 +02:00
Gillou68310
01f44dbc23 new_dynarec: Optimize recompiled code 2017-10-12 14:41:55 +02:00
Gillou68310
24c64e6678 new_dynarec: Rework ARM TLB exceptions 2017-10-12 14:41:52 +02:00
Gillou68310
8029d1a58f new_dynarec: Rework x86 TLB exceptions 2017-10-12 14:41:52 +02:00
Logan
f770faf429 Fix a few indentation warnings 2017-10-10 07:57:53 -06:00
Logan McNaughton
8a102e3452 Do open bus read for DD registers 2017-10-06 17:40:35 -06:00
Logan McNaughton
a3c5ad5764 Do a proper open bus read 2017-10-06 15:46:07 -06:00
Richard Goedeken
1f315fffdb Merge pull request #425 from loganmc10/note
Add note about SP_STATUS_REG
2017-10-05 16:27:00 -07:00
Logan McNaughton
fbee45b2d8 Add note about SP_STATUS_REG 2017-10-05 06:36:07 -06:00
Bobby Smiles
e074d068af SDL_Delay is only called just before input polling.
This should help reduce the input lag as suggested by wareya.
2017-10-05 14:22:34 +02:00
Logan McNaughton
304e9561cc Add SP_STATUS_REG and RDRAM_SIZE to gfx_info 2017-10-04 12:19:05 -06:00
Bobby Smiles
58a96b729f Add CIC 5101 support 2017-10-04 06:32:58 +02:00
Bobby Smiles
9119c8be00 Add CIC 5167 support. 2017-10-04 06:30:55 +02:00
Gillou68310
08bca6ffed new_dynarec: Fix crash in Indiana Jones
https://github.com/mupen64plus/mupen64plus-core/issues/288
2017-10-02 10:38:53 +02:00
Gillou68310
4af380fc1d new_dynarec: Fix crash in WDC
https://github.com/mupen64plus/mupen64plus-core/issues/274
2017-10-02 10:38:52 +02:00
Logan McNaughton
acdcc7e1e9 Fix rounding in interpreter
Adapted from c3d89e8fc1
2017-10-01 16:44:54 -06:00
Bobby Smiles
7e9086a513 Bump savestate format to 1.2
Recent development omitted to save several emulated device state
variables. We remedy this by appending them at the end of the savestate
file. When loading older savestate files (<1.2 or pj64) we adopt a best-effort
approach to set the missing state to a reasonnable state. But it may
cause some instability.
2017-09-27 22:38:37 +02:00
Richard Goedeken
69e96886ba Merge pull request #399 from loganmc10/patch-5
Fix screenshots for games with colon in the title
2017-09-20 22:40:08 -07:00
Richard Goedeken
b4f4f0ac1c bugfix: make sure we clear all the bytes 2017-09-19 22:24:19 -07:00
Logan
7b48a0a3d7 Fix screenshots for games with colon in the title 2017-09-18 11:37:15 -06:00
Bobby Smiles
4480dcdcfb Fix exta blank line in pif.c 2017-09-15 05:57:32 +02:00
Bobby Smiles
cb5fc36190 HACK?: avoid various warnings due to bogus pak access. 2017-09-15 04:46:15 +02:00
Bobby Smiles
1bdeddf4e3 Fix PIF channel count.
According to patents, PIF can have up to 6 channels but actual pif
pinouts suggests only 5 channels (4 for controllers, 1 for cartridge).
2017-09-15 04:46:15 +02:00
Bobby Smiles
4277c74a40 Implement joybus device reset commands. 2017-09-15 04:46:15 +02:00
Bobby Smiles
752a7354b2 Rewrite PIF emulation.
Main changes in this partial rewrite are:
- channel processing is done in 2 separate steps. First is the channel
setup done when 0x1 is written in the "pif status byte". The second step
is the effective channel processing which allow each channel device to
answer. This step is done just before DMA reads. This is in accordance
with Patent 6394905. (Fig5B - Pif Macro). This allowed to greatly
simplify pif channel processing (no more strange bytes to parse in pif
ram and no duplicated code for that).
- "pif status byte" is treated as a bitfield with each flag indicating
which action to take.
- command processing interface has been reworked to separate the
transmitted data (Tx,TxBuf) from the the received data (Rx, RxBuf).
- reworked the code to allow custom pif channel processing
callback. This should allow to implement "raw" processor to let an
external device (such as a Raphnet controller) do the channel
processing.
- Validate pif commands
- Fixed eeprom write command which missed the status byte.
- Updated the controller input backend to split pak detection from
controller connection test.
- Consolidated all input plugin compatibility code inside one module
(eg. controller_input, rumble and pif processings functions).
- Added PIF channel printing debug
2017-09-15 04:46:15 +02:00
Logan
446965f05f Fix description of some core config variables 2017-09-14 12:38:09 -06:00
bsmiles32
79516c9be7 Merge pull request #390 from Gillou68310/fpr
Fix set_fpr_pointers
2017-09-14 17:47:46 +02:00
Logan McNaughton
9f97102246 Add ROMDATABASE_ENTRY_EXTRAMEM
I missed this is a previous PR
2017-09-14 09:28:24 -06:00
Logan McNaughton
0bcfd3cc78 Remove DelaySI hack/option 2017-09-14 09:28:15 -06:00
Gillou68310
9644b14f96 Fix set_fpr_pointers and remove shuffle_fpr_data 2017-09-14 11:06:46 +02:00
Logan McNaughton
8fbb478649 Fix duplicate saving in Paper Mario 2017-09-13 13:30:46 -06:00
Logan McNaughton
36fb170b09 Switch from adler32 to xxHash 2017-09-13 10:28:47 -06:00
Logan
e4dbd58ee3 Remove Rat Attack hack for new_dynarec 2017-09-13 09:15:51 -06:00
Logan McNaughton
cdfebcf8fe Fix for Perfect Dark in HLE and LLE 2017-09-13 06:08:19 -06:00
Logan McNaughton
2db20d8b9b Have emulator signal RSP interrupts again 2017-09-13 06:08:19 -06:00
Dorian Fevrier
43aaf38754 Merge pull request #370 from loganmc10/scanline
Base count_per_scanline on N64 clockrate
2017-09-13 11:02:42 +02:00
Logan McNaughton
91614e3279 Remove Rat Attack hack 2017-08-23 15:45:26 -06:00
Logan McNaughton
2379d07f85 Base count_per_scanline on N64 clockrate 2017-08-23 15:40:35 -06:00
bsmiles32
138625a484 Merge pull request #367 from bsmiles32/warnings
Fixing some warnings
2017-08-19 18:04:55 -05:00
Bobby Smiles
f4fa4a9e77 Fix confusing spacing to avoid warning in clang. 2017-08-20 01:02:50 +02:00
bsmiles32
a875f44eea Merge pull request #364 from fzurita/fix_x86_new_dynarec
Get x86 new dynarec compiling again (when using PIC)
2017-08-19 18:01:45 -05:00
Bobby Smiles
fa8ceec5d1 Fix indenting in zip64local_SearchCentralDir which caused a warning
in GCC 7.1
2017-08-20 00:56:35 +02:00
bsmiles32
9054a64d09 Merge pull request #365 from loganmc10/patch-3
Fix order of operations for AI interrupt timing
2017-08-19 17:39:25 -05:00
bsmiles32
5c386fd741 Merge pull request #356 from loganmc10/vi
Get rid of "alternate VI timing"
2017-08-19 17:38:07 -05:00
bsmiles32
b17f920cab Merge pull request #330 from loganmc10/rat
Add hack for Rat Attack!
2017-08-19 17:32:38 -05:00