Commit graph

681 commits

Author SHA1 Message Date
Wally4000
4b54ce3dbb Up to C++ 20, fix some filesystem operations 2022-01-30 19:56:41 +11:00
Wally4000
6f73fd820d Use a template for make_uncached_ptr and clean up 2021-12-24 15:05:18 +11:00
Wally4000
cd80cfc6de Just use strcasecmp now. All platforms support it 2021-12-09 16:05:21 +11:00
Wally4000
f8d3c6255b Allow for ROM Header Info to display in release 2021-11-23 12:26:02 +11:00
wally4000
4fbc81a4ac Use std::max and std::min 2021-10-23 22:12:40 +11:00
Wally4000
b9ce367826 Begin internal path stuff with std::filesystem 2021-10-18 22:29:23 +11:00
Wally4000
eadc1b3758 move from typedef to modern using declaration 2021-10-18 18:58:14 +11:00
Wally4000
124cc6bef1 Change from typedef to mdero 2021-10-18 18:57:04 +11:00
Wally4000
a1474dd68a Use Toolchain provided IntraFont / KUBridge. Don't build as PRX for now 2021-10-16 17:53:40 +11:00
Wally4000
15e3e2a1d0 Update to the Bazel Directory Structure.. 2020-08-22 18:42:41 +10:00
Carlos R
6311dba429 Added savestate support to the Linux build
Usage is: There's 9 slots available for savestes, pressing ctrl + 0-9 will create a savestate and pressing 0-9 will load the savestate
*Properly exit the emulator when the Daedalus window is closed, also the emulator can now be exited when pressing escape
*Properly disabled gamepad support, also added a define to re enable once it gets implemented with SDL
*Moved key polling events to a callback
2020-08-09 13:32:21 -07:00
Carlos R
91f2641796 Removed workaround for incompatible savestates that is no longer needed 2020-08-09 12:06:55 -07:00
Carlos R
01a3356327 More improvements for Sprite2D
*Fixed typo in the bound check from last commit
*Added hack for WCW Nitro, fixes sprite issues, this game should be playable now
*Refactored Sprite2D for consistency (same structure as S2DEX)
2020-08-01 14:29:49 -07:00
Carlos R
b06ba224f4 Roms.ini fixes
*Fixed a bug causing some roms to not get properly parsed (thanks Rinnegatamante for the fix!)
*Added roms.ini entries from the Vita repo, also deleted duplicate entries
2020-07-19 14:51:17 -07:00
Carlos R
3de6b8210e Fixes and improvements for hle cache and mempack support
*Fixed mempack support when savetype is not unknown, for simplicity we always assume the presence of the mempack. Ill add proper support to disable it later
*Removed force flag for Save_Flush, this was a legacy flag mainly used to manually allow users to force saving
*Moved hle cache directory inside the SaveGames folder and removed all the duplicate code added when it was moved to its own directory
*Fixed accurate TMEM for the PSP (still disabled on the PSP)
2020-07-12 14:10:40 -07:00
Carlos R
b37c629d8a *Defined DAEDALUS_SILENT for release builds to
*Fixed batch test for Linux and tidy when setting path for executable
*Fixed rom.db for linux
2020-07-11 15:10:55 -07:00
Carlos R
da6b5132b3 *Proper implementation for Branchz and added Zelda implementation, thanks Rinnegatamante
*Optimization in CPU_CheckStuffToDo
2020-07-10 13:30:21 -07:00
Carlos R
5a403c9f24 Refactored rom write support and clean ups for ROMBuffer.cpp 2020-06-12 17:17:58 -07:00
Carlos R
e213b81291 Fixes for DMA SP and memcpy swizzle
[*] Fixed memcpy usage for aligned path for the memcpy swizzle and also enabled it for Linux/OSX
[*] Refactored unaligned path for memcpy swizzle and also fixed memcpy_test
[*] Set correctly sp mem region for DMA_SP
2020-06-10 09:25:14 -07:00
Carlos R
703b2663d4 Fixes for flash ram and rom read
[*] Removed redundant check for flashram read/write, actually this was incorrect for flashram read..
[*] Added return for failed DMA flashram transfers
[*] Set correct save type for Derby Stallion
[*] Set flashram type correctly, fixes saving for Derby Stallion
[*] Added check to prevent reading rom from out of range
2020-06-09 22:36:05 -07:00
Carlos R
f19e4262e5 DMA fixes
* Added check for odd PI DMA length, fixes Doraemon 3
* Fixed incorrect mask for spmem_address, thanks Rinnegatamante for pointing out this
* Moved rdram overflow check outside the count loop
* Added FAST_DMA_SP define and enforce 8 byte alignment for correctness. This is still only enabled for the PSP but should be safe to enable for other platforms where speed its important
* Small clean ups
2020-06-09 21:31:11 -07:00
=
1511baa25e Fix up paths in headers 2020-05-27 19:20:52 +10:00
Carlos R
0a1581d4e5 Fixes for MemoryUpdateSPStatus
*Make code more readable
*Fix bug where we weren't clearing the SP_STATUS_BROKE bit and ensure the RSP tasks are executed when clearing this bit
2020-05-26 22:02:37 -07:00
Carlos R
1ea107e15a Misc changes
*Added FB task from the Vita port. verified working on PPL
*Disabled OSHLE for linux/osx, we don't have a dynarec, no point to have it enabled
2020-05-26 20:32:50 -07:00
Carlos R
7937cc748c * Implement missing dom1/addr1/3
Fixes bug in Paper Mario where a save slot will get duplicated also fixes a bug in Majora's Mask where link did not have a shield and sword during the first movie
2020-05-16 15:02:35 -07:00
=
f28b4788a5 fix saves / Disable debug console on release
Fix more {}
2020-05-07 17:55:26 +10:00
=
939fe5027d Add Rinne's commit to fix rendering issues. 2020-05-06 11:25:14 +10:00
=
1c342d8c8f Revert all initialiser list variables. 2020-05-04 12:24:21 +10:00
joey
c8b7a08d29 Regression 2020-04-29 18:50:50 -04:00
joey
4c059c51b7 Makes candles and other effects appear in OB64 2020-04-28 08:49:36 -04:00
=
09dd54c362 Merge SDL2 branch to Master 2020-04-18 11:05:38 +10:00
joey
9056cce916 Fixed narrowing errors on Clang / OSX build 2020-04-15 19:53:32 -04:00
=
5cb6b8d146 Apply fixes from Vita Repo for mempak fix. Thanks Rinnegatamante and m464p-nx 2020-04-15 15:47:40 +10:00
z2442
e3e8e2f920 Fix loading text for large rom buffer 2019-10-18 20:43:17 -04:00
z2442
dd95ab0f7d Added a speed hack / revert async to faster version 2019-10-05 10:47:58 -04:00
z2442
714242fa28 Add a b of 9th fix from mupen* 2019-09-27 19:39:21 -04:00
z2442
9a7552956a Fix Debug build
Correct Async Audio
2019-09-24 20:16:41 -04:00
Ben Slater
0e2d2369c4 Reverted base renderer 2019-05-27 17:34:13 +10:00
Wally
2d7157e5a9 Got SDL2 build compiling again.. Not sure if it works yet, crashes KDE on my VM 2019-05-27 13:00:23 +10:00
Ben Slater
8a786ad05f Tidy up a function in CPU ~.5fps in some games
Tidy up some pre-initialised variables / old style Variables in R4300
2019-05-11 10:42:21 +10:00
Ben Slater
cac4b9c0ed Removed some missed asserts 2019-05-07 10:36:10 +10:00
z2442
275aacd212 more nullptr updates 2019-05-03 21:09:20 -04:00
Ben Slater
6a725bf99e Removed a bunch of asserts / debug options from release build, stabs a bunch of compiler warnings 2019-05-03 17:43:44 +10:00
Ben Slater
eb134c1262 Moved some more asserts and profiling stuff out of the way to stop the compiler whinging.
Start restructuring audio plugin.. (Needs a diagram now)
2019-05-02 20:46:56 +10:00
z2442
d90bac8ef5 clean up narrowing errors 2019-03-23 20:24:40 -04:00
Wally
874c4ebd91 Fixed some narrowing issues, reverted ME back to what it was.. Still playing up
Removed the Rounding mode stuff in the R4300.cpp
2019-03-23 23:02:18 +09:00
Wally
da7c4c8fb8 Revert savestate file changes as it changed the control order.. 2019-03-23 22:22:57 +09:00
Wally
4e04cdc3b6 Finished adding the remainder of the Assert management / C11 stuff in the Core.
Removed Registers.cpp from main build as is not required
2019-03-23 22:09:21 +09:00
Wally
8360389ce8 Tidied up the R4300 / PIF files, there's a small speed boost 2019-03-23 21:38:42 +09:00
Wally
d268338d6c Move debug stuff from release / Move to C11 inits in Core / Add Motos fancy new icons 2019-03-23 17:53:26 +09:00