mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-22 13:31:08 +00:00
Fix code style.
Signed-off-by: Ricky Zhang <rickyzhang@gmail.com>
This commit is contained in:
parent
d2bb35ee5a
commit
597ff0666c
@ -325,7 +325,7 @@ void break_point_add(void)
|
|||||||
|
|
||||||
BREAK_POINT_SET::iterator it;
|
BREAK_POINT_SET::iterator it;
|
||||||
// Save break point
|
// Save break point
|
||||||
if((it = disabled_break_points.find(address)) == disabled_break_points.end())
|
if ((it = disabled_break_points.find(address)) == disabled_break_points.end())
|
||||||
active_break_points.insert(address);
|
active_break_points.insert(address);
|
||||||
else {
|
else {
|
||||||
disabled_break_points.erase(it);
|
disabled_break_points.erase(it);
|
||||||
@ -386,7 +386,7 @@ void break_point_disable(void)
|
|||||||
{
|
{
|
||||||
uintptr index;
|
uintptr index;
|
||||||
|
|
||||||
if(!validate_index(&index, active_break_points))
|
if (!validate_index(&index, active_break_points))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (0 == index) {
|
if (0 == index) {
|
||||||
@ -414,7 +414,7 @@ void break_point_enable(void)
|
|||||||
{
|
{
|
||||||
uintptr index;
|
uintptr index;
|
||||||
|
|
||||||
if(!validate_index(&index, disabled_break_points))
|
if (!validate_index(&index, disabled_break_points))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (0 == index) {
|
if (0 == index) {
|
||||||
@ -526,7 +526,7 @@ void break_point_load(void)
|
|||||||
|
|
||||||
if (!(file = fopen(mon_string, "r")))
|
if (!(file = fopen(mon_string, "r")))
|
||||||
mon_error("Unable to create file");
|
mon_error("Unable to create file");
|
||||||
else{
|
else {
|
||||||
char line_buff[1024];
|
char line_buff[1024];
|
||||||
bool is_disabled_break_points = false;;
|
bool is_disabled_break_points = false;;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user