Commit Graph

87 Commits

Author SHA1 Message Date
Ilya Shurumov
93a14f8a06 - fix DrawTargetArrow
- included missing files
2020-06-01 01:08:51 +06:00
Ilya Shurumov
2d2eba91ff - fix emulator Quad triangle order 2020-05-31 20:15:50 +06:00
Ilya Shurumov
c9bbf35d4f - [EMU] [SPU-AL] cleanup of unused stuff 2020-05-31 02:27:54 +06:00
Ilya Shurumov
8b1a88af95 - [EMU] implement SetDrawEnv and fix DR_ENV 2020-05-31 02:27:24 +06:00
Ilya Shurumov
ce7fa1ee60 - [EMU] clear backbuffer in wireframe mode 2020-05-31 02:26:52 +06:00
Ilya Shurumov
f3ce1a6adf - fix car exit attempt message
- fix overlay map clipping
2020-05-30 20:49:53 +06:00
Ilya Shurumov
bc61a1a631 - [EMU] support DR_AREA and scissor tests 2020-05-30 20:25:05 +06:00
Ilya Shurumov
6c8d37216f - implement TargetArrow, DrawOverheadMap (partially) 2020-05-30 17:40:17 +06:00
Ilya Shurumov
8905d1e1bd - implement RotTrans
- misc fix
2020-05-30 13:35:34 +06:00
Ilya Shurumov
049ec30076 - add PAL/NTSC defines 2020-05-26 18:21:40 +06:00
Ilya Shurumov
75400561aa - implement AddCopCarLight, fix ShowCarLight
- fix DrawSprites
- [EMU] zero GTE flag in NCLIP
2020-05-24 13:43:04 +06:00
Ilya Shurumov
9061d775bb - replace some docop2* by corresponding gte_* macros 2020-05-24 00:25:48 +06:00
Ilya Shurumov
8f3c6156e6 - [EMU] PGXP fixes 2020-05-23 20:35:16 +06:00
Ilya Shurumov
3bc733f968 - [EMU] sanitize PGXP types 2020-05-23 12:48:12 +06:00
Ilya Shurumov
f8b9c3443c - [EMU] GTE PGXP NCLIP improvement 2020-05-23 11:43:40 +06:00
Ilya Shurumov
964b97c702 - [EMU] improve PGXP 2020-05-22 22:38:52 +06:00
Ilya Shurumov
8a9ccffef4 - half-float super-optimized PGXP implementation with perspective texture correction 2020-05-22 21:42:36 +06:00
Ilya Shurumov
dee23f3fc0 - split GTE ratan, rcossin, sqrt tables
- GTE_EXTERNAL if you don't want in-house GTE (example - Mednafen)
2020-05-22 16:28:53 +06:00
Ilya Shurumov
468e153672 - use GTE macros everywhere instead of direct register access 2020-05-22 16:25:24 +06:00
Ilya Shurumov
461dc5c59f - replace >> 12 and / 4096 with FIXED(v) macro 2020-05-20 19:48:19 +06:00
Ilya Shurumov
d4e4421418 - [EMU] Analogue pad initialization to center 2020-05-20 16:56:01 +06:00
Ilya Shurumov
6ba6fc6dbe - [EMU] fix ratan_tbl
- pretty some matrix code
- fix new AddWheelForcesDriver1
2020-05-20 13:17:57 +06:00
Ilya Shurumov
d774bdc5b9 - [EMU] implement ApplyMatrix*, ApplyRotMatrix, ScaleMatrix
- [EMU] pretty RotMatrix, TransMatrix
2020-05-18 12:34:10 +06:00
Ilya Shurumov
25ad47c9ed - [EMU] [SPU-AL] fixed looped sound clicking
- Mission complete "Next Mission" item is "Continue"
2020-05-17 23:45:53 +06:00
Ilya Shurumov
5c011ebdbd - [EMU] perfect vblank, eliminates WaitForTimestep hack in DrawGame 2020-05-15 22:38:03 +06:00
Ilya Shurumov
a93f34340e - [EMU] proper VSync callback emulation with VBlank emulation 2020-05-15 21:04:26 +06:00
Ilya Shurumov
fce7017c3b - [EMU] [SPU-AL] stop source before updating sample 2020-05-15 21:03:32 +06:00
Ilya Shurumov
6270cbea4f - implement InitPedestrians, DestroyPedestrian(s), ActivatePlayerPedestrian, SetTannerPosition
- little fixes
2020-05-15 14:50:30 +06:00
Ilya Shurumov
3074107cf0 - [EMU] implement SpuSetVoiceAR, SpuSetVoiceRR 2020-05-14 12:55:14 +06:00
Ilya Shurumov
83d13a5e91 - [EMU] SPU sample update to separate function 2020-05-13 22:03:35 +06:00
Ilya Shurumov
1af4efcdfa - [EMU] fixed SPU implementation mistakes
- enabled InitMusic
2020-05-13 20:29:10 +06:00
Ilya Shurumov
dfeacdc2d3 - [EMU] call vsync_callback if mode < 0 2020-05-12 21:48:15 +06:00
Ilya Shurumov
14b3ebf541 - implement PauseXM, UnpauseXM, UpdateSamples, FreeXM, StartXM, StopXM 2020-05-12 20:53:26 +06:00
Ilya Shurumov
6634d8520e - [EMU] temporary use SquareRoot0 with CRT implementation 2020-05-09 10:30:46 +06:00
Ilya Shurumov
9759ce8899 - ratan2 temporary uses atan2 from CRT 2020-05-06 10:02:09 +06:00
Ilya Shurumov
9c4e77b782 - [EMU] implement SpuGetVoiceVolume, SpuSetVoiceVolume, SpuGetVoicePitch 2020-05-02 08:14:40 +06:00
Ilya Shurumov
ecd1594fbc - [EMU] fix gte_ldv1, gte_ldv2 2020-05-01 14:51:24 +06:00
Ilya Shurumov
52c04e46de - [EMU] added Emulator_GetScreenSize
- [EMU] use better SPU constants
2020-04-27 19:56:18 +06:00
Ilya Shurumov
2973e1bbb7 - [EMU] game debug keys support 2020-04-27 13:53:23 +06:00
Ilya Shurumov
aee9488db4 - [EMU] warn if SpuWrite exceeds memory 2020-04-27 11:51:38 +06:00
Ilya Shurumov
792c9b817e - implement InitSkidding, TerminateSkidding, CheckCarEffects
- marked LoadSoundBankDynamic as BUGGED
- [EMU] little attempt to fix SPU sample lookup
2020-04-27 11:27:09 +06:00
Ilya Shurumov
10a4ec93ff - [EMU] fix decodeSound 2020-04-27 10:35:09 +06:00
Ilya Shurumov
26be016644 - [EMU] libSPU fixes 2020-04-27 09:16:59 +06:00
Ilya Shurumov
04524b7aee - [EMU] properly implement SquareRoot0 2020-04-26 13:48:02 +06:00
Ilya Shurumov
028adb3726 - [EMU] implement SquareRoot0 2020-04-26 13:04:44 +06:00
Ilya Shurumov
1d675380d5 - [EMU] SpuSetVoiceAttr sets gain 2020-04-26 12:39:22 +06:00
Ilya Shurumov
a8e611b83a - make LIBMATH include math 2020-04-26 06:44:42 +06:00
Ilya Shurumov
222c8e1e59 - emulator swap interval to 60 FPS
- Ghidra DB update
2020-04-26 06:33:15 +06:00
Ilya Shurumov
d6f4b22732 - Latest emulator updates (inc PGXP) 2020-04-23 13:25:56 +06:00
Ilya Shurumov
947e6eeef6 - added gte macros 2020-04-21 17:04:42 +06:00