Commit graph

71 commits

Author SHA1 Message Date
Wally4000
5c7d7d48a6 Updated a bunch of pointers so they're unique. 2023-06-26 22:11:29 +10:00
Wally4000
060557db9b Use smart pointers for singleton and graphics 2022-07-16 00:36:25 +10:00
Wally4000
c9df0d49d0 Use FileSystem for more things 2022-04-28 13:20:10 +10:00
Wally4000
3fec82b04d Remove stdafx.h for consistency 2022-03-22 18:06:17 +11:00
Wally4000
0044d9ae30 Exclusive PSP Utilities should be in PSP/Utility 2022-01-31 11:19:44 +11:00
Wally4000
6f73fd820d Use a template for make_uncached_ptr and clean up 2021-12-24 15:05:18 +11:00
Wally4000
f94deb4a85 bufferwidth and pixelformat are not s32 variables 2021-10-16 17:26:18 +11:00
Wally4000
15e3e2a1d0 Update to the Bazel Directory Structure.. 2020-08-22 18:42:41 +10:00
=
1511baa25e Fix up paths in headers 2020-05-27 19:20:52 +10:00
Ben Slater
e9f95d3f18 Tidied up code more, removed some more asserts and debug stuff 2019-05-22 14:26:24 +10:00
z2442
7d600c8f29 psp Dynarec + Graphics nullptr 2019-05-03 20:32:33 -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
c562b76641 *Clean build from StrmnNrmns repo 2019-02-27 17:04:51 +11:00
Wally
e17fdddadf [~] Fix Conker Regression
[+] Remove a hell of a lot more missed asserts.
2019-01-23 17:05:36 +11:00
mrbenslater
bfd0e3d055 Revert "Mostly done moving debug stuff"
This reverts commit f8c10f97b7.
2019-01-21 21:29:08 +11:00
mrbenslater
f8c10f97b7 Mostly done moving debug stuff 2019-01-21 20:54:18 +11:00
z2442
8433b9935d
updates to native 240p 2018-12-22 16:08:51 -05:00
z2442
2a3ab05c88
Update GraphicsContext.cpp
adding 240p tv output
2018-12-21 13:34:54 -05:00
TheMrIron2
d2addbf2d1
Fix 4:3 resolution
Standardised to 512x448
2018-08-23 22:22:10 +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
d386e7fbd1 [~] Change some more szFilePath -> filepath
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1740 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-06-01 08:40:27 +00:00
strmnnrmn
b05c813379 [~] Huge filename cleanup. Use IO::Filename rather than char [MAX_PATH] or char [MAX_PATH+1]. Add an IO::Path::Assign. Use IO::Path::Assign/Combine rather than strcpy/strcat/snprintf. Remove MAX_PATH (everything should use the constant in IO.h if required, then we can make this platform specific)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1686 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:04:55 +00:00
strmnnrmn
488d105cc4 [~] Move some RDP state to RDPStateManager. RDP.cpp is pretty defunct now...might make more sense to rename RDPStateManager to RDP and reduce typing :)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1292 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:54:52 +00:00
salvy
444a12c3ce [!] Removed checks to avoid necessary viewport update from BeginScene (Is only called once per frame andyways)
[!] Enable memory access opt for LB (Mario 64 doesn't crash anymore with it, still risky, small speed up, let me know if any game stops working with mem opt option)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1157 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-03 22:20:47 +00:00
strmnnrmn
9a77dad8a8 [*] Rename PSPRenderer to BaseRenderer. (PSPRenderer will return, but just with PSP specific bits in it)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1108 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-02 15:46:32 +00:00
strmnnrmn
cf57a2b8d7 [~] Rename ClearWithColour to ClearColBufferAndDepth. Pass a c32 for consistency with ClearColBuffer, and remove the depth arg (always 0)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1092 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-24 11:09:49 +00:00
strmnnrmn
9ec164f1bb [~] Implement ViewportType on OSX. Make const.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1091 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-24 11:09:39 +00:00
strmnnrmn
de11411cbc [~] Tidy up GraphicsContext Clear functions - the overloading was a bit confusing so I renamed them. Clear(bool,bool) only ever took (true,true) as arguments, so just call it ClearToBlack and simplify the code a bit
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1089 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-24 11:09:22 +00:00
strmnnrmn
2cd54e7536 [~] GraphicsContext UpdateFrame return was unused. Rename GetBufferSize to GetScreenSize, and use to avoid exposing SCR_WIDTH/SCR_HEIGHT
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1077 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-23 15:52:29 +00:00
strmnnrmn
7ea2b6a024 [~] Tidy CGraphicsContext::Create for PSP - impl is in .cpp file so don't bother with protected members and friends
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1076 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-23 15:52:19 +00:00
strmnnrmn
c2f01ec6b4 [~] Tidy CGraphicsContext::Create for PSP
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1075 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-23 15:52:12 +00:00
strmnnrmn
ea88e30f58 [~] Add a GraphicsContext.cpp for OSX
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1074 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-23 15:52:05 +00:00
strmnnrmn
319601baa1 [~] Encapsulate some display list debugger state
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1021 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-18 21:00:03 +00:00
strmnnrmn
a629bb2803 [~] Move some DL debugging code (printf style, not the interactive debugger) to a separate DLDebug.cpp
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1019 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 21:27:37 +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
strmnnrmn
b032afb3f0 Merge some whitespace fixes
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@909 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-02 12:11:36 +00:00
salvy
d2de763192 [!] Used a temporal buffer for storing screenshots for savestates
[!] Take savestate screenshot after the next frame rather than storing it in a buffer
[!] Optimized Patch_osCreateThread


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@872 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-21 21:02:39 +00:00
Corn
e3a7eb552b [+] Added storing and displaying previews to Save States (Uses a 128kByte buffer)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@871 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-21 17:38:31 +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
strmnnrmn
0e698c385d Fix all the remaining mixed newlines
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@852 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-08 14:21:04 +00:00
strmnnrmn
d7d116642a Fix more trailing whitespace (files with CRLF line endings?)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@825 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-28 23:23:11 +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
Corn
81a3410b43 [!] Added Fullscreen HD mode(scales 3D to proper 16:9 format. Note: don't work on all ROMs yet)
[!] fixed typo/error in Makefile 

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@769 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-15 13:02:56 +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
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
Corn
fd193ee214 [!] Auto speed adjustment hack for Rayman/Donald duck/Tom and Jerry
[!] Removed some redundant checks for SOTE


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@550 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-20 14:09:13 +00:00
Corn
b0be7be5fa [+] added assert for PSP Dlist overflow
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@547 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-19 21:05:31 +00:00
Corn
0d6fe722c0 [+] Using volatile memory for PSP Dlists (saves 2Mbyte of regular memory)
[!] Reduced the time a texture is cached unless used (should help Phat owners a bit since it saves some texture memory)
[!] Added TLUT hack and disabled Loop Opt. for Star soldier-vanishing earth

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@546 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-19 10:23:03 +00:00
Corn
1ec3679b8f [!] Graphical fix for Tom and Jerry (T1 hack)
[!] Fixed BSOD in top gear rally (seems to have other issues too with floats)
[!] Fixed BSOD in Star Soldier - Vanishing Earth

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@545 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-18 16:09:20 +00:00
Salvy
4d6cddfcd3 [!] Fix clean scene not working properly when games are clearing the screen (PD)
[!] Simplify check to clear screen
[!] Decode fill color even when clearing screen (fixes bug in PD)
[!] Simplify DLParser_FillRect
[!] Load RDP_Combine in one go (saves 2 ops)
[!] Ignore mem0+mem1 blend in fillrect (is cheaper than handling in general blender after all..)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@513 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-03 22:29:43 +00:00