Commit graph

93 commits

Author SHA1 Message Date
Wally4000
c7bed4c5a5 Pass filename by reference to avoid copies 2023-04-29 12:21:30 +10:00
Wally4000
8dad095428 Fix savestates due to experimental mutex. 2022-06-30 17:56:03 +10:00
Wally
9fe0d7666f Use modern alignas specifier 2022-06-19 13:55:08 +10:00
Wally4000
f5468b6bef use std::mutex here 2022-06-13 22:42:34 +10:00
Wally4000
b0185d6441 Begin introducing std::filesystem more 2022-04-19 20:22:58 +10:00
Wally4000
3fec82b04d Remove stdafx.h for consistency 2022-03-22 18:06:17 +11:00
Wally4000
eadc1b3758 move from typedef to modern using declaration 2021-10-18 18:58:14 +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
da6b5132b3 *Proper implementation for Branchz and added Zelda implementation, thanks Rinnegatamante
*Optimization in CPU_CheckStuffToDo
2020-07-10 13:30:21 -07:00
=
1511baa25e Fix up paths in headers 2020-05-27 19:20:52 +10:00
=
1c342d8c8f Revert all initialiser list variables. 2020-05-04 12:24:21 +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
z2442
275aacd212 more nullptr updates 2019-05-03 21:09:20 -04: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
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
Ben Slater
c562b76641 *Clean build from StrmnNrmns repo 2019-02-27 17:04:51 +11:00
Ben Slater
25cafe132e Reverted a change to fix Savegames so we can release 1.1.6 2019-02-22 23:25:42 +11:00
Wally
e17fdddadf [~] Fix Conker Regression
[+] Remove a hell of a lot more missed asserts.
2019-01-23 17:05:36 +11:00
Wally
0111275f23 Move a lot of debug stuff out of Release Build 2019-01-21 14:26:00 +11:00
salvy
e691015226 [!] Fixed and optimized IS_SEG_8000 (Corn)
[+] Glover needs rounding mode (PSP)
[!} Fixed crash in Paper Mario when Mem opt is enabled
[!} Removed unused entry from PatchSymbol struct
[-] Remove DAEDALUS_IS_LEGACY (all dead code is removed by the compiler anyways)
2013-11-07 00:19:23 -08:00
salvy
fa52955863 [!] All libraries for W32 build are now statically linked
[!] Do not use fast call for W32, anyways R4300_CALL_TYPE ensures dynarec can use fast call
[!] Removed PSP project files from MSVC11 solution, please use devkitpro.bat or minpspw.bat for compiling the PSP build
[+] Now is much easier to compile W32 build, third party libraries can be built and linked in the same solution

NOTE: These changes are only for MSVC11 project, I'll update the other project files eventually
2013-08-19 08:28:31 +01:00
Paul Holden
c7125668f4 [~] Move System.{h,cpp} to System/ 2013-06-04 22:02:31 +01:00
Paul Holden
067a594a9f [~] Move ConfigOptions.{h,cpp} to Config/ and tidy header include order. 2013-06-04 22:02:31 +01:00
strmnnrmn
7f6a40f167 [~] Give Save a C-style interface
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1735 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-06-01 08:40:01 +00:00
strmnnrmn
3d4a0c0e95 [~] stdafx cleanup: Move utility macros to Utility/Macros.h and directly include where needed.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1691 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:05:35 +00:00
strmnnrmn
77b648e0cb [~] Rename g_pAiPlugin to gAudioPlugin
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1680 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:03:56 +00:00
strmnnrmn
60b77cc4eb [~] Update a FIXME about Save::Flush
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1612 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-23 22:33:17 +00:00
strmnnrmn
649ee692ef [~] Call the profiler update function from the cpu callback
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1611 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-23 22:33:10 +00:00
strmnnrmn
6a2ca5d454 [~] BatchTest can use the new vbl callback
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1604 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-23 22:32:19 +00:00
strmnnrmn
93ceb18cd7 [~] Give CPU_Reset and CPU_Finalise more accurate names
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1603 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-23 22:32:10 +00:00
strmnnrmn
51bcbbaec8 [~] CPU vbl callback stuff should compile on PSP too
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1602 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-23 22:32:01 +00:00
salvy
286ca28551 [!] Fixed W32 build
[!] Optimized DMEMMOVE3
[!] Aligned aligned path of memcpy_byteswap for W32 will use MSVC's impl since it takes advantage of SSE which is much faster than our impl

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1597 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-17 05:26:13 +00:00
strmnnrmn
3ff264bb34 [+] Add a callback interface to the vbl handler. Move HandleSystemKeys to SysGL
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1587 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-16 12:04:07 +00:00
strmnnrmn
bf44c3fb1b [~] Tidy CPU.cpp
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1586 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-16 12:04:02 +00:00
strmnnrmn
8bd453b524 [+] Update the savestate loading logic to handle switching roms if necessary. Also, made the ESC key quit out.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1578 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:25:55 +00:00
strmnnrmn
0981c858df [~] Shuffle functions around to keep the SaveState code together
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1575 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:25:36 +00:00
strmnnrmn
e6e0ee15a6 [~] If the cpu is not running, we don't need to deal with gSaveStateXXX
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1574 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:25:30 +00:00
strmnnrmn
d48086262d [~] Simplify CPU_{Save,Load}State. CPU_LoadState didn't return the result from SaveState_LoadFromFile - don't know if this is intentional, but it seems wrong without comments.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1573 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:25:24 +00:00
strmnnrmn
7a453bb916 [+] System_Open init steps should be able to fail - e.g. if the specified file can't be found.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1570 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:25:05 +00:00
strmnnrmn
6dee6e84c0 [-] Strip out a load of unused debug console cruft
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1566 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:24:36 +00:00
strmnnrmn
604f19f1d0 [~] Minor tidying
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1562 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:24:02 +00:00
strmnnrmn
a173d781bc [-] DAEDALUS_TRAP_PLUGIN_EXCEPTIONS is not used now, as we don't use external plugins.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1559 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:23:38 +00:00
strmnnrmn
2247bc0b1a [~] Tidy CPU a little - CPUMain is only called from CPU_Run now
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1558 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:23:31 +00:00
strmnnrmn
2862ae330a [-] W32 CPU thread stuff isn't needed any mode
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1557 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:23:25 +00:00
strmnnrmn
970da5ea8b [+] Quick save/load for OSX/PC etc (F8 to load, F9 to save).
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1554 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:23:07 +00:00
salvy
0801ac4ed2 [!] Moved W32 audio thread back to main thread (was causing various issues, it would be nice to get it working though)
[!] Fixed issue in pixel shader that was affecting my video card (Thx StrmnNrmn)
[!] Copy n64.psh to build dir (W32)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1543 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-08 01:43:40 +00:00
salvy
b74a4c97f2 [!] W32 audio should be updated after LenChanged
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1497 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-31 15:53:16 +00:00
strmnnrmn
60991d6c79 [~] Compile fixes
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1495 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-31 09:45:54 +00:00
salvy
09e34868f0 [~] More clean ups for W32 (We can always pulled out any deleted file from the SVN if needed)
[!] undef DAEDALUS_TRAP_PLUGIN_EXCEPTIONS for W32

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1467 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 04:34:06 +00:00