David Guillen Fandos
eb50c15b1c
Remove CHANGED_PC_STATUS, simplify update flow
2023-04-24 20:24:03 +02:00
David Guillen Fandos
bd39c03992
Improve tracing a bit, also in interpreter mode
2023-04-15 02:02:17 +02:00
David Guillen Fandos
42c6bb2761
[x86-32] Fix missing function_cc
...
This messed up timings between the 32 bit version and the 64 bit version
2023-03-03 21:05:12 +01:00
twinaphex
f0f0b31f9a
Cleanups
2022-04-09 08:50:38 +02:00
David Guillen Fandos
3a6ca8d941
Better cycle accounting, taking remainders partially into account
2021-12-21 19:59:33 +01:00
David Guillen Fandos
2419b77b28
Add reg tracing capability (for devs)
2021-12-11 11:27:59 +01:00
David Guillen Fandos
6a59c71d55
Get rid of enums (to u32) for better compat
...
Serialization code needs u32 to ensure compatiblity. In platforms with
short enums this goes very wrong. Fixes issues on 3DS platform.
2021-10-15 21:28:40 +02:00
David Guillen Fandos
7068cbc95b
New savestate implementation
...
This uses BSON as savestate format, to allow external tools to parse it
(so that we can add proper test of the states). The BSON is not 100%
correct according to spec (no ordered keys) but can be parsed by most
libraries.
This fixes also a bug in the savestate palette color recalculation that
was wrongly overwritting the original palette (which could cause some
problems on some games).
Also fixes some potential issues by serializing some more stuff and
cleans up unused stuff.
Testing shows that states look good and there's only minor differences
in audio ticks, related to buffer sizes (since buffer flushes are
de-synced from video frames due to different frequency).
2021-08-24 17:15:27 +02:00
David Guillen Fandos
1e976fb312
Remove unused stuff and fix const variables
...
Trying to figure out what needs to be part of a savestate :)
2021-08-24 10:57:30 +02:00
David Guillen Fandos
86b365f065
Remove unused variable
2021-08-21 16:59:07 +02:00
David Guillen Fandos
77803adcac
Remove more unused stuff
2021-08-20 17:39:35 +02:00
David Guillen Fandos
c9421e6929
Some small cleanup to make the code more C++ conformant
2021-07-11 13:35:21 +02:00
David Guillen Fandos
f6f3a91039
Adding Normmatt's BIOS as a built-in BIOS
...
Add options to select whether to boot from BIOS (default is no, as it is
now) and whether to use the original bios or the builtin one (default is
auto, which tries to use the official but falls back to the builtin if
not found).
2021-03-22 21:45:52 +01:00
David Guillen Fandos
5127f4b5cc
Remove PSP-specific stuff from MIPS backend
...
This is unnecessary since newlib supports all file I/O.
This is needed for other mips ports
2021-03-10 18:41:37 +01:00
jdgleaver
226bd8283a
Overhaul frameskip options
2020-10-24 14:58:40 +01:00
twinaphex
fa80ff3c4b
Cleanups
2020-10-06 03:09:13 +02:00
bmaupin
f484239f9c
Add automatic frame skipping
2020-03-10 13:51:03 -04:00
bmaupin
3df169d3e8
Add manual frame skipping
2020-02-28 13:23:56 -05:00
bmaupin
89e55e9902
Reenable native file IO on PSP
2019-10-03 13:53:34 -04:00
twinaphex
5e55f00fd1
Cleanups
2015-07-30 03:07:03 +02:00
twinaphex
51d78afa09
Add HAVE_DYNAREC ifdef
2014-12-10 17:06:09 +01:00
twinaphex
7a0b0cba45
Style nits
2014-12-10 15:47:19 +01:00
aliaspider
f10da5d664
cleanups
2014-12-10 13:10:25 +01:00
aliaspider
a926a68eb3
cleanups
2014-12-10 12:53:26 +01:00
aliaspider
41484cd73c
use correct save directory.
2014-12-10 12:00:12 +01:00
aliaspider
ad485d434a
implement retro_serialize/unserialize
2014-12-10 11:06:17 +01:00
twinaphex
471a94f890
Move IN_MEMORY_C ifdefs to memory.c
2014-12-09 21:37:58 +01:00
twinaphex
92812a1213
Remove unused clock_speed variable
2014-12-09 17:34:37 +01:00
twinaphex
4b4a78878b
Remove set_clock_speed
2014-12-09 17:32:51 +01:00
aliaspider
3cc3944725
add debug build option to x86 standalone target.
2014-12-09 02:43:59 +01:00
aliaspider
8f9b841f72
can compile
2014-12-09 00:17:28 +01:00
notaz
d0944fc942
store saves and configs in gpsp dir
...
Don't like ROM dir littering.
Still looking there for .sav and .cht files though.
2011-09-08 00:48:33 +03:00
notaz
2f1c528a6c
tweak sound buffering and timing to better match pandora's refresh.
...
this also changes how direct sound channels are started and
sample step precision is increased to hopefully fix gbc + direct
channel desync that has been reported on the forums.
2011-09-08 00:48:33 +03:00
notaz
bbba320911
enable -Wall and fix warnings reported by it
2011-09-06 00:18:06 +03:00
notaz
43c24b301d
refactor GP2X stuff for pandora reuse
2011-09-04 20:19:13 +03:00
notaz
ee0a3871f9
get rid of GP2X_BUILD checks where they are not really needed
2011-09-03 01:01:17 +03:00
notaz
1d02ca7575
fixed clock and scaling config saving handling
2009-06-21 22:54:28 +03:00
notaz
2823a4c819
original source from gpsp09-2xb_src.tar.bz2
2009-05-21 18:48:31 +03:00