Commit graph

1871 commits

Author SHA1 Message Date
Kojin
abca90e9f2 fix vs filters 2019-03-25 22:16:17 -04:00
Kojin
d1cf3d1ecc fix a couple ui bugs 2019-03-25 22:16:17 -04:00
Kojin
79bbffcc86 event-driven settings and recent roms 2019-03-25 22:16:17 -04:00
Kojin
dfe940e1e2 refactor some of the settings window and add moc for rom dirs 2019-03-25 22:16:17 -04:00
Kojin
93bc68d2e4 basic joystick support 2019-03-25 22:16:17 -04:00
Kojin
ad887c7265 display bios info 2019-03-25 22:16:17 -04:00
Kojin
48cf7942bb Allow gsdump loading in file menu 2019-03-25 22:16:17 -04:00
Kojin
502a7a3981 add checkbox to ar switch 2019-03-25 22:16:17 -04:00
Kojin
0273f8b6ba Fix small positioning bug
Force the window to normal mode when scaling
Scaling in maximized state was bad
2019-03-25 22:16:17 -04:00
Kojin
5c381b8002 Fix scaling 2019-03-25 22:16:17 -04:00
Kojin
4a12fbed9c Add "Emulation" menu item
- pause
- unpause
- move frame advance there as well
2019-03-25 22:16:17 -04:00
Kojin
90e7d6b7fe keep track of the last file path 2019-03-25 22:16:17 -04:00
Kojin
25575bb97d some debug stuff I missed 2019-03-25 22:16:17 -04:00
Kojin
5423bea2cd changes to settings and add gui for switching vu1 to jit 2019-03-25 22:16:17 -04:00
Kojin
c304081691 update project filters 2019-03-25 22:16:17 -04:00
Kojin
c0e7c54544 fix the vs build 2019-03-25 22:16:17 -04:00
PSISP
e1b9f05b8b Update application.pro 2019-03-25 22:16:17 -04:00
Kojin
3c600fc376 Implement widget for render area
- Update the main window widget to use a stacked widget
- Move rendering to it's own widget
- Set rendering widget default color to black
- Contextually switch between the render widget and the initial widget on open based on whether the emulation is running

some bugs I'll fix later:
- Last frame is still there after fatal error or a new game is loaded. Don't remember if it's an issue on master.
- Emulation has trouble starting a second game after a fatal error. Again, can't remember if it's an issue on master.
- Scaling doesn't work. Going to reimplement it by resizing the window and give arcum credit for his work in another commit.
2019-03-25 22:16:17 -04:00
Kojin
c0c760a5a3 Add settings window
Adds a settings window under Options -> Settings
Currently only General tab with bios location.
2019-03-25 22:16:17 -04:00
Kojin
09c4997b90 Defer bios error
old behavior:
Opening the emulator without -b passed caused it to exit straight to the console.

new behavior:
Opening the emulator without -b passed causes the it to open normally.
Running the emulator without a valid bios set will cause it to display a dismissable error.
2019-03-25 22:16:17 -04:00
refractionpcsx2
558ec8a75e Added Integer Load Stalls to VU JIT (#159)
Added Integer Load Stalls to VU JIT
Fixed cross branch integer delay stalls on VU JIT
Bumped savestate version
Turn XGKICK delay off, seems to break more than it fixes (which is nothing)
2019-03-24 16:51:47 -04:00
PSI-Rockin
7910587f6f Rewrite IOP DMA to use request-based system
For a channel to transfer, it must have a request from its peripheral to do so

Also reimplement CDVD and SPU updates in the scheduler
2019-03-24 15:05:23 -04:00
water111
af1c8d8a74 Add integer load stalls and better integer branch delays to VU interpreter (#157) 2019-03-23 16:15:42 -04:00
refractionpcsx2
404a5d4ac2 VU JIT clamping revamp and other jitty bug fixes (#156)
* Revamped clamping on VU JIT to only clamp vectors being used for the current op. Seems some sneaky devs are storing integers in other vectors
* Handle instance where XMM1 is the reg being clamped
* Removed clamping on min/max instructions
* Swapped the order of min/max operations to keep GT4 happy, certainly a weirdness
* Fixed a bug causing the VU JIT to forget its state if a microprogram was uploaded on VU0
2019-03-23 12:43:38 -04:00
refractionpcsx2
d250d2f885 Fix issue with CSO reader passing 32bit boundaries (#155) 2019-03-22 20:40:19 -04:00
refractionpcsx2
2de60a9534 Fix some remaining PATH3 Masking problems (#154)
Fix a small issue with GIF paths getting queued when they were already active
2019-03-22 19:25:54 -04:00
refractionpcsx2
e9142094fe Move micromem disasm and crc calculation to MSCAL (#152)
Only disasm/crc when memory is dirty.
Give mscal a more appropriate name on the VU's
2019-03-22 08:09:55 -04:00
Matt Nadareski
9159e94cf2 Fix cmake (#153) 2019-03-22 08:08:59 -04:00
PSI-Rockin
8ec851fbeb Implement SCANMSK for the GS 2019-03-21 19:29:29 -04:00
PSI-Rockin
5f7b8895af More stall bug fixing... 2019-03-21 18:53:11 -04:00
PSI-Rockin
a44bceea01 Fix stall bug 2019-03-21 18:47:39 -04:00
PSI-Rockin
2341c3d818 Only stall drain in chain mode when the tag is REFS 2019-03-21 18:44:38 -04:00
PSI-Rockin
9b66acbe75 Set error code in IPU when encountering a VLC symbol error 2019-03-21 17:56:54 -04:00
PSI-Rockin
a7ea2070f5 Implement RGB32->RGB16 conversion in the IPU
TODO: dithering
2019-03-21 17:15:24 -04:00
PSI-Rockin
2088185350 Crash if IPU outputs 16-bit color 2019-03-21 16:41:44 -04:00
PSI-Rockin
b98cbdc96b Merge branch 'scheduler' of https://github.com/PSI-Rockin/DobieStation into scheduler 2019-03-21 13:47:29 -04:00
Kojin
bb8c4b6582 fix vs build (#148) 2019-03-21 13:46:58 -04:00
PSI-Rockin
7af5042a19 Fix to prevent segfaults on Linux 2019-03-21 13:46:58 -04:00
PSI-Rockin
7686e724a8 Remove bugged FlushCache HLE and implement CACHE IXIN
This should fix some timing issues, especially if games flush cache a lot
2019-03-21 13:46:58 -04:00
PSI-Rockin
577a116185 Fix build and COP2/VU0 sync bug 2019-03-21 13:46:58 -04:00
PSI-Rockin
6fb5e63774 Implement basic EE instruction cache
The CACHE instructions are unimplemented, though FlushCache is HLE'd. This will change soon.
Also update VU0 for the correct number of cycles on a COP2 instruction, rather than a static 16
2019-03-21 13:46:58 -04:00
PSI-Rockin
e370522b62 Remove instructions_ran 2019-03-21 13:46:58 -04:00
PSI-Rockin
c5e3ab4cf2 Implemented VBLANK start and VBLANK end as scheduler events 2019-03-21 13:46:58 -04:00
PSI-Rockin
071f821147 Stub for scheduler 2019-03-21 13:46:58 -04:00
PSI-Rockin
32de9fd11d Update STADR for SIF0 and SPR_FROM in normal mode 2019-03-21 13:15:34 -04:00
PSI-Rockin
e5913ecdcc Implemented stall drain control on the DMAC
Needed by Harry Potter and possibly others
2019-03-21 13:00:48 -04:00
PSI-Rockin
b556633371 Remove alpha_blending from draw_pixel as an argument 2019-03-21 11:00:21 -04:00
Kojin
59eb8dc733 Handle PSMCT8 in local_to_local() (#151)
Fixes regressions in level-5 games
2019-03-20 10:03:19 -04:00
PSI-Rockin
a6af1b310f Draw right sides of triangles and sprites if they intersect the scissoring boundary
Fixes black lines and bottom screen garbage seen in certain games
2019-03-19 20:41:59 -04:00
PSI-Rockin
704ec82126 Fix bad disassembly 2019-03-19 19:42:57 -04:00