mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-11 05:14:35 +02:00
Update to v094r06 release.
byuu says: New terminal is in. Much nicer to use now. Command history makes a major difference in usability. The SMP is now fully traceable and debuggable. Basically they act as separate entities, you can trace both at the same time, but for the most part running and stepping is performed on the chip you select. I'm going to put off CPU+SMP interleave support for a while. I don't actually think it'll be too hard. Will get trickier if/when we support coprocessor debugging. Remaining tasks: - aliases - hotkeys - save states - window geometry Basically, the debugger's done. Just have to add the UI fluff. I also removed tracing/memory export from higan. It was always meant to be temporary until the debugger was remade.
This commit is contained in:
@@ -56,21 +56,20 @@ void Player::frame() {
|
||||
}
|
||||
}
|
||||
|
||||
optional<uint16> Player::keyinput() {
|
||||
if(status.logoDetected == false) return false;
|
||||
|
||||
switch(status.logoCounter) {
|
||||
case 0: return {true, 0x03ff};
|
||||
case 1: return {true, 0x03ff};
|
||||
case 2: return {true, 0x030f};
|
||||
maybe<uint16> Player::keyinput() {
|
||||
if(status.logoDetected) {
|
||||
switch(status.logoCounter) {
|
||||
case 0: return 0x03ff;
|
||||
case 1: return 0x03ff;
|
||||
case 2: return 0x030f;
|
||||
}
|
||||
}
|
||||
unreachable;
|
||||
return nothing;
|
||||
}
|
||||
|
||||
optional<uint32> Player::read() {
|
||||
if(status.enable == false) return false;
|
||||
|
||||
return {true, status.send};
|
||||
maybe<uint32> Player::read() {
|
||||
if(status.enable) return status.send;
|
||||
return nothing;
|
||||
}
|
||||
|
||||
void Player::write(uint8 byte, uint2 addr) {
|
||||
|
@@ -14,8 +14,8 @@ struct Player {
|
||||
void power();
|
||||
void frame();
|
||||
|
||||
optional<uint16> keyinput();
|
||||
optional<uint32> read();
|
||||
maybe<uint16> keyinput();
|
||||
maybe<uint32> read();
|
||||
void write(uint8 byte, uint2 addr);
|
||||
|
||||
void serialize(serializer& s);
|
||||
|
Reference in New Issue
Block a user