PeterLemon
f08ffadc04
Revert "Remove wrong 'const' qualifier for is_viewer pointer"
2018-09-10 20:58:18 +01:00
Pavel I. Kryukov
8b2f77ed6c
Remove wrong 'const' qualifier for is_viewer pointer
2018-09-10 11:36:21 +03:00
Thomas Lercher
8dfae37edb
Fix thread_setname handling for macOS and older Windows APIs
2018-05-05 23:01:35 +02:00
Thomas Lercher
c16a317b3d
Add thread names
2018-05-05 17:43:36 +02:00
Mike Ryan
8d0e7bb627
pi: add support for IS Viewer 64
...
When -is-viewer is passed on the command line, create an IS Viewer
object that intercepts writes at 0x13FF0000. This is used by Ocarina of
Time Master Quest Debug to log debug messages.
The messages are encoded in EUC-JP, so we bring in iconv to convert that
to UTF-8 so the messages can be printed to modern consoles.
Props to jrra (@jkbenaim) and spinout for reverse engineering the
interface and documenting it: http://wiki.spinout182.com/w/IS64
2017-02-28 19:55:55 -08:00
Jason
1c518539c2
Add note about debugger not existing
2016-08-31 21:45:04 -04:00
Jason
6cd0777286
Fix -debug argument parsing
2016-08-31 21:44:58 -04:00
Mike Ryan
36a4a6fdfa
dd: identify IPL and add support for all known dumped IPLs
...
This also fixes a regression introduced in 3900be4
that prevented the DD
IPL from booting.
2016-08-31 18:33:15 -07:00
Tyler J. Stachecki
ed08c028e5
sha1: MSVC is braindead, so help it out a little.
2016-06-26 17:20:25 -04:00
Tyler J. Stachecki
3288229a50
Start fixing MSVC builds.
...
Conflicts:
rdp/n64video.c
2016-06-26 17:19:17 -04:00
Mike Ryan
406b080fd1
multithread: stop all threads from running when window is closed
...
Add a "running" boolean to the master device struct, and set it to false
when the main window is closed. All the tight inner while (1) loops now
become while (running).
Closes #24
2016-06-19 09:56:24 -07:00
Tyler Stachecki
154343bdea
Commit latest fork of angrylion/MAME RDP.
...
Conflicts:
device/device.c
2016-06-17 05:06:34 -04:00
Mike Ryan
73f4420a4c
fix all build warnings, does not affect functionality
2016-06-16 20:40:51 -07:00
Simon Eriksson
802556002e
Added region field in cart DB.
...
This field is required in order to distinguish between regional
versions where the game ID is the same but the save type differ,
such as the Castlevania games.
Also added more Japanese-specific game IDs and edited some descriptions.
2016-04-03 11:12:31 -04:00
exhalatio
852f6cea24
Add Save list entry in the cart DB.
2016-03-16 12:04:32 +09:00
Simon Eriksson
8d17792969
Minor fix to description in cart DB.
...
Majora's Mask has the same ID in all regions.
2016-03-12 16:20:56 -05:00
Simon Eriksson
1b33cffa9c
Add description field in the cart DB.
...
This description is printed along with the ID when a cart is detected.
Also includes a fix to a bug in the cart DB verification function.
2016-03-06 13:56:19 -05:00
Tyler J. Stachecki
d2d9dd6371
simer's cart db patch.
...
simer suggested (and implemented) the use of ROM IDs instead
of titles: "I've also found that the header name in some cases
are too inprecise, for example "TOP GEAR RALLY" has EEPROM 4K
for the Japanese and European versions, but not for the American.
2016-02-27 15:39:26 -05:00
Tyler J. Stachecki
08f1667432
Expand the cart list.
...
Thanks: Snowstorm64 and krom.
2016-02-21 21:02:36 -05:00
Mike Ryan
3235ee74eb
options: document controller and save options
2016-02-05 21:44:53 -05:00
Tyler J. Stachecki
3c7765b136
(More) fixes for SHA1 compilation errors on Windows.
2016-01-30 15:42:42 -05:00
Tyler J. Stachecki
36b2aabc2b
Fixes for SHA1 compilation errors on Windows.
2016-01-30 15:42:35 -05:00
Tyler J. Stachecki
9e33765f2e
Standardized type names! Who would use such things?!
2016-01-30 15:04:14 -05:00
Tyler J. Stachecki
63b2709dc0
Bad implementation of PI delay.
2016-01-30 14:58:31 -05:00
Tyler Stachecki
80cd82e571
Merge pull request #29 from mikeryan/sha1-validate
...
validate SHA1 of important files
2016-01-28 00:36:30 -05:00
Mike Ryan
1146c33755
sha1: validate NTSC-J pifrom
...
Thanks @vgturtle127 !
2016-01-27 19:40:43 -08:00
Mike Ryan
eaf3cee002
sha1: validate DD IPL
2016-01-27 13:28:32 -08:00
Mike Ryan
bc9f14c7f9
sha1: detect and validate PAL PIFROM
2016-01-27 09:38:42 -08:00
Tyler J. Stachecki
24350e2440
device: Tighter sync on AI/VR4300 with -multithread.
2016-01-27 03:14:05 -05:00
Mike Ryan
2803a304bc
validate SHA1 of important files
...
Currently only validating pifdata.bin. Probably also worth validating DD
IPL and other known binaries.
2016-01-26 22:15:38 -08:00
Tyler J. Stachecki
0a06f8850f
Restore audio in Windows builds with -multithread.
...
Fixed the bug that was causing this a little bit ago.
2016-01-27 00:44:38 -05:00
Mike Ryan
782b8cb826
flashram: take command line option and pass into PI
2016-01-25 20:09:46 -08:00
Tyler J. Stachecki
c548e9b7e2
Prevent audio problems with -multithread.
2016-01-25 03:55:16 -05:00
Tyler J. Stachecki
b0082df3ca
Add experimental multithreading support.
2016-01-25 01:10:10 -05:00
Tyler J. Stachecki
376dcc2f86
Add more options for running without audio/video.
...
This commit does the following:
* Renames the -nointerface argument to -headless
* Adds -noaudio and -novideo arguments
2016-01-24 23:29:46 -05:00
Mike Ryan
799b2af628
transfer pak: parse command line and load tpak ROM/saves
2016-01-24 17:46:44 -08:00
Tyler J. Stachecki
cdd3c44aea
Add a subsystem for detecting carts.
2016-01-24 19:01:51 -05:00
Mike Ryan
3ba39b536d
sram: load on command line and stuff into PI
2016-01-24 14:18:18 -08:00
Tyler J. Stachecki
f255fc94c3
Restore -nointerface functionality.
...
-nointerface was horribly broken when the device model was
refactored a few months ago. This commit unbreaks it and
restores functionality.
2016-01-24 16:13:43 -05:00
Mike Ryan
e7bbc4f822
pak: implement mempak and stub out rumble and transfer pak
2016-01-24 12:28:48 -08:00
Mike Ryan
ca1f71b6fe
eeprom: kbit, not kbyte
2016-01-24 12:28:48 -08:00
Mike Ryan
72c147255d
eeprom: take options on command line and pass file into SI
2016-01-23 21:02:42 -08:00
Tyler J. Stachecki
a53d9a6d88
Change once last instance of 'simulator' to 'emulator'.
2015-07-03 08:17:05 -04:00
Derek "Turtle" Roe
8b89df2fdc
See long description
...
Replaced all references to simulation with emulation
Updated copyright year
Updated .gitignore to reduce chances of random files being uploaded to
the repo
Added .gitattributes to normalize all text files, and to ignore binary
files (which includes the logo and the NEC PDF)
2015-07-01 18:44:21 -05:00
Tyler J. Stachecki
653bd0d5b6
Add (initial) audio support.
...
"It's a meeee, Mario!"
There's no resampler as of yet, so we just tell OpenAL
that everything is 44.1KHz for the time being. In the
future, a resampler thread will be created and things
won't sound as bad as they do in this commit.
2015-05-23 22:00:20 -04:00
Tyler J. Stachecki
391b967725
Work on cleaning up the build system somewhat.
2015-05-16 17:15:19 -04:00
Tyler J. Stachecki
9a9388400f
Commit the new WinAPI user interface.
...
Streamline the Windows version of the source. There is
some breakage with regard to the console window and other
odds and ends.
2015-05-16 15:51:29 -04:00
Tyler J. Stachecki
7f203b7175
Start working in the new interfaces.
...
Seriously broken WinAPI stuff, no input, no multi-
threading a bunch of other terrible stuff (yet).
2015-05-16 15:50:54 -04:00
Tyler Stachecki
3cc07a7ae4
Unroll the top-level hot functions.
2015-01-22 14:31:54 -05:00
Tyler Stachecki
8b8467c980
Debugger: Get communication flowing.
2015-01-18 20:14:56 -05:00