Commit graph

47 commits

Author SHA1 Message Date
z2442
d3f3cd99e3 Small fix for textures on GLES 2025-02-02 19:51:46 -05:00
wally4000
677f53c592 Modernise DAEDALUS_USE and replace ARRAY_SIZE VARIABLE 2024-06-17 13:45:41 +10:00
Howard Su
fcc875fb46 Fix warnings, still left some 2023-12-06 08:52:37 +08:00
Carlos R
5a403c9f24 Refactored rom write support and clean ups for ROMBuffer.cpp 2020-06-12 17:17:58 -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
=
1c342d8c8f Revert all initialiser list variables. 2020-05-04 12:24:21 +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
mrbenslater
e4e258215f Fix Debug Build... 2019-01-25 20:42:57 +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
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
d2a3b3ee25 [~] Tidy Memory_{Read,WriteValue}.inl
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1679 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:03:49 +00:00
salvy
77a7230975 [~] Some clean ups to previous commit
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1676 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-14 20:23:49 +00:00
salvy
af19d1a3b3 [+] WIP: Implemented CPU framebuffer, used by demos, Donald Duck, Rayman 2 The Great Escape, and probably other games (currently W32/OSX only)
[-] Reverted small constant opt from previous commit, is not worth breaking when EPak isn't used

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1675 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-14 20:11:42 +00:00
salvy
0e62310a61 [!] Fixed Howard's audio plugin in W32 build (Audio doesn't work too well, should be nice to share OSX impl)
[~] OSX/W32 were calling updatescreen twice per frame, also sp semaphore should always be zero
[-] removed alot of deprecated files from W32
[!] Enable accurate tmem for W32
[!] W32 will use OSX input implementation

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1458 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-28 06:33:48 +00:00
salvy
e571e5fca2 [!] Finally fixed SSV cut scenes and glitch when walking by the windshield of the ship \o/
[~] Reverted changes to rom write support, no need to over think it since it works fine as it is

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1210 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-09 07:43:45 +00:00
salvy
edbee2b2c8 [!] Opps forgot this
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1209 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-09 03:23:32 +00:00
salvy
4035d2170a [!] Simplified write Rom support, use unused memory buffer to store value.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1208 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-09 03:10:31 +00:00
salvy
e72eefd1a7 [!] Fixed graphics not being displayed in x86 build
[!] Fixed a possible bug in R4300_Cop1_D_SQRT when SIM DOUBLES is disabled (x86)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1047 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-20 23:04:20 +00:00
strmnnrmn
e5a16569f0 [!] WriteValue_8440_844F should only skip graphics plugin ops on PSP
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@929 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-03 17:42:19 +00:00
strmnnrmn
8d02eaa1e8 [~] Fix inconsistent line endings (no functional changes)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@913 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-02 12:12:00 +00:00
salvy
ef2777cea3 [!] Optimized R4300_SWL/SWR/SDL/SDR
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@897 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-01-24 07:12:54 +00:00
salvy
d242daf73c [!] Simplified DacrateChanged (only PAL or NTSC are used anyways)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@895 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-01-18 22:33:41 +00:00
salvy
2bc64156e6 [!] Some clean ups
[!] Made guRotateF and volatile memory platform independent 
[!] Check for invalid reads/writes to PIF

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@870 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-20 21:50:27 +00:00
salvy
f3a82901af [!] Make sure FlashRead/Write regions are valid
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@868 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-15 01:34:15 +00:00
strmnnrmn
7eac7e42f2 Don't need to write to MEM_UNUSED
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@830 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-02 18:52:14 +00:00
strmnnrmn
ddebde05aa Remove some dead code, other minor edits to Memory code
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@829 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-02 18:52:09 +00:00
strmnnrmn
767e4efd9c Fix line endings
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@822 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-28 22:11:57 +00:00
salvy
6342020194 [!] Tweak gHotTraceThreshold so it can identify more hot traces for the dynarec (speed up)
[!] Optimized guNormalize_Mario
[!] Implemented osSpTaskYielded correctly (OSHLE works for Yoshi again) 
[!] For memory write funcs only use offset for look up

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@773 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-23 23:22:43 +00:00
salvy
b7f2771819 [!] Implemented osAiSetNextBuffer correctly (optimized it too)
[!] Allocate 8 bytes of memory to handle SP_PC_REG and SP_IBITS_REG (so we can use the pointer table opt and fix some bugs in OSHLE when setting pc)
[~] Removed nasty hack from osAiGetLength (no longer required since osAiSetNextBuffer is implemented correctly)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@760 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-02 03:00:53 +00:00
salvy
0f74f9f891 [!] Optimized VI read/write
[!] Fixed a bug in PI write

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@759 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-01 02:10:49 +00:00
salvy
ed7c346f47 [!] Optimized memory pointer table optimization (faster, and no longer computes the address twice when table is invalid) (Note: Dynarec is broken! Need to update DynaRecStubs.s)
[~] Removed "fast" memory write table (pointer table was already optimizing out) (saves memory too!)
[!] Increased maximum of clipped verts (Fixes Mortal Kombat 4) (Thnx jeanpave for reporting it)
[-] Reverted previous commit (I assumed wrongly that memory alloc was done in word size.. thnx Corn for pointing out!)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@747 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-08-15 00:27:28 +00:00
salvy
cbf9f1ff31 [!] Reduced PIF RAM even more, now is only 16 bytes
[!] Pre-swap when writing to PIF RAM, also simplified MemoryUpdatePIF

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@746 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-08-01 17:01:08 +00:00
salvy
90af62af88 [!] Reduce PIF RAM usage from 2048 bytes to 64 (It can be reduced more, but need to do some tests first)
[!] Enabled SI hack for Cruisn' USA (it boots now)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@745 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-08-01 09:13:05 +00:00
salvy
86bf8344e9 [!] Simplify a few more things in Memory.cpp
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@744 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-08-01 07:07:46 +00:00
salvy
d17c919540 [+] Add support for games that write to ROM (Bug's Life and Toy Story 2 boot now)
[!] Use fast memory read for DPC, AI, and SI reg
[!] Removed memory bound checking (paranoid checks..this was already disabled in release mode anyways)
[!} Several clean ups in memory.cpp

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@742 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-07-31 12:03:24 +00:00
salvy
02698955e6 [!] Rewrote N64 memory initialization (This based from 1964 and Mupen)
[!] Simplified ReadRom/WriteValue_Cartridge (FlashRam read/write is more robust too)
[!] Use attribute const for ReadAddress (hints compiler to optimize further)
[~] Lotsa of clean ups in Memory.cpp etc

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@739 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-07-28 07:21:28 +00:00
Corn
bc7a7177a2 [!] Added showing handled speed hacks (with OP code) in dynarec (undef DAEDALUS_SILENT)
[!] moved some code under DAEDALUS_SILENT to DAEDALUS_DEBUG_CONSOLE and DAEDALUS_DEBUG_DISPLAYLIST

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@737 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-07-24 13:40:26 +00:00
Corn
196a2dcaca [!] Reworked exception/BSOD information screen and log
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@720 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-07-11 16:42:22 +00:00
Corn
4d99abae21 [!] fixed audio pitch when using PAL ROMs (tnx re4thewin to point that out)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@705 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-06-17 08:34:29 +00:00
Corn
3f1e612b52 [-] Reverted LWC1/SWC1 FPU OPs (caused to many issues need more work)
[!] Reorganized Build Config flags

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@643 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-04-13 13:12:34 +00:00
Salvy
3688281091 [!] Made WarnMemoryErrors debug only
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@310 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-06-19 06:42:48 +00:00
Salvy
89dd5e5359 [!] Simplified DMA_PI_CopyFromRDRAM (we only for DOM2/ADDR2 anyways)
[!] Simplified WriteValue_Cartridge (Added notes too for games that write to ROM in DOM1/ADDR2..)
[!] Moved RTC READ out of ProcessEeprom to keep code clean, and added an assert for NOP cmds in PIF.
[~] Killed a couple of dead externals
[!] Signed extend DADD/DADDU and also operand in 32bit (fixes Excite Bike and saves 4 ops)
[~] Small clean ups here and there..

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@307 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-06-17 22:48:30 +00:00
Corn
5ae69dabbb [!] fix compile warnings
[!] fix clear option dialogs when not using exit confirmation
[-] remove unneeded variable for frame limiter

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@292 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-05-31 21:49:50 +00:00
Salvy
d3b181f9f7 [~} Forgot a few changes from last commit
[+] Added Animal Forest to roms.ini
[!] Clean up left overs of LLE RSP emulation
[+] Added speed hack for MRC - Multi Racing Championship in the cheat database
[!] Ignore SP_PC_REG/SP_IBIST_REG regs (they are only needed in LLE emulation)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@277 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-05-10 08:47:51 +00:00
Salvy
bdbd952c60 [+] Initial repo (based from r630 dx64 branch)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@3 42e9bfbe-799a-4a2d-bad1-236e862a387a
2010-12-24 04:37:41 +00:00