Small whitespace cleanup

This commit is contained in:
Ilari Liusvaara 2015-05-27 23:08:54 +03:00
parent 0d83c3aba6
commit 2da23de987
30 changed files with 30 additions and 30 deletions

2
TODO
View file

@ -1 +1 @@
- Memory Tracking: Track dynamic state. - Memory Tracking: Track dynamic state.

View file

@ -79,4 +79,4 @@ std::map<std::string, std::string> audioapi_driver_get_devices(bool rec) throw(s
*/ */
const char* audioapi_driver_name() throw(); const char* audioapi_driver_name() throw();
#endif #endif

View file

@ -9,4 +9,4 @@ core_core& get_null_core();
core_type& get_null_type(); core_type& get_null_type();
core_region& get_null_region(); core_region& get_null_region();
#endif #endif

View file

@ -7,4 +7,4 @@ extern framebuffer::font main_font;
void do_init_font(); void do_init_font();
#endif #endif

View file

@ -8,4 +8,4 @@ template<typename T> void eat_argument(T arg) {
_eat_argument((void*)arg2); _eat_argument((void*)arg2);
} }
#endif #endif

View file

@ -677,7 +677,7 @@ struct queue
private: private:
void add(struct object& obj) throw(std::bad_alloc); void add(struct object& obj) throw(std::bad_alloc);
struct node { struct object* obj; struct node* next; bool killed; }; struct node { struct object* obj; struct node* next; bool killed; };
struct page { struct page {
char content[RENDER_PAGE_SIZE]; char content[RENDER_PAGE_SIZE];
page() { memtracker::singleton()(render_page_id, RENDER_PAGE_SIZE + 36); } page() { memtracker::singleton()(render_page_id, RENDER_PAGE_SIZE + 36); }
~page() { memtracker::singleton()(render_page_id, -RENDER_PAGE_SIZE - 36); } ~page() { memtracker::singleton()(render_page_id, -RENDER_PAGE_SIZE - 36); }

View file

@ -49,4 +49,4 @@ private:
}; };
#endif #endif

View file

@ -28,4 +28,4 @@ private:
uint64_t addr; uint64_t addr;
}; };
#endif #endif

View file

@ -10,4 +10,4 @@ void handle_registerX(lua::state& L, uint64_t addr, int lfn);
template<debug_context::etype type> template<debug_context::etype type>
void handle_unregisterX(lua::state& L, uint64_t addr, int lfn); void handle_unregisterX(lua::state& L, uint64_t addr, int lfn);
#endif #endif

View file

@ -20,4 +20,4 @@ template<bool X> void halo_blit(struct framebuffer::fb<X>& scr, unsigned char* p
size_t height, uint32_t x, uint32_t y, framebuffer::color& bg, framebuffer::color& fg, framebuffer::color& hl) size_t height, uint32_t x, uint32_t y, framebuffer::color& bg, framebuffer::color& fg, framebuffer::color& hl)
throw(); throw();
#endif #endif

View file

@ -39,4 +39,4 @@ void emulator_dispatch::set_error_streams(std::ostream* stream)
action_update.errors_to(stream); action_update.errors_to(stream);
} }
dispatch::source<> notify_new_core("new_core"); dispatch::source<> notify_new_core("new_core");

View file

@ -116,4 +116,4 @@ void save_jukebox::do_slotsel(const std::string& args)
throw std::runtime_error("Bad slot number"); throw std::runtime_error("Bad slot number");
uint32_t slot = parse_value<uint32_t>(args); uint32_t slot = parse_value<uint32_t>(args);
set_slot(slot - 1); set_slot(slot - 1);
} }

View file

@ -26,4 +26,4 @@ private:
}; };
register_command_inverses x; register_command_inverses x;
} }

View file

@ -279,4 +279,4 @@ bool UI_in_project_context(emulator_instance& inst)
pc = (inst.project->get() != NULL); pc = (inst.project->get() != NULL);
}); });
return pc; return pc;
} }

View file

@ -24,4 +24,4 @@ namespace sky
}; };
} }
#endif #endif

View file

@ -78,4 +78,4 @@ namespace sky
}; };
} }
#endif #endif

View file

@ -13,4 +13,4 @@ namespace sky
void rom_boot_vector(struct instance& inst); void rom_boot_vector(struct instance& inst);
void handle_loadstate(struct instance& inst); void handle_loadstate(struct instance& inst);
} }
#endif #endif

View file

@ -128,4 +128,4 @@
200A5 byte Time attack flag. 200A5 byte Time attack flag.
200A6 word (unused) 200A6 word (unused)
200A8 32*byte Number of times each level has been completed (SRAM). 200A8 32*byte Number of times each level has been completed (SRAM).
200C8 200C8

View file

@ -18,4 +18,4 @@ namespace sky
}; };
} }
#endif #endif

View file

@ -20,4 +20,4 @@ namespace sky
} }
#endif #endif

View file

@ -510,4 +510,4 @@ namespace sky
0x13, 0x0a, 0x0b, 0x1a, 0x02, 0x09, 0x02, 0x05, 0x00, 0x04, 0x10, 0x05, 0x00, 0x15, 0x47, 0x05, 0x13, 0x0a, 0x0b, 0x1a, 0x02, 0x09, 0x02, 0x05, 0x00, 0x04, 0x10, 0x05, 0x00, 0x15, 0x47, 0x05,
0x00 0x00
}; };
} }

View file

@ -6,4 +6,4 @@ namespace sky
extern const unsigned char tasdemos_data[]; extern const unsigned char tasdemos_data[];
} }
#endif #endif

View file

@ -26,4 +26,4 @@ end
for i=1,#arg do for i=1,#arg do
emit(arg[i]); emit(arg[i]);
end end
print(""); print("");

View file

@ -99,4 +99,4 @@ uint64_t arch_get_random()
return 0; return 0;
#endif #endif
} }
} }

View file

@ -86,4 +86,4 @@ namespace
} }
} }
} }
} }

View file

@ -38,4 +38,4 @@ patcher::~patcher() throw()
{ {
patchers().erase(this); patchers().erase(this);
} }
} }

View file

@ -184,4 +184,4 @@ void output_fb::reset()
pos_x->reset(); pos_x->reset();
pos_y->reset(); pos_y->reset();
} }
} }

View file

@ -473,4 +473,4 @@ namespace
void _dummy_63263896236732867328673826783276283673867() void _dummy_63263896236732867328673826783276283673867()
{ {
pull_token_itr2(); pull_token_itr2();
} }

View file

@ -85,4 +85,4 @@ void _pull_fn_68269328963289632986296386936()
{ {
eat_argument(halo_blit<false>); eat_argument(halo_blit<false>);
eat_argument(halo_blit<true>); eat_argument(halo_blit<true>);
} }

View file

@ -768,4 +768,4 @@ int main()
t++; t++;
} }
return 0; return 0;
} }