20 |
|
|
21 |
|
#include "sysdeps.h" |
22 |
|
#include "cpu_emulation.h" |
23 |
+ |
#include "adb.h" |
24 |
|
#include "main.h" |
25 |
|
#include "sony.h" |
26 |
|
#include "disk.h" |
102 |
|
real_size = size - start_byte; |
103 |
|
} |
104 |
|
} |
105 |
+ |
|
106 |
+ |
|
107 |
+ |
uint32 DebugUtil(uint32 Selector) |
108 |
+ |
{ |
109 |
+ |
switch (Selector) |
110 |
+ |
{ |
111 |
+ |
case duDebuggerGetMax: |
112 |
+ |
return 3; |
113 |
+ |
case duDebuggerEnter: |
114 |
+ |
return 0; |
115 |
+ |
case duDebuggerExit: |
116 |
+ |
return 0; |
117 |
+ |
case duDebuggerPoll: |
118 |
+ |
ADBInterrupt(); |
119 |
+ |
return 0; |
120 |
+ |
default: |
121 |
+ |
return (uint32) paramErr; |
122 |
+ |
} |
123 |
+ |
} |
124 |
+ |
|