Lior Halphon
e9b78b6370
Merge pull request #114 from RobLoach/patch-2
...
Fix control reaches end of non-void function
2018-10-12 17:10:11 +03:00
Rob Loach
2da7a3f7fb
Fix the return value of read_lvalue to be 0
2018-10-12 10:09:30 -04:00
Rob Loach
e834d32b8e
Update switch to just return at the end instead
2018-10-12 09:41:25 -04:00
Lior Halphon
f8609e0279
Merge pull request #117 from RobLoach/patch-5
...
Fix parentheses around ‘+’ in operand of ‘&’
2018-10-12 13:12:13 +03:00
Rob Loach
ec41e87cf1
Update logic behind params
2018-10-11 22:39:43 -04:00
Rob Loach
b8825127fd
Fix parentheses around ‘+’ in operand of ‘&’
...
```
Core/z80_cpu.c: In function ‘add_hl_rr’:
Core/z80_cpu.c:341:31: error: suggest parentheses around ‘+’ in operand of ‘&’ [-Werror=parentheses]
if ( ((unsigned long) hl) + ((unsigned long) rr) & 0x10000) {
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
```
2018-10-11 22:37:26 -04:00
Rob Loach
f4ee044347
Fix control reaches end of non-void function
...
This change makes it so that there is a return value when a kind doens't match. Allows -Werror=return-type to pass.
```
Core/debugger.c: In function ‘read_lvalue’:
Core/debugger.c:239:1: error: control reaches end of non-void function [-Werror=return-type]
}
```
2018-10-11 22:17:16 -04:00
Lior Halphon
9080a23913
Improved idle performance in the Cocoa port when using Metal
2018-10-11 18:43:31 +03:00
Lior Halphon
1b049b8f75
Fixing UI bugs in the Cocoa debugger. Console windows now display the ROM file name
2018-09-15 17:57:59 +03:00
Lior Halphon
11c148c851
Starting G/HDMA directly takes one more M-cycle (More research required)
2018-09-15 00:48:31 +03:00
Lior Halphon
dbc338a887
Compensate for prefetch in DIV’s initial value
2018-09-15 00:47:26 +03:00
Lior Halphon
629550c30b
Update .gitattributes
2018-09-10 19:02:45 +03:00
Lior Halphon
ec0a879a93
Correct emulation of enabling and disabling the volume envelope. Correct emulation of a glitch where the volume envelope ticks when it usually wouldn’t.
2018-09-10 16:59:59 +03:00
Lior Halphon
3151821e6d
Fixed minor APU regression (Channels 1 and 2 were given no delay under certain circumstances)
2018-09-09 12:50:55 +03:00
Lior Halphon
57cc4809ba
Merge pull request #108 from AlvaroBurnett/master
...
Improve compatibility with the Unix tools included in Git for Windows.
2018-08-19 23:20:44 +03:00
Alvaro Burnett
83ab8efbd7
Improve compatibility with the Unix tools included in Git for Windows.
...
Previously the Makefile, when run on Windows, expected the uname command to report either "MINGW" or "windows32". This was unfortunate because the uname included in Git for Windows reports "MSYS".
With this change, the Makefile will work properly with any uname, whether it comes from MinGW, GnuWin32 or Git for Windows.
2018-08-19 22:07:16 +02:00
Lior Halphon
737c1e2a4f
Merge pull request #99 from max-m/daa-patch
...
Rewrite the DAA instruction
2018-07-22 20:07:30 +03:00
a36dd791ec
Rewrite the DAA instruction
2018-07-22 18:37:34 +02:00
Lior Halphon
f7b882f0e8
Whoops
2018-07-22 02:10:26 +03:00
Lior Halphon
b7426f93c0
Randomize object palettes. Slightly more accurate emulation of FF4C.
2018-07-20 23:23:47 +03:00
Lior Halphon
538038e49c
Disable randomness in the automation for consistency
2018-07-20 12:35:15 +03:00
Lior Halphon
ce80acc818
Fixed HDMA timing )But still not verified)
2018-07-20 12:34:52 +03:00
Lior Halphon
b1cc55b786
Turns out Left/Right audio channels were flipped
2018-07-19 20:38:11 +03:00
Lior Halphon
c66b6fbafc
Fixed an edge case with DAC discharge emulation
2018-07-16 23:08:25 +03:00
Lior Halphon
2e9e3424ec
Document some revision differences
2018-07-14 21:52:54 +03:00
Lior Halphon
0145b790a3
Merge branch 'v0.11.x'
2018-07-11 20:08:33 +03:00
Lior Halphon
0783f131b8
Update version to v0.11.1
2018-07-11 20:07:54 +03:00
Lior Halphon
e5f4495ca0
Turns out the last Cocoa fix was neither reliable or actually working.
2018-07-11 19:48:54 +03:00
Lior Halphon
5f58323c01
Attempt to improve audio quality on frontend with big audio buffers
2018-07-10 21:33:03 +03:00
Lior Halphon
dc4c23c0da
Worked around a macOS bug where fullscreen-mode SameBoy would render garbage on High Sierra. Fixed titlebar color when using the ugly Yosemite theme.
2018-07-10 20:35:07 +03:00
Lior Halphon
afcb7b8579
Fixed a regression where DMG mode on CGB would not activate on most DMG games. Fixes #98
2018-07-10 20:28:36 +03:00
Lior Halphon
dc5cb71c22
Emulate CGB-C’s quirky LFSR function
2018-07-04 21:55:12 +03:00
Lior Halphon
f3437d7cc0
Added todo
2018-07-03 23:47:50 +03:00
Lior Halphon
b7b35c9b59
CGB-C timing
2018-07-03 22:25:09 +03:00
Lior Halphon
0a78f735d3
Fetcher Y is not cached on CGB-C
2018-07-03 22:14:53 +03:00
Lior Halphon
18ae18a95c
LYC bit on CGB-C
2018-07-03 21:56:32 +03:00
Lior Halphon
a7aabca618
Starting to add CGB-C support
2018-07-03 21:43:46 +03:00
Lior Halphon
47a74cb6c3
Randomize initial RAM values. Closes #82
2018-06-30 16:53:28 +03:00
Lior Halphon
d9dfbcd199
Updated version to 0.11, updated README
2018-06-29 13:51:01 +03:00
Lior Halphon
81662e954b
Convert the Windows .rc file to UTF-16 (Seems like UTF-8 support is broken in rc)
2018-06-29 13:17:27 +03:00
Lior Halphon
045c863117
Fixed Windows build
2018-06-29 13:05:08 +03:00
Lior Halphon
32443a9675
Improved analog stick controls in both ports. Affects #34 ?
2018-06-26 19:36:14 +03:00
Lior Halphon
3a4ed6fd40
Made SDL menus more consistent between keyboards and joypads ( Closes #35 )
2018-06-23 22:36:29 +03:00
Lior Halphon
82436ad838
Added proper joypad configuration in SDL ( Closes #33 ), can now use Rewind/Slow-Motion from the joypad.
2018-06-23 22:27:05 +03:00
Lior Halphon
74abf61a08
Fixed a crash that happened when changing the rewind length in Cocoa
2018-06-23 11:50:08 +03:00
Lior Halphon
1915365b1a
Added rewind and underclocking support to the SDL port. Joystick controls to be done.
2018-06-23 00:10:28 +03:00
Lior Halphon
2791775c5d
Improvements to the lcd
debugger command
2018-06-22 18:38:54 +03:00
Lior Halphon
6b2c25475f
Removed limitations around debugger output in the Cocoa frontend
2018-06-21 21:23:57 +03:00
Lior Halphon
0ffb936885
The Cocoa port now allows selecting a folder containing boot ROM files
2018-06-21 00:48:02 +03:00
Lior Halphon
30f13bd28c
More accurate CGB initial register values. Closes #80
2018-06-19 23:59:16 +03:00