Skip to content

Commit

Permalink
Some more console debugger fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
emoon committed Jun 6, 2024
1 parent ef8f052 commit 8eebdd2
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions src/dummy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ bool specialmonitor_need_genlock() {
}

void setmouseactive(int, int) {
//UNIMPLEMENTED();
// UNIMPLEMENTED();
}

void screenshot(int monid, int, int) {
Expand Down Expand Up @@ -140,7 +140,7 @@ static void dummy_close(void) {

// Dummy function to acquire an input device
static int dummy_acquire(int device_id, int exclusive) {
UNIMPLEMENTED();
// UNIMPLEMENTED();
return 0; // Return 0 for success, -1 for failure
}

Expand Down Expand Up @@ -448,7 +448,7 @@ void a4091_add_scsi_unit(int, uaedev_config_info*, romconfig*) {
UNIMPLEMENTED();
}
void activate_console() {
//UNIMPLEMENTED();
// UNIMPLEMENTED();
}

void alf3_add_scsi_unit(int, uaedev_config_info*, romconfig*) {
Expand Down Expand Up @@ -599,17 +599,17 @@ int compiler_init() {
}

void console_flush() {
fflush(stdout);
fflush(stdout);
}

int console_get(char* out, int maxlen) {
TCHAR* res = fgets(out, maxlen, stdin);
if (res == NULL) {
return -1;
}
TCHAR* res = fgets(out, maxlen, stdin);
if (res == NULL) {
return -1;
}

int len = strlen(out);
return len - 1;
int len = strlen(out);
return len - 1;
}

bool console_isch() {
Expand Down Expand Up @@ -985,7 +985,7 @@ void unlockscr(struct vidbuffer* vb_in, int y_start, int y_end) {
// TODO: Fix me
exit(0);
break;
case SDL_KEYDOWN: // User presses a key
case SDL_KEYDOWN: // User presses a key
if (e.key.keysym.sym == SDLK_d) { // If the key is ESC
activate_debugger();
}
Expand Down Expand Up @@ -1514,11 +1514,11 @@ int target_get_volume_name(uaedev_mount_info*, uaedev_config_info*, bool, bool,
#endif

void target_inputdevice_acquire() {
UNIMPLEMENTED();
// UNIMPLEMENTED();
}

void target_inputdevice_unacquire() {
UNIMPLEMENTED();
// UNIMPLEMENTED();
}

bool target_isrelativemode() {
Expand Down Expand Up @@ -1658,7 +1658,7 @@ bool uae_slirp_start() {
}

void update_debug_info() {
//UNIMPLEMENTED();
// UNIMPLEMENTED();
}

void updatedisplayarea(int) {
Expand Down Expand Up @@ -1894,7 +1894,7 @@ void setcapslockstate(int) {
}

void setmouseactivexy(int, int, int, int) {
//UNIMPLEMENTED();
// UNIMPLEMENTED();
}

uae_u32 squirrel_ncr9x_scsi_get(unsigned int, int) {
Expand Down

0 comments on commit 8eebdd2

Please sign in to comment.